aboutcode-org / aboutcode-org/scancode-toolkit

Incorrect PURL type for Alpine packages

Aperta
#4,964 1 commento 0 reazioni 0 assegnatari Vedi su GitHub
bug package-url-spec
Lingua principale
Python
Stelle
2.6k
Fork
791
Merge medio
1g 12h
PR unite (30g)
5

Descrizione

### Description

Currently, we use `alpine` as the PURL type for Alpine packages, which is not in line with the latest [Package-URL Spec](https://github.com/package-url/purl-spec/blob/main/types-doc/apk-definition.md).
Alpine packages should use `apk` as the PURL type.

#### These package handler should use `apk` as default package type:

- https://github.com/aboutcode-org/scancode-toolkit/blob/6570c131e2821388286f661368a70e0120aaf2c6/src/packagedcode/alpine.py#L40
- https://github.com/aboutcode-org/scancode-toolkit/blob/6570c131e2821388286f661368a70e0120aaf2c6/src/packagedcode/alpine.py#L64
- https://github.com/aboutcode-org/scancode-toolkit/blob/6570c131e2821388286f661368a70e0120aaf2c6/src/packagedcode/alpine.py#L135

#### Related issues in other projects:

- https://github.com/aboutcode-org/univers/issues/191
- https://github.com/aboutcode-org/vulnerablecode/issues/2286

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.