David Brown | f1a78fc | 2017-06-20 12:57:27 -0600 | [diff] [blame] | 1 | # Submitting Patches |
| 2 | |
| 3 | Development on mcuboot primarily takes place in github, at: |
| 4 | https://github.com/runtimeco/mcuboot |
| 5 | |
| 6 | Changes should be submitted via github pull requests. Each commit |
| 7 | should have a Signed-off-by line for the author (and the committer, if |
| 8 | that is different). It is not necessary (or possible) to get a |
| 9 | Signed-off-by from Github itself, even though some commits may be |
| 10 | generated by that tool. |
| 11 | |
| 12 | The Signed-off-by line should be at the end of the commit text, in the |
| 13 | last blank-line-separated section. There can be multiple lines in |
| 14 | this section (the format being roughly like RFC-2822). Currently |
| 15 | supported trailer lines are: |
| 16 | |
| 17 | Signed-off-by: Developer Name <devname@example.com> |
| 18 | |
| 19 | which indicates that the signer agrees to the Developer Certificate of |
| 20 | Origin below, and |
| 21 | |
| 22 | JIRA: MCUB-1234 |
| 23 | |
| 24 | which associates this commit with a particular JIRA ticket. You can |
| 25 | put more than one JIRA ticket, by separating them with a comma and a |
| 26 | space. JIRA is quite flexible about where the indicators go, but |
| 27 | putting them in a trailer with a common format will make them easier |
| 28 | to find later. |
| 29 | |
| 30 | # Developer Certificate of Origin |
| 31 | |
| 32 | ``` |
| 33 | Developer Certificate of Origin |
| 34 | Version 1.1 |
| 35 | |
| 36 | Copyright (C) 2004, 2006 The Linux Foundation and its contributors. |
| 37 | 1 Letterman Drive |
| 38 | Suite D4700 |
| 39 | San Francisco, CA, 94129 |
| 40 | |
| 41 | Everyone is permitted to copy and distribute verbatim copies of this |
| 42 | license document, but changing it is not allowed. |
| 43 | |
| 44 | |
| 45 | Developer's Certificate of Origin 1.1 |
| 46 | |
| 47 | By making a contribution to this project, I certify that: |
| 48 | |
| 49 | (a) The contribution was created in whole or in part by me and I |
| 50 | have the right to submit it under the open source license |
| 51 | indicated in the file; or |
| 52 | |
| 53 | (b) The contribution is based upon previous work that, to the best |
| 54 | of my knowledge, is covered under an appropriate open source |
| 55 | license and I have the right under that license to submit that |
| 56 | work with modifications, whether created in whole or in part |
| 57 | by me, under the same open source license (unless I am |
| 58 | permitted to submit under a different license), as indicated |
| 59 | in the file; or |
| 60 | |
| 61 | (c) The contribution was provided directly to me by some other |
| 62 | person who certified (a), (b) or (c) and I have not modified |
| 63 | it. |
| 64 | |
| 65 | (d) I understand and agree that this project and the contribution |
| 66 | are public and that a record of the contribution (including all |
| 67 | personal information I submit with it, including my sign-off) is |
| 68 | maintained indefinitely and may be redistributed consistent with |
| 69 | this project or the open source license(s) involved. |
| 70 | ``` |