-
Notifications
You must be signed in to change notification settings - Fork 29.6k
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
doc: add dco to github pr template #24023
Conversation
Our project relies on the Developer Certificate of Origin as a passive alternative to a Contributor License Agreement. The PR template seems like a great place to surface the text to help new contributors be aware of the DCO and it's implications.
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.
LGTM
.github/PULL_REQUEST_TEMPLATE.md
Outdated
@@ -14,3 +14,32 @@ Contributors guide: https://github.com/nodejs/node/blob/master/CONTRIBUTING.md | |||
- [ ] tests and/or benchmarks are included | |||
- [ ] documentation is changed or added | |||
- [ ] commit message follows [commit guidelines](https://github.com/nodejs/node/blob/master/doc/guides/contributing/pull-requests.md#commit-message-guidelines) | |||
|
|||
<!-- | |||
<a id="developers-certificate-of-origin"></a> |
This comment was marked as resolved.
This comment was marked as resolved.
Sorry, something went wrong.
This comment was marked as resolved.
This comment was marked as resolved.
Sorry, something went wrong.
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.
Maybe also add an item that can be checked under the checklist?
This nearly triples the length of our PR template, increasing the likelihood that people will not bother reading this or any of the other text already there. Not blocking, but options I would prefer instead of this:
Options I'd be OK with that are likely to be even less popular:
In general, I think we should have fewer templates and shorter templates. DCO text is like a click-through license. It's a necessary evil that gets in the way and no one can take it seriously as something people read and agree to. If we have to add it here, oh well, so be it. Although I wonder what a lawyer's take would be.... |
@Trott we could definitely add it to the checklist instead with a link people could click through Also FWIW I was thinking that a DCO bot is something we could look at using... a bot that posts in the thread anytime someone is a new collaborator (doesn't have a commit in the repo they are opening a PR to) Would you be open to landing this or an iteration and then removing it when a bot like mentioned above is launched? |
Option 3:
node/.github/PULL_REQUEST_TEMPLATE.md Line 6 in 98819df i.e.
|
@MylesBorins Yes. My comments are non-blocking, as this can always be iterated on. |
Gonna think about this some more and reopen later |
Hey All, I'd like to revisit this. It had a bunch of sign off. Any objections to moving forward with this? |
Have there been problems that this solves? It adds a lot of text to the (IMO) already-ineffective GitHub templates.... People often ignore the checkboxes. People often check the box saying they ran I'm not blocking on this, but I do think it would be better to remove the templates or shorten the templates. If we're going to add a bunch of text, let's be very clear about the value this adds. |
You don't need to respond to this comment before landing. My questions can be dealt with later or not at all. |
@Trott as per the original post
While this adds cruft I do think it is important to surface this text to folks as it is the terms of their contribution |
Works for me. It's not my preference, but I don't oppose it, and also I am not a lawyer and can't speak to DCO issues competently anyway. So I defer to the apparent overwhelming support this has! |
Gratuitous lite CI: https://ci.nodejs.org/job/node-test-pull-request-lite-pipeline/3854/ |
Hmmm... lite CI again but this time with explicit rebase-onto-master: https://ci.nodejs.org/job/node-linter/3788/ |
Landed in a9512bd |
Our project relies on the Developer Certificate of Origin as a passive alternative to a Contributor License Agreement. The PR template seems like a great place to surface the text to help new contributors be aware of the DCO and it's implications. PR-URL: nodejs#24023 Reviewed-By: Ali Ijaz Sheikh <ofrobots@google.com> Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Matheus Marchini <mat@mmarchini.me> Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Richard Lau <riclau@uk.ibm.com>
Our project relies on the Developer Certificate of Origin as a passive alternative to a Contributor License Agreement. The PR template seems like a great place to surface the text to help new contributors be aware of the DCO and it's implications. PR-URL: #24023 Reviewed-By: Ali Ijaz Sheikh <ofrobots@google.com> Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Matheus Marchini <mat@mmarchini.me> Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Richard Lau <riclau@uk.ibm.com>
Our project relies on the Developer Certificate of Origin as a passive alternative to a Contributor License Agreement. The PR template seems like a great place to surface the text to help new contributors be aware of the DCO and it's implications. PR-URL: #24023 Reviewed-By: Ali Ijaz Sheikh <ofrobots@google.com> Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Matheus Marchini <mat@mmarchini.me> Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Richard Lau <riclau@uk.ibm.com>
Our project relies on the Developer Certificate of Origin as a passive
alternative to a Contributor License Agreement. The PR template seems
like a great place to surface the text to help new contributors be
aware of the DCO and it's implications.