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
modules NeedsDecision
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.

@rsc rsc added this to the Go1.11 milestone Jul 18, 2018
@oiooj oiooj added the modules label Jul 19, 2018
@rsc rsc removed this from the Go1.11 milestone Aug 10, 2018
@rsc rsc added this to the Go1.12 milestone Aug 10, 2018
@bcmills bcmills removed this from the Go1.12 milestone Oct 25, 2018
@bcmills bcmills added this to the Go1.13 milestone Oct 25, 2018
@andybons andybons removed this from the Go1.13 milestone Jul 8, 2019
@andybons andybons added this to the Go1.14 milestone Jul 8, 2019
@rsc rsc removed this from the Go1.14 milestone Oct 9, 2019
@rsc rsc added this to the Backlog milestone Oct 9, 2019
@ALTree ALTree added the NeedsDecision label Oct 12, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
modules NeedsDecision
Projects
None yet
Development

No branches or pull requests

5 participants