From aff31bc1a689e6e5ff6144cff8da0771ffe7e5ac Mon Sep 17 00:00:00 2001 From: Paolo Patierno Date: Fri, 8 Dec 2023 14:01:20 +0100 Subject: [PATCH] Added DCO information on the contributing page (#9446) Signed-off-by: Paolo Patierno --- CONTRIBUTING.md | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index b80a4df0f7e..38007c68137 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -20,11 +20,36 @@ If you want to get in touch with us first before contributing, you can use: - [#strimzi channel on CNCF Slack](https://slack.cncf.io/) - [Strimzi Dev mailing list](https://lists.cncf.io/g/cncf-strimzi-dev/topics) +## Developer Certificate Of Origin + +The [Developer Certificate of Origin (DCO)][dco] is a lightweight way for contributors to certify that they wrote or otherwise have the right to submit the code they are contributing to the project. + +Contributors to the Strimzi project sign-off that they adhere to these requirements by adding a Signed-off-by line to commit messages. + +```shell +This is my commit message + +Signed-off-by: John Doe +``` + +Git even has a -s command line option to append this automatically to your commit message: + +```shell +git commit -s -m 'This is my commit message' +``` + +If you have already made a commit and forgot to include the sign-off, you can amend your last commit to add the sign-off with the following command, which can then be force pushed. + +```shell +git commit --amend -s +``` + [issues]: https://github.com/strimzi/strimzi-kafka-operator/issues [newbie-issues]: https://github.com/strimzi/strimzi-kafka-operator/labels/good-start [development-guide]: development-docs/DEV_GUIDE.md [release-list]: development-docs/RELEASE.md [doc-contrib-guide]: https://strimzi.io/contributing/guide/ +[dco]: https://developercertificate.org/ # How to become a maintainer