x/pkgsite: add a function to get the version history for a path #40150
Labels
FrozenDueToAge
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
pkgsite
Milestone
As part of the new data model migration (#39629), we will be deprecating these functions:
See http://github.com/golang/pkgsite/blob/master/internal/postgres/version.go.
We want fetch version history from the paths table instead.
The query to execute is:
If we know about release or pre-release versions for path, return them all. Don't return an pseudoversions.
If we only know about pseudoversions, return the 10 most recent.
The text was updated successfully, but these errors were encountered: