Skip to content

Commit 9eda92f

Browse files
committed
feat(model): Add GitHub and GitLab to Purl types
This allows mapping those Purl types from the corresponding `PackageProvider`s. See https://github.com/package-url/purl-spec/blob/master/PURL-TYPES.rst. Signed-off-by: Nicolas Nobelis <[email protected]>
1 parent 26cb73f commit 9eda92f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

model/src/main/kotlin/utils/Extensions.kt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,8 @@ enum class PurlType(private val value: String) {
143143
DEBIAN("deb"),
144144
DRUPAL("drupal"),
145145
GEM("gem"),
146+
GITHUB("github"),
147+
GITLAB("gitlab"),
146148
GOLANG("golang"),
147149
MAVEN("maven"),
148150
NPM("npm"),

0 commit comments

Comments
 (0)