Skip to content

Commit b506dea

Browse files
committed
enh: allow MIT for the Dockerfiles, add mindboggle to NOTICE example
1 parent 541939d commit b506dea

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

docs/community/licensing.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@
33
All software packages and tools under the *NiPreps* umbrella must be licensed under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0) by default, unless otherwise stated.
44
The authors of new *NiPreps* packages may not abide by this general rule of thumb if necessary and/or sufficiently justified (e.g., the source code is actually derived from a product licensed under a copyleft license).
55

6+
Containerized Images bundling *NiPreps* components and their dependencies can be distributed under the [MIT License](https://choosealicense.com/licenses/mit/).
7+
In such a case, the attribution notice of the MIT license must be present in the header comment of the container image bootstraping file (for instance, the so-called `Dockerfile`).
8+
This different licensing must be also indicated in the `NOTICE` file of the corresponding *NiPreps* components bundled within the image.
9+
610
Data (distributed within the test data of packages or through the [`nipreps-data` GitHub organization](https://github.com/nipreps-data)) will preferably be distributed under the [Creative Commons Zero v1.0 Universal](https://choosealicense.com/licenses/cc0-1.0/).
711

812
Under no circumstances any *NiPreps* software or data will be made publicly available unlicensed.
@@ -151,9 +155,10 @@ Generally, works using our *NiPreps* just need to follow the citation guidelines
151155
## Licensing of Docker and Singularity images
152156

153157
Container images redistribute copies of *NiPreps* alongside their third-party dependencies, all of them bundled in the image.
154-
That means that the text of a `NOTICE` file must be shown to the user.
158+
If the applicable license is Apache-2.0, then the text of a `NOTICE` file must be shown to the user.
155159
All *NiPreps* must insert a `NOTICE` file into their containerized distributions and print its contents out in the command line output, as well as in the visual reports.
156160
This `NOTICE` file for containers will be placed in the `/.docker/NOTICE` path of the repository, and this file must replace the `/NOTICE` file (if it exists) at image building time.
161+
Alternatively, and if the corresponding *NiPreps Developers* consider that the Apache-2.0 imposes too onerous requirements for the container image distribution, the source code of such images (e.g., `Dockerfile`) can be licensed under the MIT license.
157162

158163
!!! example "Example `NOTICE` file for *fMRIPrep*"
159164

@@ -258,6 +263,11 @@ This `NOTICE` file for containers will be placed in the `/.docker/NOTICE` path o
258263
the BSD 3-clause license terms.
259264
Copyright 2009-2013 ConsortiumOfANTS.
260265

266+
sMRIPrep, a component of this bundle, contains code ultimately derived from
267+
Mindboggle <version-placeholder>, which is available under
268+
the Apache License 2.0.
269+
Copyright 2016, Mindboggle team (http://mindboggle.info)
270+
261271
fMRIPrep contains code ultimately derived from the epidewarp.fsl
262272
script (https://www.nmr.mgh.harvard.edu/~greve/fbirn/b0/epidewarp.fsl)
263273
by Doug Greve, Dave Tuch, Tom Liu, and Bryon Mueller with generous

0 commit comments

Comments
 (0)