Closed chromatic closed 1 month ago
I don't mind adding other fields, and a purl field will be fine. However, after reading the purl stuff it seems it doesn't quite fit.
But, I'm also wary of any Google project, especially when we already have ways to get this information for other sources that are already doing this work. In two years when Google gets tired of this, we're back to what we've been using for decades.
I think the path forward is a program that converts the data here into the format that Google needs. That doesn't require a change to the CPANSA.pm module.
And, let's use URI::PackageURL.
Since there was been no response to this, I'm closing this PR simply to keep the queue clean.
See the PURL spec and the CPAN-specific PURL spec:
The algorithm for generation matches that used in URI::PackageURL.
This change is necessary but not necessarily sufficient to use this security database as a source to the Open Source Vulnerabilities aggregator, as described in the OSV announcement.
I've marked this as a draft because I'm interested to discuss the goal I've laid out here, and am happy to revise the implementation, if desired.