Skip to content

cmd/go: get downloads main~1 commit, not main #41388

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

Closed
josharian opened this issue Sep 14, 2020 · 2 comments
Closed

cmd/go: get downloads main~1 commit, not main #41388

josharian opened this issue Sep 14, 2020 · 2 comments
Labels
FrozenDueToAge modules WaitingForInfo Issue is not actionable because of missing required information, which needs to be provided.

Comments

@josharian
Copy link
Contributor

Reproduce:

Create a new repo and go mod init. Run go get -v -u github.com/tailscale/depaware. Then cat go.mod.

Result:

require github.com/tailscale/depaware v0.0.0-20200914201916-3f1070fd0d55 // indirect

Expected:

require github.com/tailscale/depaware v0.0.0-20200914232109-e09ee10c1824 // indirect

Note that you can force upgrade by go get -u github.com/tailscale/depaware@e09ee10c1824.

3f1070fd0d55 is HEAD~1; e09ee10c1824 is HEAD. go get should thus pick e09ee10c1824.

cc @jayconrod @bcmills

cc @danderson

@bcmills
Copy link
Contributor

bcmills commented Sep 15, 2020

This sounds like the proxy.golang.org cache TTL again (#38065). Did you try GONOPROXY=github.com/tailscale/depaware?

@bcmills bcmills added modules WaitingForInfo Issue is not actionable because of missing required information, which needs to be provided. labels Sep 15, 2020
@josharian
Copy link
Contributor Author

Yep, it was the cache. :/ Closing as a duplicate.

@golang golang locked and limited conversation to collaborators Sep 15, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
FrozenDueToAge modules WaitingForInfo Issue is not actionable because of missing required information, which needs to be provided.
Projects
None yet
Development

No branches or pull requests

3 participants