aboutcode-org / aboutcode-org/scancode-toolkit

When scanning structured documents, use the structure!

Aperta
#2,868 0 commenti 1 reazione 0 assegnatari Vedi su GitHub
license scan
Lingua principale
Python
Stelle
2.6k
Fork
791
Merge medio
1g 12h
PR unite (30g)
5

Descrizione

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.

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.