Skip to content

Commit 106a624

Browse files
committed
Change scheme of ArchLinuxVersionRange #88
According to purl spec alpm is the type of ArchLinux packages Signed-off-by: Tushar Goel <tushar.goel.dav@gmail.com>
1 parent d31c68b commit 106a624

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/univers/version_range.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -891,7 +891,7 @@ class AlpineLinuxVersionRange(VersionRange):
891891

892892

893893
class ArchLinuxVersionRange(VersionRange):
894-
scheme = "archlinux"
894+
scheme = "alpm"
895895
version_class = versions.ArchLinuxVersion
896896

897897

@@ -1183,7 +1183,7 @@ def build_range_from_github_advisory_constraint(scheme: str, string: str):
11831183
"mozilla": MozillaVersionRange,
11841184
"github": GitHubVersionRange,
11851185
"ebuild": EbuildVersionRange,
1186-
"archlinux": ArchLinuxVersionRange,
1186+
"alpm": ArchLinuxVersionRange,
11871187
"nginx": NginxVersionRange,
11881188
"openssl": OpensslVersionRange,
11891189
}

0 commit comments

Comments
 (0)