Skip to content

Commit 02fe7b5

Browse files
committed
Include OCB license in test results #2670
This was missed before Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
1 parent 8386f67 commit 02fe7b5

2 files changed

Lines changed: 73 additions & 1 deletion

File tree

tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libgcrypt20/copyright-detailed.expected.yml

Lines changed: 37 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ license_expression: gpl-1.0-plus AND public-domain AND fsf-unlimited-no-warranty
55
lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.0-plus AND gpl-1.0-plus AND gpl-2.0-plus AND ((gpl-2.0
66
AND lgpl-2.1-plus) AND other-permissive) AND bsd-new AND bsd-new AND (bsd-new OR gpl-1.0-plus)
77
AND x11-xconsortium AND public-domain AND public-domain AND ocb-open-source-2013 AND ocb-open-source-2013
8-
AND gpl-2.0-plus
8+
AND ocb-open-source-2013 AND ocb-open-source-2013 AND gpl-2.0-plus
99
copyright: |
1010
Copyright (c) 1989,1991-2019 Free Software Foundation, Inc.
1111
Copyright (c) 1994 X Consortium
@@ -469,6 +469,42 @@ matches:
469469
matched_text: |
470470
OCB is covered by several patents but may be used freely by most
471471
software.
472+
- score: '100.0'
473+
start_line: 459
474+
end_line: 466
475+
matcher: 2-aho
476+
rule_length: 55
477+
matched_length: 55
478+
match_coverage: '100.0'
479+
rule_relevance: 100
480+
identifier: ocb-open-source-2013_8.RULE
481+
license_expression: ocb-open-source-2013
482+
is_license_text: no
483+
is_license_notice: yes
484+
is_license_reference: no
485+
is_license_tag: no
486+
is_license_intro: no
487+
matched_text: "License 1 — License for Open-Source Software Implementations of OCB\n \
488+
\ (Jan 9, 2013)\n \n Under this license, you are authorized to make,\
489+
\ use, and\n distribute open-source software implementations of OCB. This\n license\
490+
\ terminates for you if you sue someone over their\n open-source software implementation\
491+
\ of OCB claiming that you have\n a patent covering their implementation."
492+
- score: '100.0'
493+
start_line: 470
494+
end_line: 470
495+
matcher: 2-aho
496+
rule_length: 8
497+
matched_length: 8
498+
match_coverage: '100.0'
499+
rule_relevance: 100
500+
identifier: ocb-open-source-2013_6.RULE
501+
license_expression: ocb-open-source-2013
502+
is_license_text: no
503+
is_license_notice: no
504+
is_license_reference: yes
505+
is_license_tag: no
506+
is_license_intro: no
507+
matched_text: License for Open Source Software Implementations of OCB
472508
- score: '96.98'
473509
start_line: 475
474510
end_line: 540

tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libgcrypt20/copyright.expected.yml

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -467,6 +467,42 @@ matches:
467467
matched_text: |
468468
OCB is covered by several patents but may be used freely by most
469469
software.
470+
- score: '100.0'
471+
start_line: 459
472+
end_line: 466
473+
matcher: 2-aho
474+
rule_length: 55
475+
matched_length: 55
476+
match_coverage: '100.0'
477+
rule_relevance: 100
478+
identifier: ocb-open-source-2013_8.RULE
479+
license_expression: ocb-open-source-2013
480+
is_license_text: no
481+
is_license_notice: yes
482+
is_license_reference: no
483+
is_license_tag: no
484+
is_license_intro: no
485+
matched_text: "License 1 — License for Open-Source Software Implementations of OCB\n \
486+
\ (Jan 9, 2013)\n \n Under this license, you are authorized to make,\
487+
\ use, and\n distribute open-source software implementations of OCB. This\n license\
488+
\ terminates for you if you sue someone over their\n open-source software implementation\
489+
\ of OCB claiming that you have\n a patent covering their implementation."
490+
- score: '100.0'
491+
start_line: 470
492+
end_line: 470
493+
matcher: 2-aho
494+
rule_length: 8
495+
matched_length: 8
496+
match_coverage: '100.0'
497+
rule_relevance: 100
498+
identifier: ocb-open-source-2013_6.RULE
499+
license_expression: ocb-open-source-2013
500+
is_license_text: no
501+
is_license_notice: no
502+
is_license_reference: yes
503+
is_license_tag: no
504+
is_license_intro: no
505+
matched_text: License for Open Source Software Implementations of OCB
470506
- score: '96.98'
471507
start_line: 475
472508
end_line: 540

0 commit comments

Comments
 (0)