0001: Contribution model (DCO, no CLA)¶
Status: accepted for now; review before accepting the first significant external contribution.
Context¶
CredenceStack is Apache-2.0, and everything it ships is in the repository. Contributions need a clear legal basis, and the choice affects what can be done with contributed code later.
Options¶
Developer Certificate of Origin (DCO). Each commit carries a Signed-off-by line in
which the contributor certifies that they may submit the work under the project's licence.
- Low friction: no agreement to sign, no account or legal review for contributors.
- Contributions arrive under Apache-2.0 and stay under it. The project cannot relicense outside contributions later without the agreement of every contributor whose code is affected, or rewriting that code.
- Common in infrastructure projects (the Linux kernel and many CNCF projects).
Contributor licence agreement (CLA). Contributors sign an agreement that grants the maintainers broader rights, often including the right to relicense.
- Keeps future licensing options open.
- More friction: an agreement to read and sign, often a legal review for corporate contributors, and a bot to track signatures. Some contributors decline to sign CLAs.
Decision¶
Use the DCO (already required in CONTRIBUTING.md and checked through the commit
template); no CLA. The private material is not in the repository, so it is unaffected by
contributions. Code that may later need different licensing terms should not be accepted
from outside contributors before this decision is reviewed.
Consequences¶
- External contributions to the public code are Apache-2.0 for good.
- Before accepting the first significant external contribution, review this decision: if relicensing rights might be needed, adopt a CLA first (it cannot be applied retroactively to contributions already merged under the DCO).