aboutcode-org / aboutcode-org/scancode-toolkit

Matched text diagnostics should be in a new attribute

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

Beschreibung

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.

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

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