Skip to content

Commit

Permalink
Add new purl types
Browse files Browse the repository at this point in the history
`pub` and `bitnami`

Signed-off-by: Antonio Gamez Diaz <agamez@vmware.com>
  • Loading branch information
antgamdia authored and shibumi committed Aug 12, 2023
1 parent 90934ff commit f8bb31c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions packageurl.go
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,8 @@ var (
TypeApk = "apk"
// TypeBitbucket is a pkg:bitbucket purl.
TypeBitbucket = "bitbucket"
// TypeBitnami is a pkg:bitnami purl.
TypeBitnami = "bitnami"
// TypeCargo is a pkg:cargo purl.
TypeCargo = "cargo"
// TypeCocoapods is a pkg:cocoapods purl.
Expand Down Expand Up @@ -94,6 +96,8 @@ var (
TypeNuget = "nuget"
// TypeOCI is a pkg:oci purl
TypeOCI = "oci"
// TypePub is a pkg:pub purl.
TypePub = "pub"
// TypePyPi is a pkg:pypi purl.
TypePyPi = "pypi"
// TypeQPKG is a pkg:qpkg purl.
Expand Down Expand Up @@ -379,6 +383,7 @@ func typeAdjustName(purlType, name string, qualifiers Qualifiers) string {
case TypeAlpm,
TypeApk,
TypeBitbucket,
TypeBitnami,
TypeComposer,
TypeDebian,
TypeGithub,
Expand Down

0 comments on commit f8bb31c

Please sign in to comment.