Update Contributor License Agreement for dual AGPLv3/MIT licensing

With a little help of copilot/claude sonnet 4.

- Add explicit CLA agreement checkbox to PR template
- Update README with commercial licensing information and future CLA revision notice
- Enable dual licensing strategy while maintaining contributor-friendly approach
- Use license grants instead of copyright assignment for practical implementation
This commit is contained in:
Jürgen Fuhrmann
2025-07-29 18:13:19 +02:00
parent ce723c99f5
commit 0b93af8772
3 changed files with 9 additions and 10 deletions

View File

@@ -1,7 +1,9 @@
Thank you very much for helping to improve TetGen! Thank you very much for helping to improve TetGen!
### Legal: ### Legal:
By opening this issue, you agree to the terms of the Contributor License Agreement (CLA) stated in [CONTRIBUTING.md](https://codeberg.org/TetGen/TetGen/src/branch/main/CONTRIBUTING.md). By opening this pull request, you agree to the terms of the Contributor License Agreement (CLA) stated in [CONTRIBUTING.md](https://codeberg.org/TetGen/TetGen/src/branch/main/CONTRIBUTING.md).
- [ ] I have read and agree to the Contributor License Agreement in CONTRIBUTING.md
### Pull request description: ### Pull request description:

View File

@@ -7,11 +7,9 @@ By submitting a contribution Contributor agrees to the following terms:
## Dual AGPLv3/MIT License Grant ## Dual AGPLv3/MIT License Grant
Contributor agrees that their contribution is provided under the GNU Affero General Public License v3 (AGPLv3) reproduced Contributor agrees that their contribution is provided under the GNU Affero General Public License v3 (AGPLv3) reproduced
in the file [LICENSE](LICENSE) or any later version and, in addition, under the following MIT License terms: in the file [LICENSE](LICENSE) or any later version and, in addition, grants the contribution under the MIT License terms below:
```text ```text
Copyright (c) [Year] [Contributor's Name]
Permission is hereby granted, free of charge, to any person obtaining a copy Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights in the Software without restriction, including without limitation the rights
@@ -31,17 +29,16 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE. SOFTWARE.
``` ```
## Annotating contributions to source code ## Annotating contributions to source code
### Trivial changes ### Trivial changes
Trivial changes (e.g., 1-2 line fixes or typo fixes) inherit the AGPLv3 license of the project and without further annotation in addition are assumed to be licensed under the MIT license 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.
### Functions and nontrivial snippets of code ### Functions and nontrivial snippets of code
Functions and nontrivial snippets of code by default inherit the AGPLv3 license of the project and in addition shall be marked in a PR with an SPDX header as in this example: 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:
``` ```
# SPDX-License-Identifier: MIT # SPDX-License-Identifier: AGPL-3.0-or-later OR MIT
# Copyright (c) [Year] [Your Name] # Copyright (c) [Year] [Contributor Name]
void frobnicate(int ntet) void frobnicate(int ntet)
{ {
... ...

View File

@@ -31,5 +31,5 @@ Details about the extension of this dual licensing scheme for future versions of
## Contributing ## Contributing
By submitting a contribution (including but not limited to code, documentation, or other materials) via a pull request, issue, or other means, a contributor agrees to the terms of the contributor license agreement stated in [CONTRIBUTING.md](CONTRIBUTING.md). By submitting a contribution (including but not limited to code, documentation, or other materials) via a pull request, issue, or other means, a contributor agrees to the terms of the contributor license agreement stated in [CONTRIBUTING.md](CONTRIBUTING.md). It is planned to revise this agreement, once the extension of the dual licensing scheme has been set up.