Skip to content

Commit ba249d1

Browse files
committed
Refine short Apache license rules and tests
Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
1 parent 012800f commit ba249d1

60 files changed

Lines changed: 27 additions & 112 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
Apache-2.0 Apache License 2.0
1+
Apache Public License
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,4 @@
11
license_expression: apache-2.0
22
is_license_reference: yes
3+
is_continuous: yes
4+
relevance: 99
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
Apache License 2.0 Apache-2.0
1+
Apache Public Licence
Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
license_expression: apache-2.0
22
is_license_reference: yes
33
is_continuous: yes
4-
relevance: 100
5-
minimum_coverage: 100
6-
notes: Rule based on an SPDX license identifier and name
4+
relevance: 99
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
['APACHE', 'Apache-2.0'],
1+
Apache License Version 2.0 http://www.apache.org/licenses/LICENSE-2.0

src/licensedcode/data/rules/apache-2.0_1042.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,5 @@ license_expression: apache-2.0
22
is_license_reference: yes
33
is_continuous: yes
44
relevance: 100
5-
minimum_coverage: 100
5+
ignorable_urls:
6+
- http://www.apache.org/licenses/LICENSE-2.0
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
'APACHE-V2': 'Apache-2.0',
1+
Apache Public License v2

src/licensedcode/data/rules/apache-2.0_1043.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,3 @@ license_expression: apache-2.0
22
is_license_reference: yes
33
is_continuous: yes
44
relevance: 100
5-
minimum_coverage: 100
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
'APACHE2': 'Apache-2.0',
1+
Apache Public Licence v2

src/licensedcode/data/rules/apache-2.0_1044.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,3 @@ license_expression: apache-2.0
22
is_license_reference: yes
33
is_continuous: yes
44
relevance: 100
5-
minimum_coverage: 100

0 commit comments

Comments
 (0)