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

Module proxy returning blank page #42302

Closed
icholy opened this issue Oct 30, 2020 · 6 comments
Closed

Module proxy returning blank page #42302

icholy opened this issue Oct 30, 2020 · 6 comments

Comments

@icholy
Copy link

icholy commented Oct 30, 2020

What did you do?

Tried to list the available versions of a module:

https://proxy.golang.org/github.com/coreos/go-systemd/@v/list

What did you expect to see?

A list of versions as displayed in the pkgsite: https://pkg.go.dev/mod/github.com/coreos/go-systemd?tab=versions

A list of +incompatible versions prior to v21

What did you see instead?

A blank page.

@heschi
Copy link
Contributor

heschi commented Oct 30, 2020

There are no tagged v0 or v1 versions of go-systemd. The versions of, for example, v22, are available at https://proxy.golang.org/github.com/coreos/go-systemd/v22/@v/list.

This is how the proxy protocol works; there is no easy way to discover what major versions of a given module exist.

@icholy
Copy link
Author

icholy commented Oct 30, 2020

@heschik shouldn't the v2-v20 versions be listed with +incompatible?

@heschi
Copy link
Contributor

heschi commented Oct 30, 2020

No. They are appropriately tagged and named in their go.mod files, so they aren't +incompatible.

Everything you're describing is working as intended, and the Go project doesn't use the issue tracker for questions, so I'm going to close this issue. See https://github.com/golang/go/wiki/Questions for where to ask further. #modules on the Gophers Slack would be a good place.

@heschi heschi closed this as completed Oct 30, 2020
@icholy
Copy link
Author

icholy commented Oct 30, 2020

@heschik v1-v20 do not contain a go.mod file.

@heschi
Copy link
Contributor

heschi commented Oct 30, 2020

My mistake. There is no tagged major version 20; there is a tag v20 but that is an invalid semver tag and ignored by the Go command. Still working as intended, though.

@icholy
Copy link
Author

icholy commented Oct 30, 2020

I see. I was under the impression that the tag format wasn't as strict. Sorry for the noise!

@golang golang locked and limited conversation to collaborators Oct 30, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants