Skip to content

Commit

Permalink
Merge pull request #2811 from KevinJi22/false-positive-2777
Browse files Browse the repository at this point in the history
Fix incorrect license detection #2777
  • Loading branch information
pombredanne authored Feb 1, 2022
2 parents 1681d6e + 006d33c commit bebbcf7
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 17 deletions.
1 change: 1 addition & 0 deletions src/licensedcode/data/rules/false-positive_674.RULE
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
based on John Gilmore's public domain version of tar,
2 changes: 2 additions & 0 deletions src/licensedcode/data/rules/false-positive_674.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
is_false_positive: yes
notes: Not a license, refers to a different version of tar that this version is based on.
Original file line number Diff line number Diff line change
@@ -1,26 +1,10 @@
primary_license:
declared_license:
license_expression: public-domain AND gpl-3.0-plus AND gpl-2.0-plus
license_expression: gpl-3.0-plus AND gpl-2.0-plus
copyright: |
Copyright (c) 1988, 1992, 1993, 1994, 1995, 1996, 1997, 1999, 2000, 2001, 2003, 2004, 2005, 2006, 2007 Free Software Foundation, Inc.
Copyright (c) 2006, 2007 Bdale Garbee <bdale@gag.com>
matches:
- score: '70.0'
start_line: 2
end_line: 2
matcher: 2-aho
rule_length: 2
matched_length: 2
match_coverage: '100.0'
rule_relevance: 70
identifier: public-domain_bare_words.RULE
license_expression: public-domain
is_license_text: no
is_license_notice: no
is_license_reference: yes
is_license_tag: no
is_license_intro: no
matched_text: public domain
- score: '100.0'
start_line: 20
end_line: 26
Expand Down

0 comments on commit bebbcf7

Please sign in to comment.