Skip to content
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 -u=patch` broken at head #32537

bcmills opened this issue Jun 10, 2019 · 2 comments


None yet
3 participants
Copy link

commented Jun 10, 2019

The fix for #26902 seems to have broken -u=patch when the command-line argument is a module that does not contain a package at its root.

$ gotip version
go version devel +323212b9 Sun Jun 9 16:23:11 2019 +0000 linux/amd64

$ mkdir

$ cd$ gotip mod init
go: creating new go.mod: module$ gotip get -u=patch
go: finding latest
go: downloading v0.0.0-20190610194359-fe937a7521e5
go: extracting v0.0.0-20190610194359-fe937a7521e5
go get module (v0.0.0-20190610194359-fe937a7521e5) found, but does not contain package

CC @jayconrod @jba


This comment has been minimized.

Copy link

commented Jun 11, 2019

I believe CL 180337 should fix this. I'll verify and update the commit message.


This comment has been minimized.

Copy link

commented Jun 11, 2019

Change mentions this issue: cmd/go: avoid accidental downgrades in 'go get' with latest and patch

@gopherbot gopherbot closed this in 4c2ffd2 Jun 14, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.