Skip to content

Commit 8ec2b02

Browse files
Fix uoi-ncsa license false positives
These false positives was seen in numpy header texts. Reference: #4617 Signed-off-by: Ayan Sinha Mahapatra <[email protected]>
1 parent a16cb5b commit 8ec2b02

8 files changed

+20
-11
lines changed
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
---
2+
license_expression: unknown-license-reference
3+
is_license_reference: yes
4+
relevance: 100
5+
referenced_filenames:
6+
- LICENSE.txt
7+
---
8+
9+
See LICENSE.txt for the license.

src/licensedcode/data/rules/uoi-ncsa_or_mit_1.RULE

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ license_expression: uoi-ncsa OR mit
33
is_license_notice: yes
44
---
55

6-
The library is dual licensed under both the University of Illinois
7-
"BSD-Like" license and the MIT license. As a user of this code you may choose
6+
The library is dual licensed under both the {{University of Illinois
7+
"BSD-Like" license}} and the {{MIT license}}. As a user of this code you may choose
88
to use it under either license. As a contributor, you agree to allow your code
99
to be used under both.
1010

src/licensedcode/data/rules/uoi-ncsa_or_mit_2.RULE

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,5 @@ referenced_filenames:
66
- LICENSE.TXT
77
---
88

9-
This file is dual licensed under the MIT and the University of Illinois Open
10-
Source Licenses. See LICENSE.TXT for details.
9+
This file is dual {{licensed under the MIT}} and the {{University of Illinois Open
10+
Source Licenses}}. See LICENSE.TXT for details.

src/licensedcode/data/rules/uoi-ncsa_or_mit_3.RULE

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ referenced_filenames:
66
---
77

88
The source code is disjunctively dual licensed
9-
(NCSA OR MIT). It is used by this project under the terms of the NCSA
10-
license (also known as the University of Illinois/NCSA Open Source License),
9+
{{(NCSA OR MIT)}}. It is used by this project under the terms of the {{NCSA
10+
license}} (also known as the {{University of Illinois/NCSA Open Source License}}),
1111
which is a permissive license compatible with BSD-3-Clause. Any
1212
contributions to this code must be made under the terms of both licenses.

src/licensedcode/data/rules/uoi-ncsa_or_mit_4.RULE

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ license_expression: uoi-ncsa OR mit
33
is_license_notice: yes
44
---
55

6-
library is dual licensed under both the University of Illinois
7-
"BSD-Like" license and the MIT license. As a user of this code you may choose
6+
library is dual licensed under both the {{University of Illinois
7+
"BSD-Like" license}} and the {{MIT license}}. As a user of this code you may choose
88
to use it under either license. As a contributor, you agree to allow your code
99
to be used under both.
1010

src/licensedcode/data/rules/uoi-ncsa_or_mit_5.RULE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@ is_license_notice: yes
44
relevance: 100
55
---
66

7-
dual licensed under LLVM's license and MIT:
7+
dual licensed under {{LLVM's license and MIT}}:

src/licensedcode/data/rules/uoi-ncsa_or_mit_and_generic-cla_1.RULE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ relevance: 100
55
---
66

77
The software contained in this directory tree is dual licensed under both the
8-
University of Illinois "BSD-Like" license and the MIT license. As a user of
8+
{{University of Illinois "BSD-Like" license}} and the {{MIT license}}. As a user of
99
this code you may choose to use it under either license. As a contributor,
1010
you agree to allow your code to be used under both. The full text of the
1111
relevant licenses is included below.

src/licensedcode/data/rules/uoi-ncsa_or_mit_and_generic-cla_2.RULE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ relevance: 100
55
---
66

77
The software contained in this directory tree is dual licensed under both the
8-
University of Illinois "BSD-Like" license and the MIT license. As a user of
8+
{{University of Illinois "BSD-Like" license}} and the {{MIT license}}. As a user of
99
this code you may choose to use it under either license. As a contributor,
1010
you agree to allow your code to be used under both. The full text of the
1111
relevant licenses is included below.

0 commit comments

Comments
 (0)