We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
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 )
# Copyright: (c) 2020, Jordan Borean (@jborean93) <jborean93@gmail.com> # MIT License (see LICENSE or https://opensource.org/licenses/MIT)
And expected YAML file, (like for https://github.com/aboutcode-org/scancode-toolkit/blob/develop/tests/licensedcode/data/datadriven/lic4/2675-sqlite.cpp.yml )
license_expressions: - mit
--- license_expression: mit is_license_notice: yes relevance: 100 referenced_filenames: - LICENSE ignorable_urls: - https://opensource.org/licenses/MIT --- {{MIT License (see LICENSE or https://opensource.org/licenses/MIT) }}
And another:
--- license_expression: mit is_license_notice: yes relevance: 100 referenced_filenames: - LICENSE --- {{MIT License (see LICENSE) }}
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).
And all the variations where there is a LICENSE.txt:
And a few rst:
And more variants:
The text was updated successfully, but these errors were encountered:
No branches or pull requests
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:
The text was updated successfully, but these errors were encountered: