You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: docs/annexes/license-matching-guidelines-and-templates.md
+23-10
Original file line number
Diff line number
Diff line change
@@ -1,8 +1,10 @@
1
-
# Annex C License List Matching Guidelines and Templates (Informative)
1
+
# Annex C SPDX License List Matching Guidelines and Templates (Informative)
2
2
3
3
## C.1 SPDX license list matching guidelines <aname="C.1"></a>
4
4
5
-
The SPDX License List Matching Guidelines provide guidelines to be used for the purposes of matching licenses and license exceptions against those included on the [SPDX License List](https://spdx.org/licenses/). There is no intent here to make a judgment or interpretation, but merely to ensure that when one SPDX user identifies a license as "BSD-3-Clause," for example, it is indeed the same license as what someone else identifies as "BSD-3-Clause" and the same license as what is listed on the SPDX License List. As noted here, some of the matching guidelines are implemented in the XML files of the SPDX License List repository.
5
+
The SPDX License List Matching Guidelines provide guidelines to be used for the purposes of matching licenses and license exceptions against those included on the [SPDX License List](https://spdx.org/licenses/).
6
+
There is no intent here to make a judgment or interpretation, but merely to ensure that when one SPDX user identifies a license as "BSD-3-Clause," for example, it is indeed the same license as what someone else identifies as "BSD-3-Clause" and the same license as what is listed on the SPDX License List.
7
+
As noted here, some of the matching guidelines are implemented in the XML files of the SPDX License List repository.
6
8
7
9
## C.2 How these guidelines are applied <aname="C.2"></a>
8
10
@@ -34,7 +36,9 @@ Matched text should only include that found in the vetted license or exception t
34
36
35
37
Some licenses include text that refers to the specific copyright holder or author, yet the rest of the license is exactly the same. The intent here is to avoid the inclusion of a specific name in one part of the license resulting in a non-match where the license is otherwise an exact match to the legally substantive terms (e.g., the third clause and disclaimer in the BSD licenses, or the third, fourth, and fifth clauses of Apache-1.1). In these cases, there should be a positive license match.
36
38
37
-
The text indicated as such can be replaced with similar values (e.g., a different name or generic term; different date) and still be considered a positive match. This rule also applies to text-matching in official license headers (see [Guideline: official license headers](#C.2.2)).
39
+
The text indicated as such can be replaced with similar values (e.g., a different name or generic term; different date) and still be considered a positive match.
40
+
This rule also applies to text-matching in official license headers
41
+
(see [Guideline: official license headers](#C.2.2)).
38
42
39
43
The following XML tag is used to implement this guideline. `<alt>` with 2 attributes:
40
44
@@ -43,7 +47,8 @@ The following XML tag is used to implement this guideline. `<alt>` with 2 attrib
43
47
44
48
The original text is enclosed within the beginning and ending alt tags.
45
49
46
-
For example: `<alt match="(?i:copyright.{0,200})." name="copyright1">Copyright Linux Foundation</alt>`
50
+
For example:
51
+
`<alt match="(?i:copyright.{0,200})." name="copyright1">Copyright Linux Foundation</alt>`
47
52
48
53
The original replaceable text appears on the SPDX License List webpage in red text.
49
54
@@ -55,7 +60,8 @@ The license should be considered a match if the text indicated is present and ma
55
60
56
61
The following XML tag is used to implement this guideline: `<optional>`
57
62
58
-
For example: `<optional>Apache License Version 2.0, January 2004 http://www.apache.org/licenses/</optional>`
63
+
For example:
64
+
`<optional>Apache License Version 2.0, January 2004 http://www.apache.org/licenses/</optional>`
59
65
60
66
Omittable text appears on the SPDX License List webpage in blue text.
61
67
@@ -107,7 +113,10 @@ Any variation of quotations (single, double, curly, etc.) should be considered e
107
113
108
114
### C.7.1 Purpose <aname="C.7.1"></a>
109
115
110
-
To avoid the possibility of a non-match due to the existence or absence of code comment indicators placed within the license text, e.g., at the start of each line of text, or repetitive characters to establish a separation of text, e.g., `---`, `===`, `___`, or `***`.
116
+
To avoid the possibility of a non-match due to the existence or absence of code
117
+
comment indicators placed within the license text, e.g., at the start of each
118
+
line of text, or repetitive characters to establish a separation of text,
119
+
e.g., `---`, `===`, `___`, or `***`.
111
120
112
121
### C.7.2 Guideline <aname="C.7.2"></a>
113
122
@@ -143,7 +152,9 @@ English uses different spelling for some words. By identifying the spelling vari
143
152
144
153
### C.9.2 Guideline <aname="C.9.2"></a>
145
154
146
-
The words in each line of the text file available at the [equivalent words list](https://spdx.org/licenses/equivalentwords.txt) are considered equivalent and interchangeable.
155
+
The words in each line of the text file available at the
156
+
[equivalent words list](https://spdx.org/licenses/equivalentwords.txt)
157
+
are considered equivalent and interchangeable.
147
158
148
159
XML files do not require specific markup to implement this guideline.
XML files do not require specific markup to implement this guideline. The copyright symbol is part of the copyright notice, see implementation of that guideline below.
171
+
XML files do not require specific markup to implement this guideline.
172
+
The copyright symbol is part of the copyright notice,
173
+
see implementation of that guideline in [Copyright notice](#C.11).
161
174
162
175
## C.11 Copyright notice <aname="C.11"></a>
163
176
@@ -198,7 +211,7 @@ To avoid a license mismatch merely because extraneous text that appears at the e
198
211
Ignore any text that occurs after the obvious end of the license and does not include substantive text of the license, for example: text that occurs after a statement such as, "END OF TERMS AND CONDITIONS," or an exhibit or appendix that includes an example or instructions on to how to apply the license to your code. Do not apply this guideline or ignore text that is comprised of additional license terms (e.g., permitted additional terms under GPL-3.0, section 7).
199
212
200
213
To implement this guideline, use the `<optional>` XML element tag as described
201
-
in [section C.3.5](#C.3.5).
214
+
in [Guideline: omittable text](#C.3.5).
202
215
203
216
## C.14 HTTP Protocol <aname="C.14"></a>
204
217
@@ -241,7 +254,7 @@ Rule fields begin with a case sensitive tag followed by an equal sign `=`.
241
254
Rule fields:
242
255
243
256
-**type:** indicates whether the text is replaceable or omittable as per
244
-
[Substantive Text section](#C.3) in the Matching Guidelines.
257
+
[Substantive text guidelines](#C.3).
245
258
- Indicated by `<<var; . . . >>` or
246
259
- Indicated by `<<beginOptional; . . .>>` and `<<endOptional>>` respectively.
0 commit comments