Yuxuan 'fishy' Wang | 61698b1 | 2013-12-20 12:55:51 -0800 | [diff] [blame] | 1 | = not Signed-off-by author/committer/uploader in commit message footer |
Edwin Kempin | 943d9f8 | 2011-01-26 09:39:54 +0100 | [diff] [blame] | 2 | |
| 3 | Projects in Gerrit can be configured to require a link:user-signedoffby.html#Signed-off-by[Signed-off-by] in |
David Pursehouse | a68769e | 2012-11-07 12:36:17 +0900 | [diff] [blame] | 4 | the footer of the commit message to enforce that every change is signed by the |
Edwin Kempin | 943d9f8 | 2011-01-26 09:39:54 +0100 | [diff] [blame] | 5 | author, committer or uploader. If for a project a Signed-off-by is |
David Pursehouse | a68769e | 2012-11-07 12:36:17 +0900 | [diff] [blame] | 6 | required and the commit message footer does not contain it, Gerrit rejects |
Edwin Kempin | 943d9f8 | 2011-01-26 09:39:54 +0100 | [diff] [blame] | 7 | to push the commit with this error message. |
| 8 | |
Fredrik Luthander | b295eea | 2011-12-27 13:40:43 +0100 | [diff] [blame] | 9 | This policy can be bypassed by having the access right |
| 10 | link:access-control.html#category_forge_committer['Forge Committer']. |
Edwin Kempin | 943d9f8 | 2011-01-26 09:39:54 +0100 | [diff] [blame] | 11 | |
| 12 | This error may happen for different reasons if you do not have the |
| 13 | access right to forge the committer identity: |
Edwin Kempin | ddfc41a | 2011-05-06 10:32:05 +0200 | [diff] [blame] | 14 | |
David Pursehouse | a68769e | 2012-11-07 12:36:17 +0900 | [diff] [blame] | 15 | . missing Signed-off-by in the commit message footer |
| 16 | . Signed-off-by is contained in the commit message footer but it's neither |
Edwin Kempin | ddfc41a | 2011-05-06 10:32:05 +0200 | [diff] [blame] | 17 | from the author, committer nor uploader |
| 18 | . Signed-off-by from the author, committer or uploader is contained |
David Pursehouse | a68769e | 2012-11-07 12:36:17 +0900 | [diff] [blame] | 19 | in the commit message but not in the footer (last paragraph) |
Edwin Kempin | 943d9f8 | 2011-01-26 09:39:54 +0100 | [diff] [blame] | 20 | |
| 21 | To be able to push your commits you have to update the commit |
| 22 | messages as explained link:error-push-fails-due-to-commit-message.html[here] so that they contain a Signed-off-by from |
| 23 | the author, committer or uploader in the last paragraph. However it |
| 24 | is important that you only add a Signed-off-by if you understand the |
| 25 | semantics of the link:user-signedoffby.html#Signed-off-by[Signed-off-by] and the commit applies to the rules |
| 26 | that are connected with this footer. |
| 27 | |
| 28 | GERRIT |
| 29 | ------ |
| 30 | Part of link:error-messages.html[Gerrit Error Messages] |
Yuxuan 'fishy' Wang | 99cb68d | 2013-10-31 17:26:00 -0700 | [diff] [blame] | 31 | |
| 32 | SEARCHBOX |
| 33 | --------- |