aboutcode-org / aboutcode-org/fetchcode

Add FetchCode support for rpm

Open
#171 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
HTML
Stars
13
Forks
24
PR merge metrics
No merged PRs in 30d

Description

At first glance, you cannot derive a deterministic download URL for RPM packages from a PURL - even with qualifiers - because RPM ecosystems lack a centralized, standardized CDN like Alpine or Debian. RPMs are distributed across many vendor-specific, versioned, and dynamically updated repositories.

But in practice we can download RPMs alright so we need to try harder! The code is to be written alright, in PurlDB and FetchCode

See these places:
- https://github.com/aboutcode-org/purldb/blob/main/minecode/miners/repodata_rpms.py
- https://github.com/aboutcode-org/purldb/blob/main/minecode/miners/repodata.py
- https://github.com/aboutcode-org/purldb/blob/main/minecode/miners/repomd.py
- https://github.com/aboutcode-org/purldb/blob/main/minecode/miners/fedora.py
- https://github.com/aboutcode-org/vulnerablecode/blob/dcb0511c73283654ab8a4ca340b71d6d9c5a16b9/vulnerabilities/rpm_utils.py#L76
- https://github.com/aboutcode-org/scancode-toolkit/blob/develop/src/packagedcode/rpm.py

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.