-
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
proxy.golang.org: deploy Go 1.13 fixes for pseudo-version derivation #32805
Comments
This appears to be an artifact of the fact that the proxy is still using a
|
I believe that the proxy folks are currently in the process of testing CC @hyangah @katiehockman @heschik |
Specifically, this should be fixed when the proxy re-resolves the It might be a little while. 🙂 |
Thanks @bcmills - my immediate problem will go away if I submit https://go-review.googlesource.com/c/tools/+/184018. Was holding off submitting until you had a chance to look; are we good to submit https://go-review.googlesource.com/c/tools/+/184018 now? |
Also note that the |
Should be fine to submit that CL. I think we've got a solid understanding of the behavior you've observed here. |
Just to note the error that gave rise to all of this:
Thanks - will submit that CL now. |
Change https://golang.org/cl/184719 mentions this issue: |
…/list I accidentally fetched an invalid version of rsc.io/quote from proxy.golang.org, which the proxy then cached and now includes in https://proxy.golang.org/rsc.io/quote/@v/list. That causes 'go get rsc.io/quote` to resolve to a different version depending on whether the proxy is used. Adjust the test to fetch an explicit version instead, since the choice of 'latest' is mostly irrelevant to the checksum database logic that the test is intended to verify. Updates #32805 Fixes #32900 Change-Id: I075b1f62e8c71545d0fb2dd4bd77ba525fc2a36d Reviewed-on: https://go-review.googlesource.com/c/go/+/184719 Run-TryBot: Bryan C. Mills <[email protected]> Reviewed-by: Hyang-Ah Hana Kim <[email protected]> TryBot-Result: Gobot Gobot <[email protected]>
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Now proxy.golang.org uses the 1.13 version of the go command, and all of the versions that are newly invalid in 1.13 (like the psuedoversion you listed) have been removed and should no longer be served through the mirror. |
For folks who are now running into versions that fail validation: see https://tip.golang.org/doc/go1.13#version-validation for suggested fixes and workarounds. |
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?
Whilst investigating a problem that ultimately lead to https://go-review.googlesource.com/c/tools/+/184018, I noticed what appears to be an issue with pseudo version derivation for submodules (in the presence of circular requirements)
At the time of writing, tip of tools is 4874f86.
The pseudo version looks wrong: it should be something like
v0.1.1-0....
I could not reproduce this however (ignoring for one second the circular requirement
golang.org/x/tools/gopls -> golang.org/x/tools -> golang.org/x/tools/gopls
):So perhaps this is something to do with the circular requirement that currently (incorrectly) exists? https://go-review.googlesource.com/c/tools/+/184018 will fix that, but raising this issue in any case for completeness.
What did you expect to see?
Per above.
What did you see instead?
Per above.
cc @bcmills
The text was updated successfully, but these errors were encountered: