aboutcode-org / aboutcode-org/scancode-toolkit

Matched text diagnostics should be in a new attribute

Ouverte
#3,426 9 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
bug good first issue license scan
Langage dominant
Python
Étoiles
2.6k
Forks
791
Merge moyen
1 j 12 h
PR mergées (30 j)
5

Description

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.

Guide de contribution

Ouvrir le guide de contribution

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.