aboutcode-org / aboutcode-org/scancode-toolkit

Include better debug diagnostics

Offen
#4,952 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
new feature
Vorherrschende Sprache
Python
Sterne
2.6k
Forks
791
Ø Merge
1 T. 12 Std.
Gemergte PRs (30 T.)
5

Beschreibung

## 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**

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

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