From 800df79ab09c1d57072c2adcc31154e4e806f628 Mon Sep 17 00:00:00 2001 From: Thanh Ha Date: Sat, 24 Feb 2018 13:30:02 -0500 Subject: [PATCH] Add DCO information It is important that people understand what the Sign-off-by line means when they make a contribution. Issue: RELENG-560 Change-Id: I1c9500188c19e428681b9ec9c9e638af2262d4ff Signed-off-by: Thanh Ha --- docs/_static/dco-1.1.txt | 37 +++++++++++++++++++++++++++++++++++++ docs/gerrit.rst | 18 +++++++++++++++++- 2 files changed, 54 insertions(+), 1 deletion(-) create mode 100644 docs/_static/dco-1.1.txt diff --git a/docs/_static/dco-1.1.txt b/docs/_static/dco-1.1.txt new file mode 100644 index 0000000..8201f99 --- /dev/null +++ b/docs/_static/dco-1.1.txt @@ -0,0 +1,37 @@ +Developer Certificate of Origin +Version 1.1 + +Copyright (C) 2004, 2006 The Linux Foundation and its contributors. +1 Letterman Drive +Suite D4700 +San Francisco, CA, 94129 + +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. diff --git a/docs/gerrit.rst b/docs/gerrit.rst index 95cfcc7..bc96302 100644 --- a/docs/gerrit.rst +++ b/docs/gerrit.rst @@ -149,7 +149,8 @@ comprising their work on Gerrit servers using a client tool called pip install git-review #. Flatten all changes to a single git commit. Once the change is ready - for review, commit it locally with the '-s' argument: + for review, commit it locally with the '-s' argument to sign the commit + message with your name and email to agree to the :ref:`dco`. .. code-block:: bash @@ -421,3 +422,18 @@ repository. You can check the configuration using verbose output:: git review -v -s + +Appendix +======== + +Developer's Certificate of Origin (DCO) +--------------------------------------- + +Code contributions to Linux Foundation projects must be have a sign-off by the +author of the code which indicates that they have read and agree to the DCO. + +.. literalinclude:: _static/dco-1.1.txt + :caption: Developer's Certificate of Origin + :name: dco + +Refer to https://developercertificate.org/ for original text. -- 2.16.6