2025-07-23 12:17:31 +02:00
# Contributor License Agreement (CLA)
2025-07-23 18:20:26 +02:00
A "Contributor" is any person or entity that intentionally submits copyrighted material to the project,
including but not limited to code, documentation, or other material, via a pull request, issue, or other means.
2025-07-23 12:17:31 +02:00
2025-07-23 18:20:26 +02:00
By submitting a contribution Contributor agrees to the following terms:
2025-07-23 12:17:31 +02:00
2025-07-23 18:20:26 +02:00
## Dual AGPLv3/MIT License Grant
Contributor agrees that their contribution is provided under the GNU Affero General Public License v3 (AGPLv3) reproduced
2025-07-29 18:13:19 +02:00
in the file [LICENSE ](LICENSE ) or any later version and, in addition, grants the contribution under the MIT License terms below:
2025-07-23 12:17:31 +02:00
```text
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
```
2025-07-23 18:20:26 +02:00
## Annotating contributions to source code
### Trivial changes
2025-07-29 18:13:19 +02:00
Trivial changes (e.g., 1-2 line fixes or typo fixes) inherit the AGPLv3 license of the project and without further annotation are also licensed under MIT as specified above.
2025-07-23 18:20:26 +02:00
### Functions and nontrivial snippets of code
2025-07-29 18:13:19 +02:00
Functions and nontrivial snippets of code by default inherit the AGPLv3 license of the project and are also licensed under MIT as specified above. They shall be marked in a PR with an SPDX header as in this example:
2025-07-23 18:20:26 +02:00
```
2025-07-29 18:13:19 +02:00
# SPDX-License-Identifier: AGPL-3.0-or-later OR MIT
# Copyright (c) [Year] [Contributor Name]
2025-07-23 18:20:26 +02:00
void frobnicate(int ntet)
{
...
}
```
2025-07-23 12:17:31 +02:00
## Representations and Warranties
Contributor represents that:
- They are legally entitled to grant the above licenses;
- Their contributions are original works and do not violate third-party rights;
- They are not required to grant licenses under third-party terms (e.g., employer agreements).
## No Obligation
The Project is under no obligation to accept or use any contribution.