-
Notifications
You must be signed in to change notification settings - Fork 175
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
internal/postgres: add a function to get the version history for a path
Adds a db method to get version history for a given path. It will return pre-release and release versions of a package if tagged versions exist or the first 10 pseudo versions. In supporting getting version history based on path, this method will replace the following legacy methods: - LegacyGetTaggedVersionsForPackageSeries - LegacyGetPsuedoVersionsForPackageSeries - LegacyGetTaggedVersionsForModule - LegacyGetPsuedoVersionsForModule For golang/go#39629 For golang/go#40150 Change-Id: I251e80e5327e422579fd8c0854f1e93d1865d48d Reviewed-on: https://go-review.googlesource.com/c/pkgsite/+/242881 Reviewed-by: Julie Qiu <julie@golang.org>
- Loading branch information
Showing
2 changed files
with
294 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters