aboutcode-org / aboutcode-org/scancode-toolkit

Include better debug diagnostics

Ouverte
#4,952 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
new feature
Langage dominant
Python
Étoiles
2.6k
Forks
791
Merge moyen
1 j 12 h
PR mergées (30 j)
5

Description

## Short Description

I am trying to find out why certain rules are not applying correctly. The current license diagnostics are not sufficient for that. Although `--license-text-diagnostics` includes some information I would want to see more of the internal stuff, such as the internal representation of the rule that was matched (the cleaned up version).

## Possible Labels

- new feature

## Select Category

- [X] Enhancement
- [ ] Add License/Copyright
- [ ] Scan Feature
- [ ] Packaging
- [ ] Documentation
- [ ] Expand Support
- [ ] Other

## **Describe the Update**

See short description.

## **How This Feature will help you/your organization**

I am seeing many matches that are incorrect, or slightly incorrect, even though it seems that the correct rules are present in scancode. I want to find out why these don't match, so existing rules can be tightened, or new rules can be added.

## **Possible Solution/Implementation Details**

I would like to see a feature where I can dump the internal representation of the license text that was matched. I am thinking of a representation of the license text, that has been cleaned up (whitespace, punctuation, and so on), so I can see what was matched against.

## **Example/Links if Any**

## **Can you help with this Feature**

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.