-
Notifications
You must be signed in to change notification settings - Fork 18.5k
Description
What is the URL of the page with the issue?
https://pkg.go.dev/github.com/gomodule/redigo/redis
What is your user agent?
Screenshot
First go to the URL directly

Second clicks the sub directory link from the main repo, which shows the latest link in red indicating the link from latest gomodules/redigo doesnt link to the latest gomodules/redigo/redis which should be the same.

Versions aren't listed in the sub directory:

What did you do?
Two flows:
Issue 1
- Go to the redis main page with no version: https://pkg.go.dev/github.com/gomodule/redigo/redis
- See that the version is: v0.0.0-...-e14091d instead of 1.8.8 which is currently the latest.
Issue 2
- Go to to the page repo root: https://pkg.go.dev/github.com/gomodule/redigo
- Click Directories -> redis link
- See the second image above where the "Go to Latest" button is red and shouldn't be
What did you expect to see?
Sub directories in repos use the latest version by default.
What did you see instead?
Sub directories doesn't even list any version
Relevant information
We redigo have an experimental v2.0.0 branch before go modules we're introduced which has been challenging. With the introduction of retract in v1.16 we recently retracted this version in this commit so wondering if this is an edge case which pkgsite isn't dealing with?
Thanks for pabigot for raising this gomodule/redigo#602