Skip to content

Commit 0227a0a

Browse files
Update required phrases and rules
Signed-off-by: Ayan Sinha Mahapatra <[email protected]>
1 parent e0a8c42 commit 0227a0a

7 files changed

+46
-16
lines changed

src/licensedcode/data/rules/bsd-new_1426.RULE

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,9 @@
22
license_expression: bsd-new
33
is_license_text: yes
44
is_continuous: yes
5-
skip_for_required_phrase_generation: yes
5+
minimum_coverage: 100
66
---
77

8-
{{
98
License: BSD-3-clause
109
Redistribution and use in source and binary forms, with or without
1110
modification, are permitted provided that the following conditions
@@ -30,4 +29,3 @@ License: BSD-3-clause
3029
INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
3130
STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
3231
OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
33-
}}
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
---
22
license_expression: gfdl-1.3-invariants-only
33
is_license_reference: yes
4-
is_continuous: yes
4+
is_required_phrase: yes
55
relevance: 95
66
---
77

8-
{{with the Invariant Sections being }}
8+
with the Invariant Sections being
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
---
22
license_expression: gfdl-1.3-invariants-only
33
is_license_reference: yes
4-
is_continuous: yes
4+
is_required_phrase: yes
55
relevance: 95
66
---
77

8-
{{the Invariant Sections being }}
8+
the Invariant Sections being

src/licensedcode/data/rules/gfdl-1.3-invariants-only_30.RULE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ is_license_notice: yes
55

66
Permission is granted to copy, distribute
77
and/or modify this document under the terms of the {{GNU Free Documentation
8-
License, Version 1.3;}} {{with the Invariant Sections being}} LIST THEIR TITLES ,
8+
License, Version 1.3; with the Invariant Sections being}} LIST THEIR TITLES ,
99
{{with the Front-Cover Texts being}} LIST , and {{with the Back-Cover Texts being}}
1010
LIST . A copy of the license is included in the section entitled "GNU Free
1111
Documentation License".

src/licensedcode/data/rules/mpl-1.1_or_gpl-2.0-plus_or_lgpl-2.1-plus_16.RULE

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,20 @@ ignorable_urls:
1010
---
1111

1212

13-
<licenses><license><name>MPL</name><url>http://www.mozilla.org/MPL/2.0/index.txt</url><distribution>repo</distribution></license><license><name>LGPL</name><url>http://www.gnu.org/licenses/lgpl-2.1.txt</url><distribution>repo</distribution></license><license><name>GPL</name><url>http://www.gnu.org/licenses/gpl-2.0.txt</url><distribution>repo</distribution></license></licenses>
13+
<licenses>
14+
{{<license>
15+
<name>MPL}}</name>
16+
<url>{{http://www.mozilla.org/MPL/2.0/index.txt}}</url>
17+
<distribution>repo</distribution>
18+
</license>
19+
{{<license>
20+
<name>LGPL}}</name>
21+
<url>{{http://www.gnu.org/licenses/lgpl-2.1.txt}}</url>
22+
<distribution>repo</distribution>
23+
</license>
24+
{{<license>
25+
<name>GPL}}</name>
26+
<url>{{http://www.gnu.org/licenses/gpl-2.0.txt}}</url>
27+
<distribution>repo</distribution>
28+
</license>
29+
</licenses>

src/licensedcode/data/rules/mpl-1.1_or_gpl-2.0-plus_or_lgpl-2.1-plus_30.RULE

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,20 @@ ignorable_urls:
1010
---
1111

1212

13-
<licenses><license><name>MPL</name><url>http://www.mozilla.org/MPL/2.0/index.txt</url><distribution>repo</distribution></license><license><name>LGPL</name><url>https://www.gnu.org/licenses/lgpl-2.1.txt</url><distribution>repo</distribution></license><license><name>GPL</name><url>https://www.gnu.org/licenses/gpl-2.0.txt</url><distribution>repo</distribution></license></licenses>
13+
<licenses>
14+
{{<license>
15+
<name>MPL}}</name>
16+
<url>{{http://www.mozilla.org/MPL/2.0/index.txt}}</url>
17+
<distribution>repo</distribution>
18+
</license>
19+
{{<license>
20+
<name>LGPL}}</name>
21+
<url>{{https://www.gnu.org/licenses/lgpl-2.1.txt}}</url>
22+
<distribution>repo</distribution>
23+
</license>
24+
{{<license>
25+
<name>GPL}}</name>
26+
<url>{{https://www.gnu.org/licenses/gpl-2.0.txt}}</url>
27+
<distribution>repo</distribution>
28+
</license>
29+
</licenses>

src/licensedcode/data/rules/mpl-1.1_or_gpl-3.0_or_lgpl-3.0_1.RULE

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,15 @@ ignorable_urls:
1111

1212
<licenses>
1313
<license>
14-
<name>Mozilla Public License Version 1.1</name>
15-
<url>https://www.mozilla.org/en-US/MPL/1.1/</url>
14+
<name>{{Mozilla Public License Version 1.1}}</name>
15+
<url>{{https://www.mozilla.org/en-US/MPL/1.1/}}</url>
1616
</license>
1717
<license>
18-
<name>GENERAL PUBLIC LICENSE, version 3 (GPL-3.0)</name>
19-
<url>http://www.gnu.org/licenses/gpl.txt</url>
18+
<name>{{GENERAL PUBLIC LICENSE, version 3 (GPL-3.0)}}</name>
19+
<url>{{http://www.gnu.org/licenses/gpl.txt}}</url>
2020
</license>
2121
<license>
22-
<name>GNU LESSER GENERAL PUBLIC LICENSE, version 3 (LGPL-3.0)</name>
23-
<url>http://www.gnu.org/licenses/lgpl.txt</url>
22+
<name>{{GNU LESSER GENERAL PUBLIC LICENSE, version 3 (LGPL-3.0)}}</name>
23+
<url>{{http://www.gnu.org/licenses/lgpl.txt}}</url>
2424
</license>
2525
</licenses>

0 commit comments

Comments
 (0)