Skip to content

Commit f3d3c06

Browse files
committed
Make license rules more specific
Signed-off-by: Philippe Ombredanne <[email protected]>
1 parent 640d379 commit f3d3c06

File tree

5 files changed

+13
-15
lines changed

5 files changed

+13
-15
lines changed

src/licensedcode/data/rules/elastic-license-v2_or_mongodb-sspl-1.0_1.RULE

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

1212
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
1313
* or more contributor license agreements. Licensed under the {{Elastic License}}
14-
* 2.0 and the Server Side Public License, v 1; you may not use this file except
14+
* 2.0 and the {{Server Side Public License, v 1}}; you may not use this file except
1515
* in compliance with, at your election, the Elastic License 2.0 or the Server
16-
* Side Public License, v 1.
16+
* Side Public License, v 1.
Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,7 @@
11
---
2-
license_expression: (elastic-license-v2 OR mongodb-sspl-1.0) AND apache-2.0 AND other-permissive
3-
AND elastic-license-v2
2+
license_expression: (elastic-license-v2 OR mongodb-sspl-1.0) AND apache-2.0 AND elastic-license-v2
43
is_license_notice: yes
54
relevance: 100
6-
referenced_filenames:
7-
- licenses/ELASTIC-LICENSE-2.0.txt
85
notes: See https://github.com/elastic/elasticsearch/commit/a92a647b9f17d1bddf5c707490a19482c273eda3
96
---
107

@@ -14,4 +11,4 @@ Side Public License, v 1 and the Elastic License 2.0 or (ii) an Apache License
1411
case, as noted in the applicable header. The default throughout the repository
1512
is a dual license under the Server Side Public License, v 1 and the Elastic
1613
License 2.0, unless the header specifies another license. Code that is licensed
17-
solely under the Elastic License 2.0 is found only in the x-pack folder.
14+
solely under the Elastic License 2.0 is found only in the x-pack folder.
Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
---
2-
license_expression: lgpl-2.0-plus AND cc-by-sa-3.0 AND other-copyleft
2+
license_expression: lgpl-2.0-plus OR cc-sa-1.0
33
is_license_notice: yes
44
relevance: 100
5+
minimum_coverage: 100
56
---
67

78
licenced on the terms of (inter alia)
8-
LGPL and Creative Commons ShareAlike.
9+
LGPL and Creative Commons ShareAlike.

src/licensedcode/data/rules/mit_or_cecill-c_1.RULE

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,5 @@ referenced_filenames:
66
- LICENSE-CECILL-C.txt
77
---
88

9-
available either under the terms of the MIT License (see LICENSE-MIT.txt) of the Cecill-C License (see LICENSE-CECILL-C.txt).
10-
You as the user are entitled to choose the terms under which to adopt.
9+
available either under the terms of the {{MIT License}} (see LICENSE-MIT.txt) of the {{Cecill-C License}} (see LICENSE-CECILL-C.txt).
10+
You as the user {{are entitled to choose the terms}} under which to adopt.
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
---
2-
license_expression: mpl-1.1 OR gpl-1.0-plus
2+
license_expression: mpl-1.1 OR gpl-2.0-plus
33
is_license_notice: yes
44
---
55

6-
Alternatively, the contents of this file may be used under the terms of the
7-
GNU General Public License Version 2 or later (the "GPL"), in which case
6+
{{Alternatively, the contents of this file may be used under the terms of the
7+
GNU General Public License Version 2 or later"" (the "GPL"), in which case
88
the provisions of the GPL are applicable instead of those above.
99
If you wish to allow use of your version of this file only under the terms
1010
of the GPL and not to allow others to use your version of this file
1111
under the MPL, indicate your decision by deleting the provisions above and
1212
replace them with the notice and other provisions required by the GPL.
1313
If you do not delete the provisions above, a recipient may use your version
14-
of this file under either the MPL or the GPL.
14+
of this file under either {{the MPL or the GPL}}.

0 commit comments

Comments
 (0)