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

proxy.golang.org: how to get rid of wrong version in the proxy #35418

Closed
pstibrany opened this issue Nov 7, 2019 · 4 comments
Closed

proxy.golang.org: how to get rid of wrong version in the proxy #35418

pstibrany opened this issue Nov 7, 2019 · 4 comments

Comments

@pstibrany
Copy link

pstibrany commented Nov 7, 2019

We have accidentally pushed dummy tag v6.7.8 to our repository several months ago, and even though it has been removed since then, proxy still remembers it. Our project is at 0.4.0 at the moment. How can we get get rid of that dummy version from golang proxy? People trying to use our client library are getting old v6.7.8 now. (github.com/grafana/loki v6.7.8+incompatible)

https://proxy.golang.org suggests that we need to publish new version, but that will only be 0.5.0 or perhaps 1.0.0.

Thanks.

@bcmills
Copy link
Contributor

bcmills commented Nov 7, 2019

The unfortunate news is, there is no way in general to get rid of a valid version in the proxy.

The good news is, CL 204440 has landed for Go 1.14, so as long as your latest compatible tagged version has a go.mod file, users on 1.14 (once it is released) will pick up the correct version instead of the erroneous +incompatible one.

CC @katiehockman @heschik @hyangah

@bcmills
Copy link
Contributor

bcmills commented Nov 7, 2019

Duplicate of #34189

@bcmills bcmills marked this as a duplicate of #34189 Nov 7, 2019
@bcmills bcmills closed this as completed Nov 7, 2019
@pstibrany
Copy link
Author

pstibrany commented Nov 7, 2019 via email

@heschi
Copy link
Contributor

heschi commented Nov 7, 2019

go get github.com/grafana/loki@v0 is a little better than that, at least.

@golang golang locked and limited conversation to collaborators Nov 6, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants