Skip to content

Commit bebbcf7

Browse files
authored
Merge pull request #2811 from KevinJi22/false-positive-2777
Fix incorrect license detection #2777
2 parents 1681d6e + 006d33c commit bebbcf7

3 files changed

Lines changed: 4 additions & 17 deletions

File tree

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
based on John Gilmore's public domain version of tar,
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
is_false_positive: yes
2+
notes: Not a license, refers to a different version of tar that this version is based on.

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

Lines changed: 1 addition & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,10 @@
11
primary_license:
22
declared_license:
3-
license_expression: public-domain AND gpl-3.0-plus AND gpl-2.0-plus
3+
license_expression: gpl-3.0-plus AND gpl-2.0-plus
44
copyright: |
55
Copyright (c) 1988, 1992, 1993, 1994, 1995, 1996, 1997, 1999, 2000, 2001, 2003, 2004, 2005, 2006, 2007 Free Software Foundation, Inc.
66
Copyright (c) 2006, 2007 Bdale Garbee <bdale@gag.com>
77
matches:
8-
- score: '70.0'
9-
start_line: 2
10-
end_line: 2
11-
matcher: 2-aho
12-
rule_length: 2
13-
matched_length: 2
14-
match_coverage: '100.0'
15-
rule_relevance: 70
16-
identifier: public-domain_bare_words.RULE
17-
license_expression: public-domain
18-
is_license_text: no
19-
is_license_notice: no
20-
is_license_reference: yes
21-
is_license_tag: no
22-
is_license_intro: no
23-
matched_text: public domain
248
- score: '100.0'
259
start_line: 20
2610
end_line: 26

0 commit comments

Comments
 (0)