aboutcode-org / aboutcode-org/scancode-toolkit

When scanning structured documents, use the structure!

Offen
#2,868 0 Kommentare 1 Reaktion 0 zugewiesene Personen Auf GitHub ansehen
license scan
Vorherrschende Sprache
Python
Sterne
2.6k
Forks
791
Ø Merge
1 T. 12 Std.
Gemergte PRs (30 T.)
5

Beschreibung

We are scanning markup as plain text such as a JSON, YAML, XML, or HTML files and so on (not when these are package manifests).
We should instead parse these are treat them as a structure. For instance, it does not make sense to detect a single license across multiple attributes in a JSON file.

This would help removing a class of false positive. We are already doing special pre-processing for PDF and binaries... This would just extend the practice to more file formats.

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

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