-
Notifications
You must be signed in to change notification settings - Fork 17.9k
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: lower score of previous path in case of module rename #37252
Comments
|
Very embarrassing. I was looking with my eyes shut. Prior to being In situations like this, is there some way that the module own can indicate to pkg.go.dev that a rename has happened? Such that the new module path always ranks higher than the old module path? |
See previously #37187. |
Thanks @bcmills Hmm, that's interesting. That's uncovered what I consider to be a problem with the proxy.
gives:
i.e. the proxy considers that versions Or have I missed something here? |
In general a module with a mismatched module path may be intended for use with a It does appear that |
Of course. Totally forgot about that, thank you. |
Interestingly, https://pkg.go.dev/search?q=govim now no longer shows any results from the previous module path: Given @bcmills' observations above, I would have expected the results for Was there a change here, @julieqiu? |
@myitcv - seems like this is related to #37187. Closing this issue since it seems #37252 (comment) has been addressed. Feel free to reopen if that is not the case! |
@julieqiu - there is now a slightly different issue, per #37252 (comment), despite https://pkg.go.dev/github.com/myitcv/govim?tab=doc being a valid package (which should match the search term |
What is the URL of the page with the issue?
https://pkg.go.dev/github.com/myitcv/govim/cmd/govim/config?tab=doc
What is your user agent?
Screenshot
What did you do?
Visited the above page.
What did you expect to see?
Expected to see
v0.0.29
as the latest version.What did you see instead?
Saw
v0.0.22
which was released a long time ago:The text was updated successfully, but these errors were encountered: