|
3 | 3 | 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.
|
4 | 4 | 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).
|
5 | 5 |
|
| 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 | + |
6 | 10 | 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/).
|
7 | 11 |
|
8 | 12 | 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
|
151 | 155 | ## Licensing of Docker and Singularity images
|
152 | 156 |
|
153 | 157 | 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. |
155 | 159 | 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.
|
156 | 160 | 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. |
157 | 162 |
|
158 | 163 | !!! example "Example `NOTICE` file for *fMRIPrep*"
|
159 | 164 |
|
@@ -258,6 +263,11 @@ This `NOTICE` file for containers will be placed in the `/.docker/NOTICE` path o
|
258 | 263 | the BSD 3-clause license terms.
|
259 | 264 | Copyright 2009-2013 ConsortiumOfANTS.
|
260 | 265 |
|
| 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 | + |
261 | 271 | fMRIPrep contains code ultimately derived from the epidewarp.fsl
|
262 | 272 | script (https://www.nmr.mgh.harvard.edu/~greve/fbirn/b0/epidewarp.fsl)
|
263 | 273 | by Doug Greve, Dave Tuch, Tom Liu, and Bryon Mueller with generous
|
|
0 commit comments