Add DCO information 35/9035/3
authorThanh Ha <thanh.ha@linuxfoundation.org>
Sat, 24 Feb 2018 18:30:02 +0000 (13:30 -0500)
committerThanh Ha <thanh.ha@linuxfoundation.org>
Tue, 27 Feb 2018 16:56:38 +0000 (11:56 -0500)
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 <thanh.ha@linuxfoundation.org>
docs/_static/dco-1.1.txt [new file with mode: 0644]
docs/gerrit.rst

diff --git a/docs/_static/dco-1.1.txt b/docs/_static/dco-1.1.txt
new file mode 100644 (file)
index 0000000..8201f99
--- /dev/null
@@ -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.
index 95cfcc7..bc96302 100644 (file)
@@ -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.