aboutcode-org / aboutcode-org/scancode-toolkit

Matched text diagnostics should be in a new attribute

Aperta
#3,426 9 commenti 0 reazioni 0 assegnatari Vedi su GitHub
bug good first issue license scan
Lingua principale
Python
Stelle
2.6k
Fork
791
Merge medio
1g 12h
PR unite (30g)
5

Descrizione

Currently when we have `--matched-text-diagnostics` enabled we add this diagnostics directly in the `matched_text` attribute for the match. This is problematic as this `matched_text` is important in many downstream cases like generating attribution, showing diffs etc, and so this should be in a new attribute `matched_text_diagnostics`.
There would be a downside of increased file size for the result file btw.

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.