-
Notifications
You must be signed in to change notification settings - Fork 17.7k
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
x/pkgsite: Github username (in Capital Case variant) causes package not found on pkg.go.dev #62188
Comments
No, you just have to use an escaped URL:
The proxy definitely has data for the lower-case version as well:
So this looks like some kind of bug in |
I'm pretty sure this is #62031. I'll confirm after the fix is deployed. |
Ok, I've figured it all out...
So I've fetch the three valid versions (v0.2.0-v0.4.0). v0.2.0 and v0.3.0 are available with capital 'S': https://pkg.go.dev/github.com/Sven-Seyfert/gomisc?tab=versions. v0.4.0 is available with lower-case 's': https://pkg.go.dev/github.com/sven-seyfert/gomisc?tab=versions |
Thank you very much @findleyr for your investigation and your effort, I appreciate it 🤝 . One question @findleyr : How can I get rid of the versions v0.2.0 and v0.3.0? I really don't need them. Best regards |
What is the URL of the page with the issue?
What is your user agent?
Screenshot
What did you do?
git push origin --tags
(which shows up on my GitHub page too).GOPROXY=proxy.golang.org go list -m github.com/sven-seyfert/[email protected]
to address my package for pkg.go.dev.What did you expect to see?
My package
singleinstance
ofgithub.com/sven-seyfert/gomisc
should be available on pkg.go.dev.What did you see instead?
Like in the screenshot: "... could not be found."
What did I recognized?
My GitHub username is
Sven-Seyfert
as Capital Case. When I tried the different URLs in pkg.go.dev and on proxy.golang.org (https://proxy.golang.org/github.com/sven-seyfert/gomisc/@v/v0.4.0.info) I see no issue when I use the lower case variant ofsven-seyfert
. But when I use the Capital Case variant for the same request I get "bad request: invalid escaped module path "github.com/Sven-Seyfert/gomisc"".Can this be the reason for my problem?
Thanks for your help and support, I really appreciate it 🤝 .
The text was updated successfully, but these errors were encountered: