Skip to content

adding enumerated namespaces for the most popular vendors for rpm and deb types #370

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 18 additions & 4 deletions PURL-TYPES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -217,6 +217,11 @@ deb
the ``distro`` qualifiers key or using a base url as a ``repository_url``
qualifiers key.
- The ``namespace`` is the "vendor" name such as "debian" or "ubuntu".

- Debian uses ``debian``
- Ubuntu uses ``ubuntu``
- Linux Mint uses ``linuxmint``

It is not case sensitive and must be lowercased.
- The ``name`` is not case sensitive and must be lowercased.
- The ``version`` is the version of the binary (or source) package.
Expand Down Expand Up @@ -538,8 +543,16 @@ rpm
- There is no default package repository: this should be implied either from
the ``distro`` qualifiers key or using a repository base URL as
``repository_url`` qualifiers key.
- The ``namespace`` is the vendor such as Fedora or OpenSUSE.
It is not case sensitive and must be lowercased.
- The ``namespace`` is the vendor, it is not case sensitive and must be lowercased.

- Fedora uses ``fedora``
- CentOS uses ``centos``
- Rocky Linux uses ``rocky``
- Red Hat Enterprise Linux uses ``redhat``
- AlmaLinux uses ``almalinux``
- OpenSUSE uses ``opensuse``
Copy link
Contributor

@gernot-h gernot-h Jan 27, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
- OpenSUSE uses ``opensuse``
- OpenSUSE uses ``opensuse``
- SUSE Linux Enterprise products use ``suse``



- The ``name`` is the RPM name and is case sensitive.
- The ``version`` is the combined version and release of an RPM.
- ``epoch`` (optional for RPMs) is a qualifier as it's not required for
Expand All @@ -549,8 +562,9 @@ rpm
- Examples::

pkg:rpm/fedora/[email protected]?arch=i386&distro=fedora-25
pkg:rpm/[email protected]?arch=i686&epoch=1&distro=fedora-25

pkg:rpm/rocky/[email protected]?arch=x86_64&distro=rocky-8.6&upstream=acl-2.2.53-1.el8.1.src.rpm
pkg:rpm/almalinux/[email protected]?arch=x86_64&distro=almalinux-8.4&upstream=acl-2.2.53-1.el8.src.rpm
pkg:rpm/redhat/[email protected]?arch=x86_64&distro=rhel-8.7&upstream=acl-2.2.53-1.el8.src.rpm
swid
-----
``swid`` for ISO-IEC 19770-2 Software Identification (SWID) tags:
Expand Down