-
-
Notifications
You must be signed in to change notification settings - Fork 562
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Test Debian copyright for full match details
The Debian copyright tests expected data were just a list of items without an attribute name telling what each item was. This fixes this by making the expected YAML results a dictionary rather than a list. It also adds the full match details to the expected results such that we can better assess what failed and how and can better update the tests as we improve license detection. Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
- Loading branch information
1 parent
23c4b6e
commit 32958ca
Showing
379 changed files
with
133,569 additions
and
2,088 deletions.
There are no files selected for viewing
44 changes: 40 additions & 4 deletions
44
...ebian/copyright/debian-2019-11-15/main/a/acme-tiny/stable_copyright-detailed.expected.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,46 @@ | ||
- mit | ||
- - MIT | ||
primary_license: mit | ||
declared_license: | ||
- MIT | ||
- MIT | ||
- mit AND mit | ||
- | | ||
- MIT | ||
license_expression: mit AND mit | ||
copyright: | | ||
2015 Daniel Roesler <diafygi@gmail.com> | ||
2016-2017 Jeremías Casteglione <jrmsdev@gmail.com> | ||
2017-2018 Sebastien Badia <sbadia@debian.org> | ||
2019 Samuel Henrique <samueloph@debian.org> | ||
matches: | ||
- score: '100.0' | ||
start_line: 1 | ||
end_line: 18 | ||
matcher: 1-hash | ||
rule_length: 161 | ||
matched_length: 161 | ||
match_coverage: '100.0' | ||
rule_relevance: 100 | ||
identifier: mit.LICENSE | ||
license_expression: mit | ||
is_license_text: yes | ||
is_license_notice: no | ||
is_license_reference: no | ||
is_license_tag: no | ||
is_license_intro: no | ||
matched_text: | | ||
Permission is hereby granted, free of charge, to any person obtaining | ||
a copy of this software and associated documentation files (the | ||
"Software"), to deal in the Software without restriction, including | ||
without limitation the rights to use, copy, modify, merge, publish, | ||
distribute, sublicense, and/or sell copies of the Software, and to | ||
permit persons to whom the Software is furnished to do so, subject to | ||
the following conditions: | ||
The above copyright notice and this permission notice shall be included | ||
in all copies or substantial portions of the Software. | ||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, | ||
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF | ||
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. | ||
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY | ||
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, | ||
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE | ||
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |
44 changes: 40 additions & 4 deletions
44
...de/data/debian/copyright/debian-2019-11-15/main/a/acme-tiny/stable_copyright.expected.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,40 @@ | ||
- mit | ||
- - MIT | ||
- mit | ||
- 2015 Daniel Roesler <diafygi@gmail.com> | ||
primary_license: mit | ||
declared_license: | ||
- MIT | ||
license_expression: mit | ||
copyright: 2015 Daniel Roesler <diafygi@gmail.com> | ||
matches: | ||
- score: '100.0' | ||
start_line: 1 | ||
end_line: 18 | ||
matcher: 1-hash | ||
rule_length: 161 | ||
matched_length: 161 | ||
match_coverage: '100.0' | ||
rule_relevance: 100 | ||
identifier: mit.LICENSE | ||
license_expression: mit | ||
is_license_text: yes | ||
is_license_notice: no | ||
is_license_reference: no | ||
is_license_tag: no | ||
is_license_intro: no | ||
matched_text: | | ||
Permission is hereby granted, free of charge, to any person obtaining | ||
a copy of this software and associated documentation files (the | ||
"Software"), to deal in the Software without restriction, including | ||
without limitation the rights to use, copy, modify, merge, publish, | ||
distribute, sublicense, and/or sell copies of the Software, and to | ||
permit persons to whom the Software is furnished to do so, subject to | ||
the following conditions: | ||
The above copyright notice and this permission notice shall be included | ||
in all copies or substantial portions of the Software. | ||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, | ||
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF | ||
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. | ||
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY | ||
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, | ||
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE | ||
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |
Oops, something went wrong.