Skip to content

Commit ac28196

Browse files
Add required phrases for mpl rules automatically
Signed-off-by: Ayan Sinha Mahapatra <ayansmahapatra@gmail.com>
1 parent 4718fed commit ac28196

File tree

126 files changed

+249
-215
lines changed

Some content is hidden

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

126 files changed

+249
-215
lines changed
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
---
22
license_expression: mpl-1.1
33
is_license_tag: yes
4+
is_required_phrase: yes
45
relevance: 100
56
---
67

7-
License: mpl-1.1+
8+
License: {{mpl-1.1+}}

src/licensedcode/data/rules/maven_pom_11.RULE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@ ignorable_urls:
66
- http://www.opensource.org/licenses/mozilla1.1
77
---
88

9-
License: Mozilla Public License 1.1 (http://www.opensource.org/licenses/mozilla1.1)
9+
License: {{Mozilla Public License 1.1}} (http://www.opensource.org/licenses/mozilla1.1)

src/licensedcode/data/rules/maven_pom_20.RULE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@ ignorable_urls:
55
- http://www.mozilla.org/MPL/MPL-1.1.html
66
---
77

8-
License: Mozilla Public License 1.1 (MPL 1.1) (http://www.mozilla.org/MPL/MPL-1.1.html)
8+
License: {{Mozilla Public License 1.1}} ({{MPL 1.1}}) (http://www.mozilla.org/MPL/MPL-1.1.html)

src/licensedcode/data/rules/mpl-1.1_1.RULE

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ ignorable_urls:
55
- http://www.mozilla.org/MPL/
66
---
77

8-
MPL 1.1
8+
{{MPL 1.1}}
99

10-
The contents of this file are subject to the Mozilla Public License
10+
The contents of this file are subject to the {{Mozilla Public License}}
1111
Version 11 \(the ("License")|("MPL")\); you may not use this file except in
1212
compliance with the (License)|(MPL) You may obtain a copy of the (License)|(MPL) at
1313
http://www.mozilla.org/MPL/

src/licensedcode/data/rules/mpl-1.1_14.RULE

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,14 @@ ignorable_urls:
66
- http://www.mozilla.org/MPL/
77
---
88

9-
licensed under the Mozilla Public License 1.1
9+
{{licensed under the Mozilla Public License}} 1.1
1010
Authors and Copyright are as described below:
1111

1212
The Initial Developer of the Original Code is
1313

1414

15-
MOZILLA PUBLIC LICENSE
16-
Version 1.1
15+
{{MOZILLA PUBLIC LICENSE
16+
Version 1.1}}
1717

1818
---------------
1919

@@ -311,7 +311,7 @@ Authors and Copyright are as described below:
311311
"MPL", "NPL" or any confusingly similar phrase do not appear in your
312312
license (except to note that your license differs from this License)
313313
and (b) otherwise make it clear that Your version of the license
314-
contains terms which differ from the Mozilla Public License and
314+
contains terms which differ from the {{Mozilla Public License}} and
315315
Netscape Public License. (Filling in the name of the Initial
316316
Developer, Original Code or Contributor in the notice described in
317317
Exhibit A shall not of themselves be deemed to be modifications of
@@ -446,10 +446,10 @@ Authors and Copyright are as described below:
446446
Your choice of the NPL or the alternative licenses, if any, specified
447447
by the Initial Developer in the file described in Exhibit A.
448448

449-
EXHIBIT A -Mozilla Public License.
449+
EXHIBIT A -{{Mozilla Public License}}.
450450

451-
``The contents of this file are subject to the Mozilla Public License
452-
Version 1.1 (the "License"); you may not use this file except in
451+
``The contents of this file are subject to the {{Mozilla Public License
452+
Version 1.1}} (the "License"); you may not use this file except in
453453
compliance with the License. You may obtain a copy of the License at
454454
http://www.mozilla.org/MPL/
455455

src/licensedcode/data/rules/mpl-1.1_15.RULE

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ is_license_text: yes
44
notes: MPL 1.1 alternative
55
---
66

7-
Mozilla Public License Version 1.1
7+
{{Mozilla Public License Version 1.1}}
88
1. Definitions.
99
1.0.1. "Commercial Use"
1010
means distribution or otherwise making the Covered Code available to a third party.
@@ -97,7 +97,7 @@ Netscape Communications Corporation ("Netscape") may publish revised and/or new
9797
Once Covered Code has been published under a particular version of the License, You may always continue to use it under the terms of that version. You may also choose to use such Covered Code under the terms of any subsequent version of the License published by Netscape. No one other than Netscape has the right to modify the terms applicable to Covered Code created under this License.
9898

9999
6.3. Derivative Works
100-
If You create or use a modified version of this License (which you may only do in order to apply it to code which is not already Covered Code governed by this License), You must (a) rename Your license so that the phrases "Mozilla", "MOZILLAPL", "MOZPL", "Netscape", "MPL", "NPL" or any confusingly similar phrase do not appear in your license (except to note that your license differs from this License) and (b) otherwise make it clear that Your version of the license contains terms which differ from the Mozilla Public License and Netscape Public License. (Filling in the name of the Initial Developer, Original Code or Contributor in the notice described in Exhibit A shall not of themselves be deemed to be modifications of this License.)
100+
If You create or use a modified version of this License (which you may only do in order to apply it to code which is not already Covered Code governed by this License), You must (a) rename Your license so that the phrases "Mozilla", "MOZILLAPL", "MOZPL", "Netscape", "MPL", "NPL" or any confusingly similar phrase do not appear in your license (except to note that your license differs from this License) and (b) otherwise make it clear that Your version of the license contains terms which differ from the {{Mozilla Public License}} and Netscape Public License. (Filling in the name of the Initial Developer, Original Code or Contributor in the notice described in Exhibit A shall not of themselves be deemed to be modifications of this License.)
101101

102102
7. Disclaimer of warranty
103103
Covered code is provided under this license on an "as is" basis, without warranty of any kind, either expressed or implied, including, without limitation, warranties that the covered code is free of defects, merchantable, fit for a particular purpose or non-infringing. The entire risk as to the quality and performance of the covered code is with you. Should any covered code prove defective in any respect, you (not the initial developer or any other contributor) assume the cost of any necessary servicing, repair or correction. This disclaimer of warranty constitutes an essential part of this license. No use of any covered code is authorized hereunder except under this disclaimer.
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
---
22
license_expression: mpl-1.1
33
is_license_reference: yes
4+
is_required_phrase: yes
45
relevance: 100
56
minimum_coverage: 100
67
---
78

8-
Mozilla Public License version 1.1
9+
{{Mozilla Public License}} version 1.1
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
---
22
license_expression: mpl-1.1
33
is_license_reference: yes
4+
is_required_phrase: yes
45
relevance: 100
56
---
67

7-
Mozilla Public License 1.1
8+
{{Mozilla Public License}} 1.1

src/licensedcode/data/rules/mpl-1.1_18.RULE

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ ignorable_urls:
55
- http://www.mozilla.org/MPL/
66
---
77

8-
MOZILLA PUBLIC LICENSE
9-
Version 1.1
8+
{{MOZILLA PUBLIC LICENSE
9+
Version 1.1}}
1010

1111
---------------
1212

@@ -304,7 +304,7 @@ MOZILLA PUBLIC LICENSE
304304
"MPL", "NPL" or any confusingly similar phrase do not appear in your
305305
license (except to note that your license differs from this License)
306306
and (b) otherwise make it clear that Your version of the license
307-
contains terms which differ from the Mozilla Public License and
307+
contains terms which differ from the {{Mozilla Public License}} and
308308
Netscape Public License. (Filling in the name of the Initial
309309
Developer, Original Code or Contributor in the notice described in
310310
Exhibit A shall not of themselves be deemed to be modifications of
@@ -439,10 +439,10 @@ MOZILLA PUBLIC LICENSE
439439
Your choice of the MPL or the alternative licenses, if any, specified
440440
by the Initial Developer in the file described in Exhibit A.
441441

442-
EXHIBIT A -Mozilla Public License.
442+
EXHIBIT A -{{Mozilla Public License}}.
443443

444-
``The contents of this file are subject to the Mozilla Public License
445-
Version 1.1 (the "License"); you may not use this file except in
444+
``The contents of this file are subject to the {{Mozilla Public License
445+
Version 1.1}} (the "License"); you may not use this file except in
446446
compliance with the License. You may obtain a copy of the License at
447447
http://www.mozilla.org/MPL/
448448

src/licensedcode/data/rules/mpl-1.1_19.RULE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ ignorable_urls:
66
- http://www.mozilla.org/MPL/
77
---
88

9-
The contents of this file are subject to the Mozilla Public License Version 1.1
9+
The contents of this file are subject to the {{Mozilla Public License Version 1.1}}
1010
(the "License");
1111
you may not use this file except in compliance with the License.
1212
You may obtain a copy of the License at http://www.mozilla.org/MPL/

0 commit comments

Comments
 (0)