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

Comments

Projects
None yet
3 participants
@rsc
Contributor

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.

@rsc rsc added this to the Go1.11 milestone Jul 18, 2018

@oiooj oiooj added the modules label Jul 19, 2018

@rsc rsc modified the milestones: Go1.11, Go1.12 Aug 10, 2018

@bcmills bcmills modified the milestones: Go1.12, Go1.13 Oct 25, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment