|
| 1 | +# Contributing |
| 2 | + |
| 3 | +## Sign off |
| 4 | + |
| 5 | +In order to have a concrete record that your contribution is intentional |
| 6 | +and you agree to license it under the same terms as the project's license, we've adopted the |
| 7 | +same lightweight approach that the Linux Kernel |
| 8 | +[submitting patches process]( |
| 9 | +https://www.kernel.org/doc/html/latest/process/submitting-patches.html#sign-your-work-the-developer-s-certificate-of-origin>), |
| 10 | +[Docker](https://github.com/docker/docker/blob/master/CONTRIBUTING.md), and many other |
| 11 | +projects use: the DCO ([Developer Certificate of Origin](http://developercertificate.org/)). |
| 12 | +This is a simple declaration that you wrote |
| 13 | +the contribution or otherwise have the right to contribute it to Matrix: |
| 14 | + |
| 15 | +``` |
| 16 | +Developer Certificate of Origin |
| 17 | +Version 1.1 |
| 18 | +
|
| 19 | +Copyright (C) 2004, 2006 The Linux Foundation and its contributors. |
| 20 | +660 York Street, Suite 102, |
| 21 | +San Francisco, CA 94110 USA |
| 22 | +
|
| 23 | +Everyone is permitted to copy and distribute verbatim copies of this |
| 24 | +license document, but changing it is not allowed. |
| 25 | +
|
| 26 | +Developer's Certificate of Origin 1.1 |
| 27 | +
|
| 28 | +By making a contribution to this project, I certify that: |
| 29 | +
|
| 30 | +(a) The contribution was created in whole or in part by me and I |
| 31 | + have the right to submit it under the open source license |
| 32 | + indicated in the file; or |
| 33 | +
|
| 34 | +(b) The contribution is based upon previous work that, to the best |
| 35 | + of my knowledge, is covered under an appropriate open source |
| 36 | + license and I have the right under that license to submit that |
| 37 | + work with modifications, whether created in whole or in part |
| 38 | + by me, under the same open source license (unless I am |
| 39 | + permitted to submit under a different license), as indicated |
| 40 | + in the file; or |
| 41 | +
|
| 42 | +(c) The contribution was provided directly to me by some other |
| 43 | + person who certified (a), (b) or (c) and I have not modified |
| 44 | + it. |
| 45 | +
|
| 46 | +(d) I understand and agree that this project and the contribution |
| 47 | + are public and that a record of the contribution (including all |
| 48 | + personal information I submit with it, including my sign-off) is |
| 49 | + maintained indefinitely and may be redistributed consistent with |
| 50 | + this project or the open source license(s) involved. |
| 51 | +``` |
| 52 | + |
| 53 | +If you agree to this for your contribution, then all that's needed is to |
| 54 | +include the line in your commit or pull request comment: |
| 55 | + |
| 56 | +``` |
| 57 | +Signed-off-by: Your Name <[email protected]> |
| 58 | +``` |
| 59 | + |
| 60 | +We accept contributions under a legally identifiable name, such as |
| 61 | +your name on government documentation or common-law names (names |
| 62 | +claimed by legitimate usage or repute). Unfortunately, we cannot |
| 63 | +accept anonymous contributions at this time. |
| 64 | + |
| 65 | +Git allows you to add this signoff automatically when using the `-s` |
| 66 | +flag to `git commit`, which uses the name and email set in your |
| 67 | +`user.name` and `user.email` git configs. |
| 68 | + |
| 69 | +### Private Sign off |
| 70 | + |
| 71 | +If you would like to provide your legal name privately to the Matrix.org |
| 72 | +Foundation (instead of in a public commit or comment), you can do so |
| 73 | +by emailing your legal name and a link to the pull request to |
| 74 | +[[email protected]](mailto:[email protected]?subject=Private%20sign%20off). |
| 75 | +It helps to include "sign off" or similar in the subject line. You will then |
| 76 | +be instructed further. |
| 77 | + |
| 78 | +Once private sign off is complete, doing so for future contributions will not |
| 79 | +be required. |
| 80 | + |
0 commit comments