From a5046af7e72fae0810f40c24d6275cff0a79c955 Mon Sep 17 00:00:00 2001 From: Sebastian Schuberth Date: Fri, 22 Nov 2024 16:27:22 +0100 Subject: [PATCH] fix(model): Change the `ALPINE` purl type into `APK` Apparently the type was never called "alpine" but always "apk", see [1]. [1]: https://github.com/package-url/purl-spec/pull/171 Signed-off-by: Sebastian Schuberth --- model/src/main/kotlin/utils/PurlUtils.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/model/src/main/kotlin/utils/PurlUtils.kt b/model/src/main/kotlin/utils/PurlUtils.kt index 0da37cabe2b59..4a06af51ec614 100644 --- a/model/src/main/kotlin/utils/PurlUtils.kt +++ b/model/src/main/kotlin/utils/PurlUtils.kt @@ -30,7 +30,7 @@ import org.ossreviewtoolkit.utils.common.percentEncode * A subset of the Package URL types defined at https://github.com/package-url/purl-spec/blob/ad8a673/PURL-TYPES.rst. */ enum class PurlType(private val value: String) { - ALPINE("alpine"), + APK("apk"), A_NAME("a-name"), BAZEL("bazel"), BITBUCKET("bitbucket"),