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: go get mod/... fails to resolve version #31518

Open
rsc opened this issue Apr 17, 2019 · 1 comment

Comments

Projects
None yet
2 participants
@rsc
Copy link
Contributor

commented Apr 17, 2019

This used to work but now fails:

$ go get -d rsc.io/quote/...
go: finding rsc.io/quote/... latest
go get rsc.io/quote/...: no matching versions for query "latest"
$

@rsc rsc added this to the Go1.13 milestone Apr 17, 2019

@jayconrod

This comment has been minimized.

Copy link
Contributor

commented Apr 17, 2019

I changed this yesterday in CL 171138, so I might have broken something. go get -d rsc.io/quote/... is actually one of the test cases though, so I'm surprised it doesn't work.

How can I reproduce this? The commands below succeeded for me at tip:

export GOPATH=$(mktemp -d)
cd $(mktemp -d)
go mod init m
go get rsc.io/quote/...
go: finding rsc.io/quote v1.5.2
go: downloading rsc.io/quote v1.5.2
go: extracting rsc.io/quote v1.5.2
go: finding rsc.io/sampler v1.3.0
go: finding golang.org/x/text v0.0.0-20170915032832-14c0d48ead0c
go: downloading rsc.io/sampler v1.3.0
go: extracting rsc.io/sampler v1.3.0
go: downloading golang.org/x/text v0.0.0-20170915032832-14c0d48ead0c
go: extracting golang.org/x/text v0.0.0-20170915032832-14c0d48ead0c

@jayconrod jayconrod self-assigned this Apr 17, 2019

@jayconrod jayconrod added the modules label Apr 17, 2019

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