You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (go env)?
go env Output
$ go env
GOARCH="amd64"
GOBIN="/Users/abegolli/go/bin"
GOHOSTARCH="amd64"
GOHOSTOS="darwin"
GOOS="darwin"
What did you do?
Use go get to pull a repository in Azure DevOps without .git appended to the path
What did you expect to see?
The repository stored in $GOPATH or path added to go.mod
What did you see instead?
$ go get dev.azure.com/artbegolli/adogo/adogo
unrecognized import path "dev.azure.com/artbegolli/adogo/adogo": reading https://dev.azure.com/artbegolli/adogo/adogo?go-get=1: 203 Non-Authoritative Information
Azure DevOps repository clone paths do not include a .git suffix.
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
Use
go get
to pull a repository in Azure DevOps without.git
appended to the pathWhat did you expect to see?
The repository stored in $GOPATH or path added to
go.mod
What did you see instead?
Azure DevOps repository clone paths do not include a
.git
suffix.Microsoft outlines steps for
go get
command support in Azure DevOps repositories https://docs.microsoft.com/en-us/azure/devops/repos/git/go-get?view=azure-devops. Previous issues regarding_git
in the path now have workarounds with the use of ssh paths.The only outstanding problem is that of
.git
being required in your module path as Go treats ADO as a generic server herego/src/cmd/go/internal/get/vcs.go
Line 1064 in aae0b5b
.git
suffix.The text was updated successfully, but these errors were encountered: