diff --git a/src/licensedcode/data/rules/apache-2.0.yml b/src/licensedcode/data/rules/apache-2.0.yml index 68e59c94a89..92873afcd15 100644 --- a/src/licensedcode/data/rules/apache-2.0.yml +++ b/src/licensedcode/data/rules/apache-2.0.yml @@ -1,3 +1,4 @@ license_expression: apache-2.0 is_license_notice: yes +minimum_coverage: 70 notes: Common in Apache notices diff --git a/src/licensedcode/data/rules/apache-2.0_409.yml b/src/licensedcode/data/rules/apache-2.0_409.yml index af313582d5a..5e91cf6e86b 100644 --- a/src/licensedcode/data/rules/apache-2.0_409.yml +++ b/src/licensedcode/data/rules/apache-2.0_409.yml @@ -1,6 +1,7 @@ license_expression: apache-2.0 is_license_text: yes relevance: 100 +minimum_coverage: 99.5 ignorable_urls: - http://www.apache.org/licenses/ - http://www.apache.org/licenses/LICENSE-2.0 diff --git a/src/licensedcode/data/rules/apache-2.0_62.yml b/src/licensedcode/data/rules/apache-2.0_62.yml index 7bcd0d462ff..45d9159fe16 100644 --- a/src/licensedcode/data/rules/apache-2.0_62.yml +++ b/src/licensedcode/data/rules/apache-2.0_62.yml @@ -1,6 +1,6 @@ license_expression: apache-2.0 is_license_text: yes -minimum_coverage: 95 +minimum_coverage: 98.5 ignorable_urls: - http://www.apache.org/licenses/ - http://www.apache.org/licenses/LICENSE-2.0 diff --git a/src/licensedcode/data/rules/apache-2.0_or_bsd-new_5.RULE b/src/licensedcode/data/rules/apache-2.0_or_bsd-new_5.RULE new file mode 100644 index 00000000000..42ecf41d1fb --- /dev/null +++ b/src/licensedcode/data/rules/apache-2.0_or_bsd-new_5.RULE @@ -0,0 +1,3 @@ +License +This work is dual-licensed under Apache 2.0 or BSD3. +You may select, at your option, one of the above-listed licenses. \ No newline at end of file diff --git a/src/licensedcode/data/rules/apache-2.0_or_bsd-new_5.yml b/src/licensedcode/data/rules/apache-2.0_or_bsd-new_5.yml new file mode 100644 index 00000000000..da45f36f505 --- /dev/null +++ b/src/licensedcode/data/rules/apache-2.0_or_bsd-new_5.yml @@ -0,0 +1,3 @@ +license_expression: apache-2.0 OR bsd-new +is_license_notice: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/apache-2.0_or_bsd-new_6.RULE b/src/licensedcode/data/rules/apache-2.0_or_bsd-new_6.RULE new file mode 100644 index 00000000000..6c4c14989f8 --- /dev/null +++ b/src/licensedcode/data/rules/apache-2.0_or_bsd-new_6.RULE @@ -0,0 +1,2 @@ +This work is dual-licensed under Apache 2.0 or BSD3. +You may select, at your option, one of the above-listed licenses. \ No newline at end of file diff --git a/src/licensedcode/data/rules/apache-2.0_or_bsd-new_6.yml b/src/licensedcode/data/rules/apache-2.0_or_bsd-new_6.yml new file mode 100644 index 00000000000..da45f36f505 --- /dev/null +++ b/src/licensedcode/data/rules/apache-2.0_or_bsd-new_6.yml @@ -0,0 +1,3 @@ +license_expression: apache-2.0 OR bsd-new +is_license_notice: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/apache-2.0_or_bsd-new_7.RULE b/src/licensedcode/data/rules/apache-2.0_or_bsd-new_7.RULE new file mode 100644 index 00000000000..a35585de811 --- /dev/null +++ b/src/licensedcode/data/rules/apache-2.0_or_bsd-new_7.RULE @@ -0,0 +1 @@ +This work is dual-licensed under Apache 2.0 or BSD3. \ No newline at end of file diff --git a/src/licensedcode/data/rules/apache-2.0_or_bsd-new_7.yml b/src/licensedcode/data/rules/apache-2.0_or_bsd-new_7.yml new file mode 100644 index 00000000000..da45f36f505 --- /dev/null +++ b/src/licensedcode/data/rules/apache-2.0_or_bsd-new_7.yml @@ -0,0 +1,3 @@ +license_expression: apache-2.0 OR bsd-new +is_license_notice: yes +relevance: 100