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

cmd/go: get downgrade of excluded last version fails #26454

Open
rsc opened this issue Jul 18, 2018 · 0 comments
Open

cmd/go: get downgrade of excluded last version fails #26454

rsc opened this issue Jul 18, 2018 · 0 comments
Labels
Milestone

Comments

@rsc
Copy link
Contributor

@rsc rsc commented Jul 18, 2018

Bryan points out that this fails because the go.mod is inconsistent:

go get rsc.io/sampler@<v1.99

-- go.mod --
module x
require rsc.io/sampler@v1.99.99
exclude rsc.io/sampler@v1.99.99

It's unclear how to make it succeed, and it's fine for most other commands like go build etc to fail, but running that go get is an obvious way to attempt to dig out of that hole and it doesn't work.

It would be nice to do something here, but it's not entirely clear what.

From https://go-review.googlesource.com/c/vgo/+/122396/6#302.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
4 participants
You can’t perform that action at this time.