/ go Public
x/pkgsite: add postgres.GetLicenses function to return licenses for a given path #40027
FrozenDueToAge help wanted NeedsFix
The path to resolution is known, but the work has not been done.
Issues that may be good for new contributors looking for work to do.
As part of the new data model migration (#39629), we will have a single function get licenses for a given path (regardless of whether that path is a package, module, or directory).
This function will replace the existing LegacyGetPackageLicenses and LegacyGetModuleLicenses.
The function signature will be:
The function will execute the query below:
Only licenses relevant to the path should be returned. A license applies to the path if the license is in the path directory, or any of its parent directories.
The text was updated successfully, but these errors were encountered: