-
-
Notifications
You must be signed in to change notification settings - Fork 721
Improve MIT detection #4269
Copy link
Copy link
Open
Labels
license-reviewA license detection issue that needs reviewA license detection issue that needs reviewnew and improved data
Metadata
Metadata
Assignees
Labels
license-reviewA license detection issue that needs reviewA license detection issue that needs reviewnew and improved data
Following up from comments posted in @alok1304 's #4121 (comment)_
You can improve this further this way:
The test for #3860 and #3861 would be the same with this text (like for https://github.com/aboutcode-org/scancode-toolkit/blob/develop/tests/licensedcode/data/datadriven/lic4/2675-sqlite.cpp )
And expected YAML file, (like for https://github.com/aboutcode-org/scancode-toolkit/blob/develop/tests/licensedcode/data/datadriven/lic4/2675-sqlite.cpp.yml )
And another:
And a few variations that can bee seen in the wild if we do not detect these exactly:
MIT License (see LICENSE.md)distributed under MIT license (see LICENSE.md).https://github.com/modeladonicho/Maxent/blob/a500e9108e7edeeea8558cd8ed43e622bedc410d/license-summary.txt#L1And all the variations where there is a LICENSE.txt:
And a few rst:
And more variants: