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: Docs not updated after charging my Github username #46623
Comments
Perhaps the easiest way to fix it would be to delete the old documentation? That's not a problem as the actual package is not currently used. |
It looks like you changed the tag on the new repo, which tends to confuse things. Right now, the go.mod file in the new repo at v1.0.0 has a module path that matches the repo. However, at some point the module path referred to the old repo, and that is the version that the proxy knows about:
When pkgsite notices that the module path doesn't match the go.mod contents, it redirects you to the path in the go.mod file. That explains the gray banner "Redirected from github.com/remyduthu/faces" when you visit https://github.com/remyduthu/faces. What you should have done is made a new tag when you changed the go.mod file. You can still do that: just tag master v1.0.1 and Closing, but re-open if there are still problems after doing that. |
I could also remove the path github.com/remydt and all sub-paths from the site, but that wouldn't fix the problem I described above. I think we'd just redirect to a 404. Would you like me to remove github.com/remydt? |
Yes please, remove the old github.com/remydt repository. Thanks! |
Done. https://pkg.go.dev/github.com/remyduthu/faces now returns a 404. |
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
Enter https://pkg.go.dev/github.com/remyduthu/faces in my browser.
What did you expect to see?
The documentation for the new repository: https://github.com/remyduthu/faces.
What did you see instead?
The documentation for the old repository (redirection): https://github.com/remydt/faces.
The text was updated successfully, but these errors were encountered: