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

Add missing namespace to debian packages #899

Closed
pombredanne opened this issue Aug 30, 2023 · 3 comments · Fixed by #1096
Closed

Add missing namespace to debian packages #899

pombredanne opened this issue Aug 30, 2023 · 3 comments · Fixed by #1096
Assignees
Labels
bug Something isn't working medium priority

Comments

@pombredanne
Copy link
Contributor

Scanning docker://r-base:latest with the docker pipeline there are a few issues:

@mjherzog
Copy link
Member

To be more specific, the Docker pipeline for SCIO 32.08 generates Debian purls in the format: pkg:deb/name@version.
It should be pkg:deb/debian/name@version

@mjherzog mjherzog added bug Something isn't working medium priority labels Nov 14, 2023
@AyanSinhaMahapatra AyanSinhaMahapatra self-assigned this Jan 25, 2024
@pombredanne
Copy link
Contributor Author

The PURL spec is clear: we should use debian or ubuntu as a namespace.
I suggest this:

  1. get the distro identifier from the project data
  2. try to infer this from the version or other package data (the versions may have deb or ubuntu in them)
  3. use debian as a default

AyanSinhaMahapatra added a commit to aboutcode-org/scancode-toolkit that referenced this issue Jan 29, 2024
We will now deduce and populate debian distro information, i.e. their
namespace from clues present in version/maintainer info.

Reference: aboutcode-org/scancode.io#899

Signed-off-by: Ayan Sinha Mahapatra <[email protected]>
@AyanSinhaMahapatra AyanSinhaMahapatra linked a pull request Mar 15, 2024 that will close this issue
@AyanSinhaMahapatra
Copy link
Contributor

Btw, this was fixed by the SCTK PR: which is now merged.
We have the SCTK available and more improvements to support this at #1096 which will close this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working medium priority
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants