Skip to content

Commit 951b155

Browse files
Update rules to be license clues
Signed-off-by: Ayan Sinha Mahapatra <[email protected]>
1 parent edd7974 commit 951b155

11 files changed

+25
-23
lines changed

etc/scripts/licenses/buildrules-template.txt

Lines changed: 10 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,18 @@
11
----------------------------------------
2-
license_expression: apache-2.0
2+
license_expression:
3+
relevance: 100
4+
minimum_coverage: 90
35
is_license_notice: yes
6+
is_license_text: yes
7+
is_license_reference: yes
8+
is_license_tag: yes
9+
is_false_positive: yes
10+
is_license_intro: yes
11+
is_license_clue: yes
412
referenced_filenames:
5-
- ASL2.0
6-
notes: seen in woodstox
13+
notes:
714
---
8-
This copy of is licensed under the
9-
{{Apache (Software) License, version 2.0 ("the License")}}.
10-
See the License for details about distribution rights, and the
11-
specific rights regarding derivate works.
12-
13-
You may obtain a copy of the License at:
14-
15-
http://www.apache.org/licenses/
1615

17-
A copy is also included in the downloadable source code package
18-
containing , in file {{"ASL2.0"}}, under the same directory
19-
as this file.
2016
----------------------------------------
2117
license_expression:
2218
relevance: 100

src/licensedcode/data/rules/agpl-3.0-plus_152.RULE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
license_expression: agpl-3.0-plus
3-
is_license_reference: yes
3+
is_license_clue: yes
44
relevance: 90
55
ignorable_urls:
66
- http://www.ghostscript.com/

src/licensedcode/data/rules/agpl-3.0-plus_or_commercial-license_7.RULE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
license_expression: agpl-3.0-plus OR commercial-license
3-
is_license_reference: yes
3+
is_license_clue: yes
44
relevance: 90
55
---
66

src/licensedcode/data/rules/free-unknown_55.RULE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
license_expression: free-unknown
3-
is_license_reference: yes
3+
is_license_clue: yes
44
relevance: 99
55
---
66

src/licensedcode/data/rules/free-unknown_85.RULE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
license_expression: free-unknown
3-
is_license_reference: yes
3+
is_license_clue: yes
44
relevance: 100
55
---
66

src/licensedcode/data/rules/free-unknown_88.RULE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
license_expression: free-unknown
3-
is_license_reference: yes
3+
is_license_clue: yes
44
relevance: 50
55
---
66

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
license_expression: free-unknown
3+
is_license_clue: yes
4+
---
5+
6+
licensed under an open source license

src/licensedcode/data/rules/proprietary_greensock_8.RULE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
license_expression: proprietary-license
3-
is_license_reference: yes
3+
is_license_clue: yes
44
relevance: 90
55
ignorable_urls:
66
- http://www.greensock.com/

src/licensedcode/data/rules/python_10.RULE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
license_expression: python
3-
is_license_reference: yes
3+
is_license_clue: yes
44
relevance: 80
55
notes: seen in FreeBSD. Alone this is not super discriminant
66
---

src/licensedcode/data/rules/unknown-license-reference_131.RULE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
license_expression: unknown-license-reference
3-
is_license_reference: yes
3+
is_license_clue: yes
44
notes: https://raw.githubusercontent.com/finalburnneo/FBNeo/master/src/license.txt
55
---
66

0 commit comments

Comments
 (0)