Request for Changes-84: Change license to Apache v2.0
Contents
[Request for Changes - 84] Change license to Apache v2.0
Status
- Author: Manuel Grizonnet
- Additional Contributors : Sebastien Dinot
- Submitted on 01.03.2017
- Proposed target release 6.0
- Adopted : +4 (Victor, Guillaume, Rémi, Julien)
- Migration scripts : Migration scripts
- Merged : d9e0e2adfeca1e34df868da8550cc1915bd128b9
Summary
The purpose of this RFC is to abandon the strong copyleft license (CeCILL v2.0) under which OTB have been released up to now in favour of a permissive license (Apache v2.0).
Rationale
The goal is to change of license for OTB to adopt the Apache v2.0 license. The rational for this change is as follows :
For some time now, the OTB community is considering a licensing change for OTB to move from CeCILL v2 to the Apache v2 license.
Copyleft is a very good protection for open-source software in general, as it ensures that it will remain open. But in the current context where OTB can be useful, copyleft may also restrict the use of the library. With hindsight, we observed that OTB was considered by many institutions and companies as part of their project, and the choice of its integration in their solutions could sometimes not succeed because they (or their clients or partners) wanted to distribute their solutions, integrating OTB under different terms.
This has sometimes caused individual and expensive schemes to include OTB in projects and still respect the license requirements. We've tried to convince our partners that copyleft is not "dangerous", but we note with regret that these arguments do not work and that the OTB thus not meet the public that it deserves. So we, from a practical standpoint, think that a more permissive license could only increase interest in the OTB and help its development and also the development of the community of contributors.
This licensing change also means better management of contributors with the implementation of specific documents to respect the rights of the latter.
With a growing number of contributions, it has been now mandatory to improve the management of contributor. For example in the case of a change made necessary by a license update, we would need to seek permission from each contributor (thing still possible at this stage but would quickly become impossible if one of them simply disappears).
Two options were open to us regarding the improvement of contributions management:
- Request an assignment of copyright, in which case the project owner will own the economic rights of authors and will be able to take further action on the distribution of the contribution, or
- Ask a wide license on the contribution while leaving the copyright to the contributor.
We prefer the second option because there is no reason that contributors resign their copyrights.
A better contribution management for OTB will be of course better for contributors but also for potential users as it will reassures that the software contains no infringing code.
This licensing change is also part of the initiative to make the project governance more open to any potential contributors following the establishment of the OTB steering committee in March 2015.
Note that moving to the Apache license has no impact on users which contributes code as remote modules : they will not have to relicense or follow the new OTB license. Indeed the modular architecture of OTB allows to integrate external modules with different (open-source) licenses as OTB core (GPL for instance). Also note that it is already the case for the OTB standalone binary package distributed on www.orfeo-toolbox.org, since it includes the GPL FFTW module in ITK : as a consequence the full OTB standalone binary package license is GPL and not CeCILL V2.
The Requests for Comments-12: Changing licence to Apache v2.0 gives more details about the reason to propose changing OTB license to Apache v2.
Implementation details
License migration will be apply to all the source code and will be automated.
Helper scripts which will allow to perform the migration are available in otb-devutils repository
Classes and files
List impacted modules, classes and files, and explain the changes that were made.
Consider grouping changes by module names if several modules are impacted.
Give insight on important implementation details, and on all API changes (add link to specific changesets if possible).
Applications
NA
Tests
NA
Documentation
List documentation modification that were made (doxygen, example, software guide, application documentation, cookbook):
- FIXME
Additional notes
Operational mode:
Choose a working directory in which two repositories will be cloned:
- the first (otb-devutils) by you,
- the second (otb) by the migration script.
Let's say that this working directory is symbolised by <working dir>. The commands that must be run are:
$ cd <working dir> $ git clone https://git@git.orfeo-toolbox.org/git/otb-devutils.git $ cd otb-devutils/LicenseMigration/ $ ./migrate.sh <working dir>
For instance, if the selected working directory is ~/tmp, the above commands become:
$ cd ~/tmp $ git clone https://git@git.orfeo-toolbox.org/git/otb-devutils.git $ cd otb-devutils/LicenseMigration/ $ ./migrate.sh ~/tmp
The script creates a local feature branch named apache-license-migration and makes various adjustements inside the files and in the source tree, among which headers and files substitutions, to implement the license migration. Every stage in the migration process is concluded by a thematic commit but, deliberately, the feature branch is not pushed in the public repository at the end of the script. Like this, this migration process can be reviewed, adjusted and played again as many times as required.