-
-
Notifications
You must be signed in to change notification settings - Fork 564
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MIT license not detected in package.json #3843
Comments
@vw-anton I doubt we can detect this correctly at scale in a plain JSON file, without the Why not use the Some related issues:
|
We are not using it in ORT due to: https://oss-review-toolkit.slack.com/archives/C9NNJ54B1/p1719903918648839 |
Let me paste this thread here for reference:
|
@vw-anton re:
We track these licenses at the package level
Both are normalized licenses on which we ran ScanCode license detection, using eventually package-type-specific conventions. We also track:
So please consider the way we implemented to detect licenses correctly with the --package option. I am open to refinements, improvements and enhancements but you have a designed, tested and correct way to detect all these licenses right now without doing any changes. |
Description
From the following file ScanCode does not extract "MIT" license when running ScanCode without --package option:
https://github.com/components/font-awesome/blob/f4f114c4ab37d101e6a15370769bc0af681792fa/package.json
This is also reflected by the result of scancode.io which reports:
How To Reproduce
Run ScanCode 32.1.0 via ORT 22.5.0
System configuration
Linux
32.1.0
PIP in ORT
The text was updated successfully, but these errors were encountered: