Skip to content

Commit a6bbfa7

Browse files
committed
Refine is_required_phrase Apache rules
Signed-off-by: Philippe Ombredanne <[email protected]>
1 parent 4bf01c8 commit a6bbfa7

File tree

75 files changed

+201
-69
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

75 files changed

+201
-69
lines changed
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
---
22
license_expression: apache-2.0
33
is_license_reference: yes
4+
is_required_phrase: yes
45
relevance: 95
56
---
67

7-
{{ wikipedia.org/wiki/Apache_License}}
8+
wikipedia.org/wiki/Apache_License
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
---
22
license_expression: apache-2.0
33
is_license_reference: yes
4+
is_required_phrase: yes
45
relevance: 100
56
---
67

7-
{{licenses.nuget.org/Apache-2.0}}
8+
licenses.nuget.org/Apache-2.0

src/licensedcode/data/rules/apache-2.0_1091.RULE

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

8-
licensed under the Apache License, Version 2.0 (the "License"):
8+
Licensed under the Apache License, Version 2.0 (the "License

src/licensedcode/data/rules/apache-2.0_1099.RULE

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,8 @@
22
license_expression: apache-2.0
33
is_license_reference: yes
44
is_required_phrase: yes
5-
is_continuous: yes
65
relevance: 99
76
notes: the + seems to imply "or later"
87
---
98

10-
Apache-2.0+
9+
Apache-2.0+
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
---
22
license_expression: apache-2.0
33
is_license_reference: yes
4+
is_required_phrase: yes
45
relevance: 100
56
---
67

7-
{{ opensource.org/licenses/Apache-2.0}}
8+
opensource.org/licenses/Apache-2.0

src/licensedcode/data/rules/apache-2.0_1168.RULE

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

8-
License Apache 2
8+
License: Apache 2

src/licensedcode/data/rules/apache-2.0_1226.RULE

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,7 @@
22
license_expression: apache-2.0
33
is_license_tag: yes
44
is_required_phrase: yes
5-
is_continuous: yes
65
relevance: 100
76
---
87

9-
All files under Apache 2
8+
All files under Apache 2

src/licensedcode/data/rules/apache-2.0_132.RULE

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,6 @@ is_required_phrase: yes
55
relevance: 100
66
---
77

8-
Apache 2.0 licensed
8+
APACHE 2.0
9+
10+
Licensed

src/licensedcode/data/rules/apache-2.0_1347.RULE

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
license_expression: apache-2.0
33
is_license_notice: yes
44
is_required_phrase: yes
5-
is_continuous: yes
65
relevance: 100
76
---
87

src/licensedcode/data/rules/apache-2.0_151.RULE

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

8-
licensed under the Apache License, Version 2.0:
8+
Licensed under the Apache License, Version 2.0

0 commit comments

Comments
 (0)