aboutcode-org / aboutcode-org/scancode-toolkit
Do not double scan a file both as a package and as a plain file
Open
- Dominant language
- Python
- Stars
- 2.6k
- Forks
- 791
- Avg merge
- 1d 12h
- Merged PRs (30d)
- 5
Description
This leads to confusing reporting.
We should scan first for package and skip scanning as a file when the package manifest is scanned properly.
Though we need to make sure that we do not skip or ignore rare cases such as some Maven POM that use XML comments for their license notice as opposed to use structure license fields.
https://repo1.maven.org/maven2/org/glassfish/javax.json/1.1.4/javax.json-1.1.4.pom
Contributor guide
Assessment
This issue has not been assessed yet.