Skip to content

Commit

Permalink
Change scheme of ArchLinuxVersionRange #88
Browse files Browse the repository at this point in the history
According to purl spec alpm is the type of ArchLinux packages

Signed-off-by: Tushar Goel <tushar.goel.dav@gmail.com>
  • Loading branch information
TG1999 committed Sep 29, 2022
1 parent d31c68b commit 106a624
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/univers/version_range.py
Original file line number Diff line number Diff line change
Expand Up @@ -891,7 +891,7 @@ class AlpineLinuxVersionRange(VersionRange):


class ArchLinuxVersionRange(VersionRange):
scheme = "archlinux"
scheme = "alpm"
version_class = versions.ArchLinuxVersion


Expand Down Expand Up @@ -1183,7 +1183,7 @@ def build_range_from_github_advisory_constraint(scheme: str, string: str):
"mozilla": MozillaVersionRange,
"github": GitHubVersionRange,
"ebuild": EbuildVersionRange,
"archlinux": ArchLinuxVersionRange,
"alpm": ArchLinuxVersionRange,
"nginx": NginxVersionRange,
"openssl": OpensslVersionRange,
}
Expand Down

0 comments on commit 106a624

Please sign in to comment.