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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

go: Can't upgrade messages #74

Closed
mpkorstanje opened this issue Dec 17, 2022 · 1 comment 路 Fixed by #75
Closed

go: Can't upgrade messages #74

mpkorstanje opened this issue Dec 17, 2022 · 1 comment 路 Fixed by #75

Comments

@mpkorstanje
Copy link
Contributor

mpkorstanje commented Dec 17, 2022

馃 What's the problem you've observed?

Trying to upgrade the messages used in Gherkin I run into this problem:

The released code sits in a sub directory named go that has been tagged go/v21.0.1 here https://github.com/cucumber/messages/tree/go/v21.0.1/go. When I try to require this using:

require (
	github.com/cucumber/messages/go/v21 v21.0.1
)

And then go get I got:

go: github.com/cucumber/messages/go/v21@v21.0.1: verifying go.mod: github.com/cucumber/messages/go/v21@v21.0.1/go.mod: reading https://sum.golang.org/lookup/github.com/cucumber/messages/go/v21@v21.0.1: 404 Not Found
        server response: not found: github.com/cucumber/messages/go/v21@v21.0.1: invalid version: unknown revision go/v21.0.1

Tagging with v21.0.1 also doesn't work.

@mpkorstanje
Copy link
Contributor Author

mpkorstanje commented Dec 17, 2022

Looks like sum.golang.org was just slow. Can be resolved by using: GONOPROXY=none

https://github.com/goproxyio/goproxy.io/blob/master/content/docs/GOPRIVATE-env.md

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant