You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
No banner, because the highest tagged major version is v2.
https://pkg.go.dev/gopkg.in/yaml.v3 should have a banner saying The highest tagged major version is v2. (without the extra dot in front of the major version).
What did you see instead?
A banner showing The highest tagged major version is .v3., with an extra dot in front of "v3":
The text was updated successfully, but these errors were encountered:
julieqiu
changed the title
x/pkgsite: extra dot in highest major version banner for gopkg.in packages
x/pkgsite: incorrect major version in banner for gopkg.in packages
Mar 18, 2021
When finding the latest major version of a unit, do not
consider untagged (that is, pseudo) versions.
For golang/go#45098
Change-Id: Ic38480f68edbe2a3db189bc3055ae75b3d5df72b
Reviewed-on: https://go-review.googlesource.com/c/pkgsite/+/302950
Trust: Jonathan Amsterdam <jba@google.com>
Run-TryBot: Jonathan Amsterdam <jba@google.com>
TryBot-Result: kokoro <noreply+kokoro@google.com>
Reviewed-by: Julie Qiu <julie@golang.org>
Define a function to get the major version from a module path in a
clean way, and use it.
For golang/go#45098
Change-Id: I0a5053a763cf93dbd076ca4e0adc68d9c1bfb7f0
Reviewed-on: https://go-review.googlesource.com/c/pkgsite/+/302951
Trust: Jonathan Amsterdam <jba@google.com>
Run-TryBot: Jonathan Amsterdam <jba@google.com>
TryBot-Result: kokoro <noreply+kokoro@google.com>
Reviewed-by: Jamal Carvalho <jamal@golang.org>
Reviewed-by: Julie Qiu <julie@golang.org>
What is the URL of the page with the issue?
https://pkg.go.dev/gopkg.in/yaml.v2 and https://pkg.go.dev/gopkg.in/yaml.v3
Screenshot
What did you expect to see?
No banner, because the highest tagged major version is v2.
https://pkg.go.dev/gopkg.in/yaml.v3 should have a banner saying
The highest tagged major version is v2.
(without the extra dot in front of the major version).What did you see instead?
A banner showing
The highest tagged major version is .v3.
, with an extra dot in front of "v3":The text was updated successfully, but these errors were encountered: