annotate Sphinx/source/faq/licensing.rst @ 1023:5d4701d8fe28

replaced osimis/orthanc by orthancteam/orthanc
author Alain Mazy <am@osimis.io>
date Thu, 01 Feb 2024 15:09:48 +0100
parents 3b62529bfe91
children 6814e5adb789
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
199
3fd71c385391 cla and licensing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1 .. _licensing:
3fd71c385391 cla and licensing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
2
3fd71c385391 cla and licensing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
3
3fd71c385391 cla and licensing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
4 Licensing of the Orthanc ecosystem
3fd71c385391 cla and licensing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
5 ==================================
3fd71c385391 cla and licensing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
6
3fd71c385391 cla and licensing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
7 .. contents::
3fd71c385391 cla and licensing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
8
3fd71c385391 cla and licensing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
9
3fd71c385391 cla and licensing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
10 Philosophy
3fd71c385391 cla and licensing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
11 ----------
3fd71c385391 cla and licensing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
12
3fd71c385391 cla and licensing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
13 The objectives of the Orthanc ecosystem is to share technical
201
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 200
diff changeset
14 knowledge about :ref:`DICOM <dicom-guide>`, to build a consistent
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 200
diff changeset
15 platform for developing medical imaging software, and to foster
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 200
diff changeset
16 scientific collaborations in medical imaging by subscribing to the
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 200
diff changeset
17 `open-science paradigm
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 200
diff changeset
18 <https://en.wikipedia.org/wiki/Open_science>`__. To this end, Orthanc
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 200
diff changeset
19 is provided as free and open-source software to the benefit of the
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 200
diff changeset
20 worldwide community of medical imaging.
199
3fd71c385391 cla and licensing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
21
3fd71c385391 cla and licensing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
22 In order to support this objective of global knowledge sharing, the
3fd71c385391 cla and licensing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
23 Orthanc project enforces reciprocity. If someone finds Orthanc useful
3fd71c385391 cla and licensing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
24 to her academic work or to her business, the community of medical
3fd71c385391 cla and licensing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
25 imaging should gain an advantage from this use by enlarging the
3fd71c385391 cla and licensing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
26 knowledge base. This virtuous circle guarantees the fact that Orthanc
3fd71c385391 cla and licensing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
27 will be developed in a sustainable way in the long-term, to the
3fd71c385391 cla and licensing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
28 benefit of all stakeholders. Predatory behaviors should be prevented,
201
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 200
diff changeset
29 while preserving the freedoms of the users of Orthanc, including the
199
3fd71c385391 cla and licensing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
30 commercial uses.
3fd71c385391 cla and licensing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
31
3fd71c385391 cla and licensing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
32 According to this philosophy, the University Hospital of Liège decided
201
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 200
diff changeset
33 to release the Orthanc ecosystem under the `GPLv3+ license
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 200
diff changeset
34 <https://www.gnu.org/licenses/gpl-3.0.en.html>`__ in 2012. The GPL is
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 200
diff changeset
35 a strong copyleft license that is recognized worldwide, and that is
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 200
diff changeset
36 designed to enforce reciprocity.
199
3fd71c385391 cla and licensing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
37
3fd71c385391 cla and licensing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
38 As Orthanc is lightweight and designed for Web applications and for
3fd71c385391 cla and licensing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
39 sharing medical images over Internet, it has been quickly deployed on
3fd71c385391 cla and licensing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
40 cloud platforms in order to host large amount of data. Orthanc
3fd71c385391 cla and licensing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
41 considers this use as very legitimate, for instance for scientific
3fd71c385391 cla and licensing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
42 purpose (think of open-data databases) or for societal needs (think of
3fd71c385391 cla and licensing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
43 teleradiology platforms in developing countries). Unfortunately, the
3fd71c385391 cla and licensing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
44 GPL does not protect from predatory commercial behaviors over cloud
3fd71c385391 cla and licensing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
45 platforms because of the so-called "`ASP loophole
201
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 200
diff changeset
46 <https://en.wikipedia.org/wiki/GNU_Affero_General_Public_License>`__",
525
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 524
diff changeset
47 that does not enforce derived versions of a free and open-source
201
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 200
diff changeset
48 software running on a server to be given back to the community.
199
3fd71c385391 cla and licensing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
49
3fd71c385391 cla and licensing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
50 For this reason, the plugins that provide scalability-related or
3fd71c385391 cla and licensing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
51 cloud-related features (for instance the :ref:`PostgreSQL
201
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 200
diff changeset
52 <postgresql>` and :ref:`Web viewer <webviewer>` plugins that are
199
3fd71c385391 cla and licensing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
53 necessary for Web applications distributed at a large scale) were
201
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 200
diff changeset
54 released under the stronger `AGPLv3+ licence
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 200
diff changeset
55 <https://www.gnu.org/licenses/why-affero-gpl.en.html>`__.
199
3fd71c385391 cla and licensing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
56 This license protects the community of medical imaging by ensuring
3fd71c385391 cla and licensing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
57 that the features included in Orthanc instances running in remote
3fd71c385391 cla and licensing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
58 servers are publicly available as well.
3fd71c385391 cla and licensing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
59
3fd71c385391 cla and licensing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
60
3fd71c385391 cla and licensing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
61 Guidelines
3fd71c385391 cla and licensing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
62 ----------
3fd71c385391 cla and licensing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
63
3fd71c385391 cla and licensing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
64 Over the years, it was observed that people fear the use of GPL and
3fd71c385391 cla and licensing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
65 AGPL licenses, that are wrongly considered as preventing commercial
3fd71c385391 cla and licensing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
66 uses. This is most often a wrong assumption, given that the Orthanc
200
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 199
diff changeset
67 server is a standalone executable, not a software library.
199
3fd71c385391 cla and licensing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
68
3fd71c385391 cla and licensing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
69 The following table provides a simple summary of the most common
523
0e2427a99551 clarification
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 519
diff changeset
70 situations, and indicates whether the use is **accepted ("Yes"),
533
610e6be26a71 some clarification about dual licensing
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 525
diff changeset
71 forbidden ("No"), or restricted ("Dual license")**:
199
3fd71c385391 cla and licensing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
72
3fd71c385391 cla and licensing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
73 +-----------------------------------------------------+--------------------------------------------------------------------------------------------+
201
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 200
diff changeset
74 | | Mode of distribution of the third-party system, or of the third-party plugin/script |
199
3fd71c385391 cla and licensing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
75 +-----------------------------------------------------+---------------+-------+--------+--------------+------------------------+-------------------+
201
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 200
diff changeset
76 | Usage of the Orthanc ecosystem | Permissive | GPLv3 | AGPLv3 | Internal use | Proprietary software | Proprietary cloud |
353
0122c668f4ec python licensing
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 204
diff changeset
77 | | (MIT, BSD, | | | | distributed to clients | platform or Web |
0122c668f4ec python licensing
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 204
diff changeset
78 | | Apache...) | | | | | portal |
199
3fd71c385391 cla and licensing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
79 +=====================================================+===============+=======+========+==============+========================+===================+
3fd71c385391 cla and licensing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
80 | Using Orthanc as such, even if some AGPL-licensed | N/A | N/A | N/A | Yes | Yes | Yes |
3fd71c385391 cla and licensing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
81 | plugin is installed | | | | | | |
3fd71c385391 cla and licensing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
82 +-----------------------------------------------------+---------------+-------+--------+--------------+------------------------+-------------------+
533
610e6be26a71 some clarification about dual licensing
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 525
diff changeset
83 | Calling Orthanc from a third-party system | Yes | Yes | Yes | Yes | Yes | Yes |
199
3fd71c385391 cla and licensing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
84 | (using REST API or DICOM protocol), even if some | | | | | | |
3fd71c385391 cla and licensing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
85 | AGPL-licensed plugin is installed | | | | | | |
3fd71c385391 cla and licensing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
86 +-----------------------------------------------------+---------------+-------+--------+--------------+------------------------+-------------------+
533
610e6be26a71 some clarification about dual licensing
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 525
diff changeset
87 | Creating a :ref:`C/C++ plugin <plugins>`, | | | | | | |
999
3b62529bfe91 added java plugin
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 991
diff changeset
88 | creating a :ref:`Lua script <lua>`, | | | | | | |
3b62529bfe91 added java plugin
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 991
diff changeset
89 | creating a :ref:`Python plugin <python-plugin>`, or | | | | | | |
3b62529bfe91 added java plugin
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 991
diff changeset
90 | creating a :ref:`Java plugin <java-plugin>`. | | | | | | |
533
610e6be26a71 some clarification about dual licensing
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 525
diff changeset
91 | 2 possible cases: | | | | | | |
610e6be26a71 some clarification about dual licensing
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 525
diff changeset
92 +----+------------------------------------------------+---------------+-------+--------+--------------+------------------------+-------------------+
610e6be26a71 some clarification about dual licensing
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 525
diff changeset
93 | | Case 1: No AGPL-licensed plugin is in use | No | Yes | Yes | Yes | Dual license | Yes |
610e6be26a71 some clarification about dual licensing
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 525
diff changeset
94 +----+------------------------------------------------+---------------+-------+--------+--------------+------------------------+-------------------+
610e6be26a71 some clarification about dual licensing
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 525
diff changeset
95 | | Case 2: Some AGPL-licensed plugin is in use | No | Yes | Yes | Yes | Dual license | Dual license |
610e6be26a71 some clarification about dual licensing
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 525
diff changeset
96 +----+------------------------------------------------+---------------+-------+--------+--------------+------------------------+-------------------+
610e6be26a71 some clarification about dual licensing
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 525
diff changeset
97 | Using a derived version of the GPL-licensed | No | Yes | Yes | Yes | Dual license | Yes |
525
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 524
diff changeset
98 | code of Orthanc, or using a derived version of | | | | | | |
202
1e9cb6e1afb0 rephrasing
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 201
diff changeset
99 | some GPL-licensed plugin, or reusing their original | | | | | | |
1e9cb6e1afb0 rephrasing
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 201
diff changeset
100 | code in a third-party system | | | | | | |
199
3fd71c385391 cla and licensing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
101 +-----------------------------------------------------+---------------+-------+--------+--------------+------------------------+-------------------+
533
610e6be26a71 some clarification about dual licensing
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 525
diff changeset
102 | Using a derived version of some AGPL-licensed | No | No | Yes | Yes | Dual license | Dual license |
202
1e9cb6e1afb0 rephrasing
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 201
diff changeset
103 | plugin, or reusing its original code in a | | | | | | |
1e9cb6e1afb0 rephrasing
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 201
diff changeset
104 | third-party system | | | | | | |
199
3fd71c385391 cla and licensing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
105 +-----------------------------------------------------+---------------+-------+--------+--------------+------------------------+-------------------+
533
610e6be26a71 some clarification about dual licensing
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 525
diff changeset
106 | **For viewers**: Using a derived version of the | No | No | Yes | Yes | Dual license | Dual license |
524
39fef223dca0 clarification
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 523
diff changeset
107 | :ref:`Orthanc Web Viewer <webviewer>`, of the | | | | | | |
525
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 524
diff changeset
108 | :ref:`Osimis Web Viewer <osimis_webviewer>`, of the | | | | | | |
523
0e2427a99551 clarification
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 519
diff changeset
109 | :ref:`Stone Web Viewer <stone>`, or of the sample | | | | | | |
0e2427a99551 clarification
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 519
diff changeset
110 | applications of Stone of Orthanc (AGPL license) | | | | | | |
199
3fd71c385391 cla and licensing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
111 +-----------------------------------------------------+---------------+-------+--------+--------------+------------------------+-------------------+
3fd71c385391 cla and licensing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
112
533
610e6be26a71 some clarification about dual licensing
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 525
diff changeset
113 .. raw:: html
610e6be26a71 some clarification about dual licensing
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 525
diff changeset
114
610e6be26a71 some clarification about dual licensing
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 525
diff changeset
115 <p align="center">
610e6be26a71 some clarification about dual licensing
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 525
diff changeset
116 <a href="mailto:info@osimis.io?subject=Request for a dual license">
610e6be26a71 some clarification about dual licensing
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 525
diff changeset
117 <b>Click here to request a dual license</b>
610e6be26a71 some clarification about dual licensing
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 525
diff changeset
118 </a>
610e6be26a71 some clarification about dual licensing
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 525
diff changeset
119 </p>
610e6be26a71 some clarification about dual licensing
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 525
diff changeset
120
610e6be26a71 some clarification about dual licensing
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 525
diff changeset
121
201
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 200
diff changeset
122 **Notes:**
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 200
diff changeset
123
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 200
diff changeset
124 * The wording "third-party system" is very broad, as it encompasses
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 200
diff changeset
125 many possibilities. It can for instance be a Web application, a
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 200
diff changeset
126 heavyweight desktop application, an automated script, or more
202
1e9cb6e1afb0 rephrasing
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 201
diff changeset
127 generally any system that takes advantage of Orthanc as a service in
1e9cb6e1afb0 rephrasing
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 201
diff changeset
128 its global architecture.
201
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 200
diff changeset
129
533
610e6be26a71 some clarification about dual licensing
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 525
diff changeset
130 * If your use case falls in a "**Dual license**" cell, please get in
358
011b01ccf52d fixing external hyperlinks
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 353
diff changeset
131 touch with `Osimis <https://www.osimis.io/>`__, the commercial
011b01ccf52d fixing external hyperlinks
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 353
diff changeset
132 partner of the Orthanc project that is the only entity entitled to
011b01ccf52d fixing external hyperlinks
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 353
diff changeset
133 grant a `license exception
201
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 200
diff changeset
134 <https://www.fsf.org/blogs/rms/selling-exceptions>`__ to your
202
1e9cb6e1afb0 rephrasing
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 201
diff changeset
135 company for the Orthanc core and its :ref:`associated official
1e9cb6e1afb0 rephrasing
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 201
diff changeset
136 plugins <plugins-official>`.
201
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 200
diff changeset
137
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 200
diff changeset
138 * If you reuse code from Orthanc or one of its associated plugins, you
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 200
diff changeset
139 must mention the copyright of the Orthanc project.
199
3fd71c385391 cla and licensing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
140
201
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 200
diff changeset
141 * An Orthanc plugin cannot be licensed under a permissive license
203
b79ef7808f16 note about plugins
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 202
diff changeset
142 (MIT, BSD, Apache...) because it cannot run independently of the
b79ef7808f16 note about plugins
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 202
diff changeset
143 Orthanc SDK, which implies that the plugin and the Orthanc core form
b79ef7808f16 note about plugins
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 202
diff changeset
144 a single combined program, which in turn means that the plugin
b79ef7808f16 note about plugins
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 202
diff changeset
145 should be licensed under GPLv3 by `copyleft
b79ef7808f16 note about plugins
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 202
diff changeset
146 <https://en.wikipedia.org/wiki/Copyleft>`__ contamination. Check out
b79ef7808f16 note about plugins
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 202
diff changeset
147 the `license compatibility matrix on Wikipedia
201
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 200
diff changeset
148 <https://en.wikipedia.org/wiki/License_compatibility#Compatibility_of_FOSS_licenses>`__.
203
b79ef7808f16 note about plugins
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 202
diff changeset
149 Here is the corresponding entry about this topic in the `GPL FAQ
b79ef7808f16 note about plugins
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 202
diff changeset
150 <https://www.gnu.org/licenses/gpl-faq.en.html#GPLPlugins>`__: *"If
b79ef7808f16 note about plugins
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 202
diff changeset
151 the main program dynamically links plug-ins, and they make function
b79ef7808f16 note about plugins
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 202
diff changeset
152 calls to each other and share data structures, we believe they form
b79ef7808f16 note about plugins
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 202
diff changeset
153 a single combined program, which must be treated as an extension of
b79ef7808f16 note about plugins
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 202
diff changeset
154 both the main program and the plug-ins. [...] If the main program
b79ef7808f16 note about plugins
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 202
diff changeset
155 and the plugins are a single combined program then this means you
b79ef7808f16 note about plugins
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 202
diff changeset
156 must license the plug-in under the GPL or a GPL-compatible free
b79ef7808f16 note about plugins
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 202
diff changeset
157 software license and distribute it with source code in a
b79ef7808f16 note about plugins
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 202
diff changeset
158 GPL-compliant way."*
201
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 200
diff changeset
159
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 200
diff changeset
160 * You are kindly invited to cite the `reference paper about Orthanc
358
011b01ccf52d fixing external hyperlinks
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 353
diff changeset
161 <https://link.springer.com/article/10.1007/s10278-018-0082-y>`__
201
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 200
diff changeset
162 in your scientific work.
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 200
diff changeset
163
202
1e9cb6e1afb0 rephrasing
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 201
diff changeset
164 * This is our own simplified, technical interpretation of the GPLv3+
1e9cb6e1afb0 rephrasing
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 201
diff changeset
165 and AGPLv3+ in the very specific context of Orthanc. It is not
1e9cb6e1afb0 rephrasing
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 201
diff changeset
166 intended to be a complete guide to copyleft licensing. Please get in
1e9cb6e1afb0 rephrasing
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 201
diff changeset
167 touch with the `Free Software Foundation <https://www.fsf.org/>`__
1e9cb6e1afb0 rephrasing
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 201
diff changeset
168 for more legal information.
199
3fd71c385391 cla and licensing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
169
3fd71c385391 cla and licensing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
170
3fd71c385391 cla and licensing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
171 .. _cla:
3fd71c385391 cla and licensing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
172
3fd71c385391 cla and licensing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
173 Contributing to the code of Orthanc
3fd71c385391 cla and licensing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
174 -----------------------------------
3fd71c385391 cla and licensing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
175
202
1e9cb6e1afb0 rephrasing
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 201
diff changeset
176 Contributed vs. internal code
199
3fd71c385391 cla and licensing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
177 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
3fd71c385391 cla and licensing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
178
202
1e9cb6e1afb0 rephrasing
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 201
diff changeset
179 It is important to make the distinction between contributed code and
1e9cb6e1afb0 rephrasing
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 201
diff changeset
180 internal code:
199
3fd71c385391 cla and licensing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
181
202
1e9cb6e1afb0 rephrasing
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 201
diff changeset
182 * **Contributed code** refers to source code that takes advantage of
199
3fd71c385391 cla and licensing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
183 Orthanc and/or that extends Orthanc, such as new :ref:`plugins
3fd71c385391 cla and licensing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
184 <plugins>`, :ref:`Lua scripts <lua>`, or any higher-level
3fd71c385391 cla and licensing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
185 application that uses the :ref:`REST API <rest>` of Orthanc. This
3fd71c385391 cla and licensing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
186 code can live outside of the official source repositories of the
202
1e9cb6e1afb0 rephrasing
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 201
diff changeset
187 Orthanc ecosystem. External contributors can distribute such
1e9cb6e1afb0 rephrasing
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 201
diff changeset
188 contributed code on whatever platform they prefer, in a way that is
1e9cb6e1afb0 rephrasing
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 201
diff changeset
189 fully uncoupled from the Orthanc project, and keep the intellectual
199
3fd71c385391 cla and licensing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
190 property of their developments. Such contributors are however kindly
3fd71c385391 cla and licensing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
191 invited to index their contributions in the `dedicated repository on
203
b79ef7808f16 note about plugins
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 202
diff changeset
192 GitHub <https://github.com/jodogne/OrthancContributed>`__, and
b79ef7808f16 note about plugins
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 202
diff changeset
193 contributed plugins should also be indexed in the :ref:`Orthanc Book
b79ef7808f16 note about plugins
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 202
diff changeset
194 <plugins-contributed>`.
199
3fd71c385391 cla and licensing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
195
3fd71c385391 cla and licensing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
196 * **Internal code** refers to source code that only makes sense if
3fd71c385391 cla and licensing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
197 embedded within the Orthanc core or within one of the official
3fd71c385391 cla and licensing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
198 plugins. This includes new features and bugfixes. The way to
3fd71c385391 cla and licensing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
199 contribute to the internal code of the Orthanc ecosystem is
3fd71c385391 cla and licensing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
200 described in the sections below.
3fd71c385391 cla and licensing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
201
3fd71c385391 cla and licensing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
202
204
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 203
diff changeset
203 **Important:** You should always favor the :ref:`creation of a new
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 203
diff changeset
204 plugin <creating-plugins>` over modifications to the internal code
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 203
diff changeset
205 (see below)!
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 203
diff changeset
206
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 203
diff changeset
207
199
3fd71c385391 cla and licensing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
208
3fd71c385391 cla and licensing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
209 Contributor License Agreement
3fd71c385391 cla and licensing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
210 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
3fd71c385391 cla and licensing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
211
3fd71c385391 cla and licensing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
212 It is necessary for the Orthanc project to make sure that the internal
3fd71c385391 cla and licensing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
213 code of Orthanc can be interfaced with proprietary systems, as those
3fd71c385391 cla and licensing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
214 are still unfortunately everywhere in the healthcare market. This
3fd71c385391 cla and licensing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
215 forces us to require all the intellectual property over the source
3fd71c385391 cla and licensing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
216 code of Orthanc to be centralized, with the University Hospital of
844
41bae819d80b added uclouvain
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 627
diff changeset
217 Liège, the Osimis company and the UCLouvain university acting as the
41bae819d80b added uclouvain
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 627
diff changeset
218 official guardians of the whole Orthanc ecosystem. This centralization
41bae819d80b added uclouvain
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 627
diff changeset
219 also enables the dual licensing scheme described above, which in turn
199
3fd71c385391 cla and licensing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
220 allows Osimis to collect money from the industry in order to fund
3fd71c385391 cla and licensing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
221 further free and open-source development of the Orthanc ecosystem to
3fd71c385391 cla and licensing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
222 the benefit of the worldwide community of medical imaging, according
3fd71c385391 cla and licensing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
223 to a virtuous cycle.
3fd71c385391 cla and licensing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
224
3fd71c385391 cla and licensing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
225 As a consequence, before any code can be accepted into the official
3fd71c385391 cla and licensing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
226 repositories of Orthanc, the individual code contributors must sign a
3fd71c385391 cla and licensing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
227 `Contributor License Agreement (CLA)
3fd71c385391 cla and licensing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
228 <https://en.wikipedia.org/wiki/Contributor_License_Agreement>`__. Here
3fd71c385391 cla and licensing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
229 is the procedure:
3fd71c385391 cla and licensing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
230
3fd71c385391 cla and licensing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
231 1. Download the individual CLA (ICLA) form from the `Orthanc homepage
3fd71c385391 cla and licensing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
232 <https://www.orthanc-server.com/resources/2019-02-12-IndividualContributorLicenseAgreementOrthanc.pdf>`__.
3fd71c385391 cla and licensing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
233
3fd71c385391 cla and licensing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
234 2. Print the document, then write down your signed initials on pages 1
3fd71c385391 cla and licensing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
235 and 2, and sign page 3.
3fd71c385391 cla and licensing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
236
3fd71c385391 cla and licensing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
237 3. Return a scanned copy of the document to e-mail ``orthanc-legal@osimis.io``.
3fd71c385391 cla and licensing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
238
3fd71c385391 cla and licensing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
239 4. Wait for confirmation from the Osimis company.
3fd71c385391 cla and licensing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
240
3fd71c385391 cla and licensing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
241 **Important:** This form is only valid for individual contributors
3fd71c385391 cla and licensing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
242 acting as physical persons. If your company wishes to become
202
1e9cb6e1afb0 rephrasing
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 201
diff changeset
243 contributor as a juridical person, please request a Corporate CLA at
1e9cb6e1afb0 rephrasing
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 201
diff changeset
244 the same e-mail address: ``orthanc-legal@osimis.io``.
199
3fd71c385391 cla and licensing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
245
3fd71c385391 cla and licensing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
246
361
84e3a2612c36 links to hg
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 360
diff changeset
247 .. _submitting_code:
84e3a2612c36 links to hg
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 360
diff changeset
248
199
3fd71c385391 cla and licensing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
249 Submitting code
3fd71c385391 cla and licensing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
250 ^^^^^^^^^^^^^^^
3fd71c385391 cla and licensing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
251
3fd71c385391 cla and licensing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
252 Once the CLA onboarding process has succeeded, use `Mercurial
3fd71c385391 cla and licensing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
253 <https://en.wikipedia.org/wiki/Mercurial>`__ to fork the official
445
987fbbc2b59e leaving bitbucket wrt. bug tracker
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 361
diff changeset
254 repository of interest. All the repositories are centralized on our
991
1316bc62b5d5 migration to UCLouvain servers
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 984
diff changeset
255 `self-hosted Mercurial server <https://orthanc.uclouvain.be/hg/>`__.
199
3fd71c385391 cla and licensing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
256
361
84e3a2612c36 links to hg
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 360
diff changeset
257 A :ref:`dedicated page <repositories>` explains how to submit
84e3a2612c36 links to hg
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 360
diff changeset
258 :ref:`simple patches <hg-patch>` or :ref:`full branches <hg-bundle>`.
199
3fd71c385391 cla and licensing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
259
3fd71c385391 cla and licensing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
260 **Some words of warning:**
3fd71c385391 cla and licensing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
261
3fd71c385391 cla and licensing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
262 * It is your responsibility to make sure that you have the
3fd71c385391 cla and licensing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
263 intellectual property over all the source code you commit into
3fd71c385391 cla and licensing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
264 Orthanc.
3fd71c385391 cla and licensing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
265
3fd71c385391 cla and licensing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
266 * In the case of a doubt wrt. a potential contribution, please discuss
984
46e2941b57dd replace link to google users group by link to discourse
Alain Mazy <am@osimis.io>
parents: 844
diff changeset
267 it on the `Orthanc Users discussion forum
46e2941b57dd replace link to google users group by link to discourse
Alain Mazy <am@osimis.io>
parents: 844
diff changeset
268 <https://discourse.orthanc-server.org>`__
199
3fd71c385391 cla and licensing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
269 discussion group before starting the actual development.