-
Notifications
You must be signed in to change notification settings - Fork 79
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
Adding a web link to remediate commits that are not signed off #170
Comments
Bumping this up, as I couldn't find any other Issues open/closed on remediation commits. Could there be a section in the docs added that explains the concept a bit more/example of how to add a remediation commit? Currently only info availble on it is this: https://github.com/dcoapp/app#individual-remediation-commit-support However the worklow itself (on failed DCO check) states that the preferred way is by adding a remediation commit:
If this is the preferred method, shouldn't there be a more detailed guide / information on how remediation commits should look like? |
@Willmish How would the README be better written? |
@ryjones - I would suggest either to add the messages that appear in the workflow log when DCO fails (explaining remediation Commit is preferred way of fixing vs Rebasing) and give an example of such Remediation commit. Here are the workflow logs quoted: Green-Software-Foundation/carbon-aware-sdk#309 (comment) I could not find an alternative source that explains this after DCO error was fixed and passing, so could not refer back to these exact messages (Structure of a remediation commit, and description of why its the preferred method over rebasing). Maybe there is an external documentation explaining this (in GItHub docs?). So my suggested change would be to, in the section https://github.com/dcoapp/app#individual-remediation-commit-support add the following:
|
@Willmish so incorporate the content of the how it works section, as well as adding an example and explanation of remediation versus rebasing |
@ryjones Yup - in my opinion that would be ideal as it would add a reference point for explaining remediation commits, if ever needed to be pointed to in other discussions. This is already very well described when the actual workflow fails and provides a clear guide how to comply with DCO, but I think this message sitting in the repository itself would still be helfpul when there is no failed workflow log message to refer to :D . |
This comment #171 (comment) by @gr2m also captures what I think the README / docs should include |
@ryjones want to assign that to me? |
@brianwarner I can't - I have membership, but no commit bit |
Hi @brianwarner @ryjones - just bumping this up (I know this is not critical, doesn't want it to go stale) |
@gr2m may I have the permission to assign this issue to @brianwarner ? |
This is a suggest to lower the barrier for creating remediation commits (depends on #147).
As of now, there is no simple way using the GitHub UI to add empty commits with the correct commit message body to sign off for previous commits.
I suggest to implement the following flow
This could be an opt-in feature.
Note: Adding the comment will require an additional permission which needs to be approved by owners of all installations. But we can add the same link to the check runs we create, where we already document how to fix commits that are not signed off. It will be the simplest solution of all.
What do you think @ryjones @brianwarner @ashleywolf?
The text was updated successfully, but these errors were encountered: