Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Correction of the purl generation for apk package
The purl generation for apk packages was faulty. For example the purl for an alpine image busybox package was pkg:apk/alpine/busybox@1.31.1-r9 instead of the correct pkg:alpine/busybox@1.31.1-r9. Note that "apk" type packages are not defined for purl yet, specifically, but OSSINDEX uses the pkg:alpine[1] notation and purl has purposely chosen not to use "apk" as an identifier due to a known conflict with Android which also uses the term apk[2]. [1] https://ossindex.sonatype.org/component/pkg:alpine/busybox@1.31.1-r9 [2] package-url/purl-spec#159 (comment) Resolves: tern-tools#1131 Signed-off-by: Thiéfaine Mercier <thiefaine.mercier@avisto.com> Signed-off-by: Rose Judge <rjudge@vmware.com>
- Loading branch information