Skip to content
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

Namespace clarification for third-party Debian/Ubuntu Package #307

Open
captn3m0 opened this issue Jun 17, 2024 · 3 comments
Open

Namespace clarification for third-party Debian/Ubuntu Package #307

captn3m0 opened this issue Jun 17, 2024 · 3 comments
Labels
PURL namespace component PURL type definition Non-core definitions that describe and standardize PURL types

Comments

@captn3m0
Copy link
Contributor

The deb type says:

The namespace is the "vendor" name such as "debian" or "ubuntu". It is not case sensitive and must be lowercased.

However, there are scenarios where the vendor is neither of debian or ubuntu, such as when installing a package from a third-party deb repo, such as https://bell-sw.com/pages/repositories/#apt-repository-deb-based-linux-distributions

The packages from such a repository might be functional on both debian/ubuntu, and the "vendor" distinction might not be appropriate.

  1. Can namespace be marked optional in deb type for such usecases? It is unclear right now.
  2. If not, should "debian" be suggested as the default namespace.
@t-8ch
Copy link

t-8ch commented Jun 28, 2024

Debian repositories contain an (optional) metadata field "Origin" in the Release file.
Coincidentally it contains "Debian" for Debian upstream and "Ubuntu" for Ubuntu.

Other providers are supposed to add their own name there.
So this seems like the correct source for the "vendor" PURL qualifier.

@captn3m0
Copy link
Contributor Author

captn3m0 commented Jul 2, 2024

Since it is optional - what happens in case of a missing Origin.

@t-8ch
Copy link

t-8ch commented Jul 2, 2024

what happens in case of a missing Origin.

No idea. Either make it optional or empty.

@johnmhoran johnmhoran added PURL type definition Non-core definitions that describe and standardize PURL types PURL namespace component labels Oct 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
PURL namespace component PURL type definition Non-core definitions that describe and standardize PURL types
Projects
None yet
Development

No branches or pull requests

3 participants