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
+16-16Lines changed: 16 additions & 16 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -31,15 +31,15 @@ To ensure that when matching licenses and exceptions to the SPDX License List, t
31
31
32
32
### Guideline: verbatim text
33
33
34
-
License and exception text should be the same verbatim text (except for the guidelines stated here). The text should be in the same order, e.g., differently ordered paragraphs would not be considered a match.
34
+
License and exception text shall be the same verbatim text (except for the guidelines stated here). The text shall be in the same order, e.g., differently ordered paragraphs shall not be considered a match.
35
35
36
36
### Guideline: no additional text
37
37
38
-
Matched text should only include that found in the vetted license or exception text. Where a license or exception found includes additional text or clauses, this should not be considered a match.
38
+
Matched text shall only include that found in the vetted license or exception text. Where a license or exception found includes additional text or clauses, this shall not be considered a match.
39
39
40
40
### Guideline: replaceable text
41
41
42
-
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.
42
+
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 shall be a positive license match.
43
43
44
44
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.
45
45
This rule also applies to text-matching in official license headers,
@@ -59,9 +59,9 @@ The original replaceable text appears on the SPDX License List webpage in red te
59
59
60
60
### Guideline: omittable text
61
61
62
-
Some licenses have text that can simply be ignored. The intent here is to avoid the inclusion of certain text that is superfluous or irrelevant in regard to the substantive license text resulting in a non-match where the license is otherwise an exact match (e.g., directions on how to apply the license or other similar exhibits). In these cases, there should be a positive license match.
62
+
Some licenses have text that can simply be ignored. The intent here is to avoid the inclusion of certain text that is superfluous or irrelevant in regard to the substantive license text resulting in a non-match where the license is otherwise an exact match (e.g., directions on how to apply the license or other similar exhibits). In these cases, there shall be a positive license match.
63
63
64
-
The license should be considered a match if the text indicated is present and matches OR the text indicated is missing altogether.
64
+
The license shall be considered a match if the text indicated is present and matches, or the text indicated is missing altogether.
65
65
66
66
The following XML tag is used to implement this guideline: `<optional>`
67
67
@@ -78,7 +78,7 @@ To avoid the possibility of a non-match due to different spacing of words, line
78
78
79
79
### Guideline
80
80
81
-
All whitespace should be treated as a single blank space.
81
+
All whitespace shall be treated as a single blank space.
82
82
83
83
XML files do not require specific markup to implement this guideline.
84
84
@@ -90,7 +90,7 @@ To avoid the possibility of a non-match due to lowercase or uppercase letters in
90
90
91
91
### Guideline
92
92
93
-
All uppercase and lowercase letters should be treated as lowercase letters.
93
+
All uppercase and lowercase letters shall be treated as lowercase letters.
94
94
95
95
XML files do not require specific markup to implement this guideline.
96
96
@@ -104,15 +104,15 @@ XML files do not require specific markup to implement this guideline, unless to
104
104
105
105
### Guideline: punctuation
106
106
107
-
Punctuation should be matched, unless otherwise stated in these guidelines or unless specific markup is added.
107
+
Punctuation shall be matched, unless otherwise stated in these guidelines or unless specific markup is added.
108
108
109
109
### Guideline: hyphens, dashes
110
110
111
-
Any hyphen, dash, en dash, em dash, or other variation should be considered equivalent.
111
+
Any hyphen, dash, en dash, em dash, or other variation shall be considered equivalent.
112
112
113
113
### Guideline: quotes
114
114
115
-
Any variation of quotations (single, double, curly, etc.) should be considered equivalent.
115
+
Any variation of quotations (single, double, curly, etc.) shall be considered equivalent.
116
116
117
117
## Code comment indicators or separators
118
118
@@ -125,13 +125,13 @@ e.g., `---`, `===`, `___`, or `***`.
125
125
126
126
### Guideline
127
127
128
-
Any kind of code comment indicator or prefix which occurs at the beginning of each line in a matchable section should be ignored for matching purposes.
128
+
Any kind of code comment indicator or prefix which occurs at the beginning of each line in a matchable section shall be ignored for matching purposes.
129
129
130
130
XML files do not require specific markup to implement this guideline.
131
131
132
132
### Guideline
133
133
134
-
A non-letter character repeated 3 or more times to establish a visual separation should be ignored for matching purposes.
134
+
A non-letter character repeated 3 or more times to establish a visual separation shall be ignored for matching purposes.
135
135
136
136
XML files do not require specific markup to implement this guideline.
XML files do not require specific markup to implement this guideline.
177
177
The copyright symbol is part of the copyright notice,
@@ -181,7 +181,7 @@ see implementation of that guideline in [Copyright notice](#copyright-notice).
181
181
182
182
### Purpose
183
183
184
-
To avoid a license mismatch merely because the copyright notice (usually found above the actual license or exception text) is different. The copyright notice is important information to be recorded elsewhere in the SPDX document, but for the purposes of matching a license to the SPDX License List, it should be ignored because it is not part of the substantive license text.
184
+
To avoid a license mismatch merely because the copyright notice (usually found above the actual license or exception text) is different. The copyright notice is important information to be recorded elsewhere in the SPDX document, but for the purposes of matching a license to the SPDX License List, it shall be ignored because it is not part of the substantive license text.
185
185
186
186
### Guideline
187
187
@@ -226,7 +226,7 @@ To avoid a license mismatch due to a difference in a hyperlink protocol (e.g. HT
226
226
227
227
### Guideline
228
228
229
-
`http://` and `https://`should be considered equivalent.
229
+
`http://` and `https://`shall be considered equivalent.
230
230
231
231
XML files do not require specific markup to implement this guideline.
232
232
@@ -260,7 +260,7 @@ A legacy template is composed of text with zero or more rules embedded in it.
260
260
A rule is a variable section of a license wrapped between double angle brackets
261
261
`<<>>` and is composed of 4 fields.
262
262
Each field is separated with a semi-colon `;`.
263
-
Rules cannot be embedded within other rules.
263
+
Rules shall not be embedded within other rules.
264
264
Rule fields begin with a case sensitive tag followed by an equal sign `=`.
0 commit comments