-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathlicense-policy.yml
More file actions
268 lines (242 loc) · 9.15 KB
/
Copy pathlicense-policy.yml
File metadata and controls
268 lines (242 loc) · 9.15 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
# License → redistribution-policy table.
#
# SOURCE OF TRUTH: galaxyproject/foundry-pattern#4. This file is a hand-copied
# materialization of that shared decision, backing the guiding principle
# "Redistributed Content Carries Its License". The statistical-genomics-foundry
# instance keeps an identical copy — any change here is a CROSS-REPO change and
# must be mirrored there (foundry-pattern#4 open question 4 tracks the eventual
# shared-package/sync mechanism; until then, edit both by hand).
#
# Engineering policy, not legal advice. The rows encode the discipline this
# project chooses; genuinely novel or high-stakes licenses get real review
# before verbatim redistribution.
#
# A note's `license` frontmatter is either an SPDX id listed under `licenses:`
# below, or a `LicenseRef-<slug>` custom ref. An id absent from this table (or
# a missing license) resolves to the `default` row: own-words-only + defect.
#
# `allowed_modes` are the casting transform modes (the Mold ref `mode` field:
# verbatim | condense | sidecar) a ref under this license may use:
# - verbatim-ok (permissive): verbatim, condense, sidecar
# - verbatim-ok (copyleft): verbatim, sidecar (no own-words launder)
# - own-words-only: condense (no verbatim carry)
version: 1
# Global rules that apply across every row (foundry-pattern#4).
global_rules:
functional_strings_verbatim: >-
Equations, parameter/API/function/package names, numeric thresholds, and
enum values are reproduced verbatim as facts regardless of a row's policy —
facts and short functional identifiers are not copyrightable expression.
own-words-only constrains prose, never facts.
default_deny: >-
A source with no resolved license id is treated as own-words-only; asking
casting to carry a verbatim/redistributed ref without a license id is a
build error, not a warning.
own_words_not_copyleft_launder: >-
Paraphrasing covers expression, not the underlying ideas/facts. Do not use
own-words to sidestep copyleft — for GPL/LGPL carry verbatim-with-license or
do not carry it.
license_file_tracks_verbatim: >-
license_file is required whenever content is carried verbatim; not required
for own-words-only sources (no text is redistributed), which instead carry a
citation/attribution.
foundry_content_out_of_scope: >-
This table governs third-party pass-through content only. Foundry-authored
notes are covered by the root LICENSE and are never conflated with it.
# policy: verbatim-ok | own-words-only
# allowed_modes: casting transform modes permitted for this license
# license_file: true when a verbatim LICENSES/ copy must accompany the carry
# copyleft: true when the isolate-in-its-own-file obligation applies
licenses:
MIT:
name: MIT
policy: verbatim-ok
allowed_modes: [verbatim, condense, sidecar]
license_file: true
copyleft: false
obligations: attribution + license notice
Apache-2.0:
name: Apache 2.0
policy: verbatim-ok
allowed_modes: [verbatim, condense, sidecar]
license_file: true
copyleft: false
obligations: attribution + notice + preserve NOTICE
BSD-2-Clause:
name: BSD 2-Clause
policy: verbatim-ok
allowed_modes: [verbatim, condense, sidecar]
license_file: true
copyleft: false
obligations: attribution + notice
BSD-3-Clause:
name: BSD 3-Clause
policy: verbatim-ok
allowed_modes: [verbatim, condense, sidecar]
license_file: true
copyleft: false
obligations: attribution + notice + no-endorsement
AFL-3.0:
name: Academic Free License 3.0
policy: verbatim-ok
allowed_modes: [verbatim, condense, sidecar]
license_file: true
copyleft: false
obligations: attribution + notice
CC0-1.0:
name: CC0 1.0 (public domain dedication)
policy: verbatim-ok
allowed_modes: [verbatim, condense, sidecar]
license_file: true
copyleft: false
obligations: >-
none legally — public-domain dedication, no attribution or notice term. The
CC0 legalcode is still vendored on verbatim carry (uniform with every other
verbatim-ok row; license_file_tracks_verbatim); a citation is kept as courtesy
CC-BY-4.0:
name: CC BY 4.0
policy: verbatim-ok
allowed_modes: [verbatim, condense, sidecar]
license_file: true
copyleft: false
obligations: attribution (title/author/source/license/changes)
CC-BY-3.0:
name: CC BY 3.0
policy: verbatim-ok
allowed_modes: [verbatim, condense, sidecar]
license_file: true
copyleft: false
obligations: attribution (title/author/source/license/changes)
CC-BY-2.5:
name: CC BY 2.5
policy: verbatim-ok
allowed_modes: [verbatim, condense, sidecar]
license_file: true
copyleft: false
obligations: attribution (title/author/source/license/changes)
CC-BY-2.0:
name: CC BY 2.0
policy: verbatim-ok
allowed_modes: [verbatim, condense, sidecar]
license_file: true
copyleft: false
obligations: attribution (title/author/source/license/changes)
Artistic-2.0:
name: Artistic License 2.0
policy: verbatim-ok
allowed_modes: [verbatim, condense, sidecar]
license_file: true
copyleft: false
obligations: attribution + license notice; state changes to modified content
GPL-2.0-only:
name: GPL 2.0
policy: verbatim-ok
allowed_modes: [verbatim, sidecar]
license_file: true
copyleft: true
obligations: >-
notice + same-license + source availability; isolate in its own file, do
not blend into permissively-licensed prose
GPL-2.0-or-later:
name: GPL 2.0 or later
policy: verbatim-ok
allowed_modes: [verbatim, sidecar]
license_file: true
copyleft: true
obligations: >-
notice + same-license + source availability; isolate in its own file, do
not blend into permissively-licensed prose
GPL-3.0-only:
name: GPL 3.0
policy: verbatim-ok
allowed_modes: [verbatim, sidecar]
license_file: true
copyleft: true
obligations: >-
notice + same-license + source availability; isolate in its own file, do
not blend into permissively-licensed prose
LGPL-3.0-or-later:
name: LGPL 3.0 or later
policy: verbatim-ok
allowed_modes: [verbatim, sidecar]
license_file: true
copyleft: true
obligations: notice + LGPL terms; isolate in its own file
CC-BY-NC-SA-2.0:
name: CC BY-NC-SA 2.0
policy: own-words-only
allowed_modes: [condense]
license_file: false
copyleft: false
obligations: >-
attribution + citation; verbatim carry avoided so NC + share-alike do not
propagate into the KB
# CC BY-NC* family (any version): the license PERMITS non-commercial verbatim
# reproduction, but the NC condition travels with the text — a cast that embeds
# NC prose becomes an NC-encumbered cast, unusable commercially. We take
# own-words instead (functional strings stay verbatim as facts, per global
# rules). Same reasoning the CC-BY-NC-SA-2.0 row already applies to NC.
# ND ("NoDerivatives") is treated identically: a summary is itself a derivative,
# so short quotation rides on the quotation right (outside the license) — no
# reason to carry NC-encumbered prose.
CC-BY-NC-4.0:
name: CC BY-NC 4.0
policy: own-words-only
allowed_modes: [condense]
license_file: false
copyleft: false
obligations: attribution + citation; NC condition kept out of casts (own-words)
CC-BY-NC-3.0:
name: CC BY-NC 3.0
policy: own-words-only
allowed_modes: [condense]
license_file: false
copyleft: false
obligations: attribution + citation; NC condition kept out of casts (own-words)
CC-BY-NC-2.5:
name: CC BY-NC 2.5
policy: own-words-only
allowed_modes: [condense]
license_file: false
copyleft: false
obligations: attribution + citation; NC condition kept out of casts (own-words)
CC-BY-NC-2.0-UK:
name: CC BY-NC 2.0 England & Wales
policy: own-words-only
allowed_modes: [condense]
license_file: false
copyleft: false
obligations: attribution + citation; NC condition kept out of casts (own-words)
CC-BY-NC-ND-4.0:
name: CC BY-NC-ND 4.0
policy: own-words-only
allowed_modes: [condense]
license_file: false
copyleft: false
obligations: >-
attribution + citation; NC + ND kept out of casts (own-words). A summary is
a derivative, so no verbatim prose is carried under the ND term.
LicenseRef-arXiv-nonexclusive-distrib-1.0:
name: arXiv non-exclusive distribution 1.0
policy: own-words-only
allowed_modes: [condense]
license_file: false
copyleft: false
obligations: >-
citation; arXiv's grant does not give third parties a redistribution right
LicenseRef-all-rights-reserved:
name: All rights reserved / read-only manuscript
policy: own-words-only
allowed_modes: [condense]
license_file: false
copyleft: false
obligations: citation only
# Applied to any license id not listed above, and to a missing license.
default:
name: unresolved / missing
policy: own-words-only
allowed_modes: [condense]
license_file: false
copyleft: false
defect: true
obligations: must be resolved to a real id before any verbatim carry