Skip to content

Commit d0b33f8

Browse files
committed
Improve Apache and commons clause rules
Signed-off-by: Philippe Ombredanne <[email protected]>
1 parent 1d503f4 commit d0b33f8

40 files changed

+86
-77
lines changed

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
license_expression: apache-2.0
33
is_license_tag: yes
44
relevance: 100
5+
skip_for_required_phrase_generation: yes
56
---
67

7-
License {{Apache-2 LICENSE}}
8+
License {{Apache-2}} LICENSE

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22
license_expression: apache-2.0
33
is_license_tag: yes
44
relevance: 100
5+
skip_for_required_phrase_generation: yes
56
---
67

78
Bundle-License: "{{Apache License, Version 2.0}}";link="{{https://www.apache
8-
.org/licenses/LICENSE-2.0.txt}}"
9+
.org/licenses/LICENSE-2.0.txt}}"

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ is_license_notice: yes
44
ignorable_urls:
55
- http://www.apache.org/licenses/LICENSE-2.0.txt
66
- https://www.apache.org/
7+
is_deprecated: yes
78
---
89

910
From: 'The Apache Software Foundation' (https://www.apache.org/)

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,4 @@ ignorable_urls:
77
- https://www.apache.org/licenses/LICENSE-2.0.txt
88
---
99

10-
https://www.apache
11-
.org/licenses/LICENSE-2.0.txt
10+
https://www.apache.org/licenses/LICENSE-2.0.txt

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@ ignorable_urls:
77
- http://www.apache.org/licenses/LICENSE-2.0
88
---
99

10-
Http://www.apache.org/licenses/LICENSE-2.0
10+
http://www.apache.org/licenses/LICENSE-2.0

src/licensedcode/data/rules/apache-2.0_with_commons-clause_1.RULE

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ ignorable_urls:
66
- http://www.apache.org/licenses/LICENSE-2.0
77
---
88

9-
Licensed under the Apache License, Version 2.0 (the "License") and the Commons
10-
Clause Restriction; you may not use this file except in compliance with the
9+
Licensed under the {{Apache License, Version 2.0 (the "License") and the Commons
10+
Clause Restriction;}} you may not use this file except in compliance with the
1111
License. You may obtain a copy of the License at
1212

1313
http://www.apache.org/licenses/LICENSE-2.0
@@ -33,4 +33,4 @@ Condition notice.
3333

3434
For purposes of the clause above, the “Licensor” is , Inc., the
3535
“License” is the Apache License, Version 2.0, and the Software is the
36-
software provided with this notice.
36+
software provided with this notice.

src/licensedcode/data/rules/apache-2.0_with_commons-clause_10.RULE

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

77
License
88

9-
n8n is fair-code licensed under Apache 2.0 with Commons Clause
9+
n8n is fair-code licensed under {{Apache 2.0 with Commons Clause}}

src/licensedcode/data/rules/apache-2.0_with_commons-clause_11.RULE

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

77
License
88

9-
is fair-code licensed under Apache 2.0 with Commons Clause
9+
is fair-code licensed under {{Apache 2.0 with Commons Clause}}

src/licensedcode/data/rules/apache-2.0_with_commons-clause_12.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-
fair-code licensed under Apache 2.0 with Commons Clause
7+
fair-code licensed under {{Apache 2.0 with Commons Clause}}

src/licensedcode/data/rules/apache-2.0_with_commons-clause_13.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-
licensed under Apache 2.0 with Commons Clause
7+
licensed under {{Apache 2.0 with Commons Clause}}

0 commit comments

Comments
 (0)