diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 4669513..e8fe8f7 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -68,3 +68,23 @@ Participation is governed by [CODE_OF_CONDUCT.md](CODE_OF_CONDUCT.md). By contributing you agree that your contribution is licensed under the same terms as the project (Apache-2.0; see [LICENSE](LICENSE)). + +## Commit sign-off + +For new contributions, read the [Developer Certificate of Origin 1.1](DCO) and add your own sign-off to each commit you submit. Contributions stay under the existing open-source license applicable to the files. You retain your copyright. The DCO requires no separate CLA, copyright assignment, additional patent waiver or general permission to relicense your work. + +Sign only when you can certify one of clauses (a)–(c) and acknowledge clause (d). Check any employer or third-party rights that affect your authority to submit the work. Use your own contributor details with Git: + +```sh +git commit -s +``` + +Git adds a trailer like this fictional example: + +```text +Signed-off-by: Example Contributor +``` + +For your own most recent unpublished commit, use `git commit --amend --no-edit -s`. For a shared branch or an open pull request, ask a maintainer how to correct a missing sign-off while preserving shared history. Only the contributor can certify their authority. Never add a sign-off on behalf of another person or automatically sign third-party, bot or AI-assisted work. + +The trailer records this certification. Cryptographic signing, tests, review and security reporting follow the repository's existing procedures. The policy applies prospectively and leaves earlier commits and agreements intact. diff --git a/DCO b/DCO new file mode 100644 index 0000000..49b8cb0 --- /dev/null +++ b/DCO @@ -0,0 +1,34 @@ +Developer Certificate of Origin +Version 1.1 + +Copyright (C) 2004, 2006 The Linux Foundation and its contributors. + +Everyone is permitted to copy and distribute verbatim copies of this +license document, but changing it is not allowed. + + +Developer's Certificate of Origin 1.1 + +By making a contribution to this project, I certify that: + +(a) The contribution was created in whole or in part by me and I + have the right to submit it under the open source license + indicated in the file; or + +(b) The contribution is based upon previous work that, to the best + of my knowledge, is covered under an appropriate open source + license and I have the right under that license to submit that + work with modifications, whether created in whole or in part + by me, under the same open source license (unless I am + permitted to submit under a different license), as indicated + in the file; or + +(c) The contribution was provided directly to me by some other + person who certified (a), (b) or (c) and I have not modified + it. + +(d) I understand and agree that this project and the contribution + are public and that a record of the contribution (including all + personal information I submit with it, including my sign-off) is + maintained indefinitely and may be redistributed consistent with + this project or the open source license(s) involved.