|
| 1 | +## Sign your work - the Developer's Certificate of Origin |
| 2 | +The sign-off is a simple line at the end of the explanation for the patch, which certifies that you wrote it or otherwise have the right to pass it on as an open-source patch. |
| 3 | +The rules are pretty simple: if you can certify the below (from developercertificate.org): |
| 4 | + |
| 5 | +> Developer's Certificate of Origin 1.1 |
| 6 | +> |
| 7 | +> By making a contribution to this project, I certify that: |
| 8 | +> |
| 9 | +> (a) The contribution was created in whole or in part by me and I |
| 10 | +> have the right to submit it under the open source license |
| 11 | +> indicated in the file; or |
| 12 | +> |
| 13 | +> (b) The contribution is based upon previous work that, to the best |
| 14 | +> of my knowledge, is covered under an appropriate open source |
| 15 | +> license and I have the right under that license to submit that |
| 16 | +> work with modifications, whether created in whole or in part |
| 17 | +> by me, under the same open source license (unless I am |
| 18 | +> permitted to submit under a different license), as indicated |
| 19 | +> in the file; or |
| 20 | +> |
| 21 | +> (c) The contribution was provided directly to me by some other |
| 22 | +> person who certified (a), (b) or (c) and I have not modified |
| 23 | +> it. |
| 24 | +> |
| 25 | +> (d) I understand and agree that this project and the contribution |
| 26 | +> are public and that a record of the contribution (including all |
| 27 | +> personal information I submit with it, including my sign-off) is |
| 28 | +> maintained indefinitely and may be redistributed consistent with |
| 29 | +> this project or the open source license(s) involved. |
| 30 | + |
| 31 | +#### DCO Sign-Off Methods |
| 32 | + |
| 33 | +The DCO requires a sign-off message in the following format appear on each commit in the pull request: |
| 34 | + |
| 35 | +> Signed-off-by: Random J Developer <random@developer.example.org> |
| 36 | + |
| 37 | +using your real name (sorry, no pseudonyms or anonymous contributions.) |
| 38 | + |
| 39 | +The DCO text can either be manually added to your commit body, or you can add either **-s** or **--signoff** to your usual git commit commands. |
| 40 | +If you forget to add the sign-off you can also amend a previous commit with the sign-off by running **git commit --amend -s**. |
| 41 | +If you've pushed your changes to GitHub already you'll need to force push your branch after this with **git push -f**. |
| 42 | + |
| 43 | + |
| 44 | +#### Alternative Sign-Off Methods in rare cases |
| 45 | + |
| 46 | +If it is really no option for you to disclose your real name and email address, there might be a chance that you can get your contribution accepted. |
| 47 | +In this case please contact the maintainers directly and verify the adherence to the DCO of the contribution manually. |
| 48 | +This might include quite some legal overhead for both parties. |
0 commit comments