-
Notifications
You must be signed in to change notification settings - Fork 17.8k
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: go get
fails when repository ends with .go
[1.13 backport]
#34243
Labels
Milestone
Comments
gopherbot
added
the
CherryPickCandidate
Used during the release process for point releases
label
Sep 11, 2019
Change https://golang.org/cl/194687 mentions this issue: |
This was a regression in 1.13. A workaround is possible, but it's subtle and difficult to discover, and the fix is small. |
bcmills
added
the
CherryPickApproved
Used during the release process for point releases
label
Sep 11, 2019
gopherbot
removed
the
CherryPickCandidate
Used during the release process for point releases
label
Sep 11, 2019
Closed by merging f0c6230 to release-branch.go1.13. |
gopherbot
pushed a commit
that referenced
this issue
Sep 11, 2019
…rguments 'go get' accepts arguments of the form path@version, and it passes them through search.CleanPatterns before querying proxies. With this change, CleanPatterns preserves text after '@' and will strip trailing slashes from the patn. Previously, we did not strip trailing slashes when a version was present, which caused proxy base URL validation to fail. Module paths that end with ".go" (for example, github.com/nats-io/nats.go) use trailing slashes to prevent 'go build' and other commands from interpreting packages as source file names, so this caused unnecessary problems for them. Fixes #34243 Change-Id: Id3730c52089e52f1cac446617c20132a3021a808 Reviewed-on: https://go-review.googlesource.com/c/go/+/194600 Run-TryBot: Jay Conrod <[email protected]> TryBot-Result: Gobot Gobot <[email protected]> Reviewed-by: Bryan C. Mills <[email protected]> (cherry picked from commit 8875fb9) Reviewed-on: https://go-review.googlesource.com/c/go/+/194687
Thank you! 🎉 |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
@jayconrod requested issue #32483 to be considered for backport to the next 1.13 minor release.
The text was updated successfully, but these errors were encountered: