New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cmd/go: unable to pull from private Bitbucket Server repository (adding "scm" to url) #35808
Comments
Update, changing the relevant section in
¯_(ツ)_/¯ |
Still attempting to dig into this. So it seems as though my internal VCS is actually "Bitbucket Server v5.16.10", while the current version is "6.8.0", so the "scm" portion of the URL might be something introduced in a later version (still trying to bisect). Unsure what the correct answer is here, and whether or not the |
Related: https://jira.atlassian.com/browse/BSERV-8255 Seems there is a discrepancy between the https urls and the ssh ones, with the former requiring them and the latter not? I'm unclear on whether or not this is configurable. |
/cc @bcmills @jayconrod per owners. |
I'm not very familiar with the Bitbucket Server, but does it have any documentation for how to access private Go repositories on it with the go command? |
Timed out in state WaitingForInfo. Closing. (I am just a bot, though. Please speak up if this is a mistake or you have the requested information.) |
What version of Go are you using (
go version
)?What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
New module depending on private server "stash.foo.bar/proj/foo"
go build
What did you expect to see?
Built module successfully
What did you see instead?
Git is configured like the following:
Appears to stem from spurious
scm
added to the ls-remote command:Correcting it to remove the 'scm', I get:
The text was updated successfully, but these errors were encountered: