-
Notifications
You must be signed in to change notification settings - Fork 17.9k
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: get -u can fail once and then succeed #14450
Comments
Thanks, if this fails with 1.5, adjusting milestone to 1.7. |
Looks like my earlier comment got accidently deleted. So adding it again. I was able to reproduce this issue in Go 1.5 on darwin/amd64. |
This issue is repeatable with existing package too:
It happens because I've created the minimal packages structure for reproducing this: I've come up with 2 possible solutions for this problem
The first one was smaller, so I've decided to submit it https://go-review.googlesource.com/19892 I can submit the second solution too, if it is the way you would like to handle that. |
CL https://golang.org/cl/19892 mentions this issue. |
Ping @rsc. I'm not sure if there's discussion elsewhere that I'm not seeing, but it seems like there's a straightforward fix for this waiting for your review in CL 19892. I'll refrain from punting to Go1.8 for now until I hear back from you. |
Not going to get to this for Go 1.7, sorry. |
Noticed by accident. After running go get for an invalid directory, the first
go get -u
fails, and the second succeeds. Theinternal error
lines at the end are #14444. This issue is about the fact that the two runs ofgo get -u .../
fail in different ways.I haven't looked into it.
The text was updated successfully, but these errors were encountered: