aboutcode-org / aboutcode-org/scancode-toolkit

`is_manifest` flag is not accurately determined

Offen
#4,225 3 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
bug good first issue package-formats
Vorherrschende Sprache
Python
Sterne
2.6k
Forks
791
Ø Merge
1 T. 12 Std.
Gemergte PRs (30 T.)
5

Beschreibung

See https://github.com/aboutcode-org/scancode-toolkit/blob/c326a0b6ed7dda44e40c8a436c7005672a1a53a9/src/summarycode/classify.py#L42 and `set_classification_flags` where we compute the `is_manifest` flag (for `--classify`) based on a fixed list which is outdated and a small subset of all the package manifests we detect. We should somehow parse all the `path_patterns` attributes of DataFileHandler classes at https://github.com/aboutcode-org/scancode-toolkit/blob/c326a0b6ed7dda44e40c8a436c7005672a1a53a9/src/packagedcode/__init__.py#L52 and maintain a dymanic list based on all supported manifests.

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.