x/pkgsite: create GetModuleInfo function #40032
Labels
FrozenDueToAge
help wanted
NeedsFix
The path to resolution is known, but the work has not been done.
pkgsite
Suggested
Issues that may be good for new contributors looking for work to do.
Milestone
As part of the new data model migration (#39629), we will need a function return the ModuleInfo for a given module_path and version.
This function will eventually replace the existing LegacyGetModuleInfo function.
The function signature will be:
The function will execute the query below:
Unlike LegacyGetModuleInfo, it is expected that the version passed into the function will always be a semantic version (i.e. GetModuleInfo will NOT need to handle the case where
resolvedVersion == internal.LatestVersion
).The text was updated successfully, but these errors were encountered: