Francesco Servidio | 5dad5b7 | 2021-11-18 16:30:26 +0100 | [diff] [blame^] | 1 | # Patch submission |
David Brown | f1a78fc | 2017-06-20 12:57:27 -0600 | [diff] [blame] | 2 | |
Francesco Servidio | 5dad5b7 | 2021-11-18 16:30:26 +0100 | [diff] [blame^] | 3 | The development of MCUboot takes place in the [MCUboot GitHub |
| 4 | repository](https://github.com/mcu-tools/mcuboot). |
David Brown | f1a78fc | 2017-06-20 12:57:27 -0600 | [diff] [blame] | 5 | |
Francesco Servidio | 5dad5b7 | 2021-11-18 16:30:26 +0100 | [diff] [blame^] | 6 | To submit patches, use GitHub pull requests. |
David Brown | f1a78fc | 2017-06-20 12:57:27 -0600 | [diff] [blame] | 7 | |
Francesco Servidio | 5dad5b7 | 2021-11-18 16:30:26 +0100 | [diff] [blame^] | 8 | Each commit has to have, in the commit message, a "Signed-off-by" line |
| 9 | that mentions the author (and the committer, if that is different). You |
| 10 | must add this line at the end of the commit text, separated by a blank |
| 11 | line. You can also add a line linking the commit to a specific GitHub |
| 12 | issue, as this section supports multiple lines, similarly to RFC-2822. |
David Brown | f1a78fc | 2017-06-20 12:57:27 -0600 | [diff] [blame] | 13 | |
Francesco Servidio | 5dad5b7 | 2021-11-18 16:30:26 +0100 | [diff] [blame^] | 14 | The supported trailer lines are structured as follows: |
David Brown | f1a78fc | 2017-06-20 12:57:27 -0600 | [diff] [blame] | 15 | |
Francesco Servidio | 5dad5b7 | 2021-11-18 16:30:26 +0100 | [diff] [blame^] | 16 | - A line that indicates that the signer agrees to the "Developer |
| 17 | Certificate of Origin" located at the bottom of this page: |
David Brown | f1a78fc | 2017-06-20 12:57:27 -0600 | [diff] [blame] | 18 | |
Francesco Servidio | 5dad5b7 | 2021-11-18 16:30:26 +0100 | [diff] [blame^] | 19 | ``` |
| 20 | Signed-off-by: Developer Name <devname@example.com> |
| 21 | ``` |
David Brown | f1a78fc | 2017-06-20 12:57:27 -0600 | [diff] [blame] | 22 | |
Francesco Servidio | 5dad5b7 | 2021-11-18 16:30:26 +0100 | [diff] [blame^] | 23 | - A line that links this commit to specific GitHub issues, if present: |
David Brown | f1a78fc | 2017-06-20 12:57:27 -0600 | [diff] [blame] | 24 | |
Francesco Servidio | 5dad5b7 | 2021-11-18 16:30:26 +0100 | [diff] [blame^] | 25 | ``` |
| 26 | Keyword #GH_issue_number |
| 27 | ``` |
| 28 | |
| 29 | For more details about linking a GitHub pull request to a GitHub issue, |
| 30 | see this [link] |
| 31 | (https://docs.github.com/en/issues/tracking-your-work-with-issues/linking-a-pull-request-to-an-issue). |
| 32 | |
| 33 | ## Developer certificate of origin |
| 34 | |
| 35 | The following is the "Developer Certificate of Origin": |
David Brown | f1a78fc | 2017-06-20 12:57:27 -0600 | [diff] [blame] | 36 | |
| 37 | ``` |
| 38 | Developer Certificate of Origin |
| 39 | Version 1.1 |
| 40 | |
| 41 | Copyright (C) 2004, 2006 The Linux Foundation and its contributors. |
| 42 | 1 Letterman Drive |
| 43 | Suite D4700 |
| 44 | San Francisco, CA, 94129 |
| 45 | |
| 46 | Everyone is permitted to copy and distribute verbatim copies of this |
| 47 | license document, but changing it is not allowed. |
| 48 | |
| 49 | |
| 50 | Developer's Certificate of Origin 1.1 |
| 51 | |
| 52 | By making a contribution to this project, I certify that: |
| 53 | |
| 54 | (a) The contribution was created in whole or in part by me and I |
| 55 | have the right to submit it under the open source license |
| 56 | indicated in the file; or |
| 57 | |
| 58 | (b) The contribution is based upon previous work that, to the best |
| 59 | of my knowledge, is covered under an appropriate open source |
| 60 | license and I have the right under that license to submit that |
| 61 | work with modifications, whether created in whole or in part |
| 62 | by me, under the same open source license (unless I am |
| 63 | permitted to submit under a different license), as indicated |
| 64 | in the file; or |
| 65 | |
| 66 | (c) The contribution was provided directly to me by some other |
| 67 | person who certified (a), (b) or (c) and I have not modified |
| 68 | it. |
| 69 | |
| 70 | (d) I understand and agree that this project and the contribution |
| 71 | are public and that a record of the contribution (including all |
| 72 | personal information I submit with it, including my sign-off) is |
| 73 | maintained indefinitely and may be redistributed consistent with |
| 74 | this project or the open source license(s) involved. |
| 75 | ``` |