-
Notifications
You must be signed in to change notification settings - Fork 738
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update sign-off location instructions #2096
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -90,7 +90,9 @@ Fixes: #1234 | |
Sign off on your commit in the footer. By doing this, you assert original | ||
authorship of the commit and that you are permitted to contribute it. This can | ||
be automatically added to your commit by passing `-s` to `git commit`, or by | ||
manually adding the following line to the footer of the commit. | ||
manually adding the following line to the footer of the commit. The footer must | ||
be separated from the preceeding body or header with a blank line, and there must | ||
not be a blank line following the footer. | ||
|
||
``` | ||
Signed-off-by: Full Name <email> | ||
|
@@ -124,6 +126,7 @@ The guidelines are changed to: | |
message. | ||
|
||
Closes: #124 | ||
|
||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I don't believe this is necessary - both Closes and Signed off can be part of the footer. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. #1636 (comment) seems to imply otherwise. @IBMJimmyk can you validate the correctness of your comment? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Actually @DanHeidinga there is a clear example of the check failing in #2098. You can see the failure output (https://ci.eclipse.org/openj9/job/PullRequest-SignedOffByCheck-OpenJDK10/244/):
So we do in fact need a new line between the "Closes" and "Signed-off-by" tags in the footer. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Note the PR referenced has since been fixed up but I've linked the failing job in the above comments. It's easily reproducible as well. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. That just means the check we are implementing hasn't been implemented correctly. Its not the Eclipse ip-validation which was failing. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. So do we need an issue against our own check to handle this case and close this PR? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. There already is an issue open, the check is WIP and being testing on the OpenJ9 repo. Yes I think we can close this PR. |
||
Signed-off-by: Robert Young <rwy0717@gmail.com> | ||
``` | ||
|
||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
and there must not be a blank line following the footer.
Isn't this covered by the text a few lines down?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, just reinforces the previous sentence. I wanted to keep it concise and simple. I'm actually in favor of removing the "Remember, if a blank..." paragraph as it's to verbose. Thoughts?