Skip to content
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

add DCO 1.1; remove reference to CLA #3609

Closed
wants to merge 3 commits into from
Closed

add DCO 1.1; remove reference to CLA #3609

wants to merge 3 commits into from

Conversation

boneskull
Copy link
Member

@boneskull boneskull commented Dec 12, 2018

We're able to ditch the CLA (yay!) for a DCO, which (IMO) is a lot less painful for developers to deal with.

I've already configured probot/dco to handle the checks; once this is ready, it will be a requirement to merge any PR across the org.

The most straightforward way I've found to signoff automatically is just to create an alias, e.g., git config alias.ci 'commit -s', then use git ci to commit.

Often you can configure GUIs such as SourceTree to do this automatically, as well.

@boneskull boneskull added type: chore generally involving deps, tooling, configuration, etc. semver-patch implementation requires increase of "patch" version number; "bug fixes" labels Dec 12, 2018
@boneskull
Copy link
Member Author

cc @mochajs/core since this is kind of Important

@boneskull
Copy link
Member Author

This should affect new PRs going forward. If the CLA is already signed, I don't want to require the DCO as well. Contributors of existing PRs are welcome to sign off on their commits, of course, but we should not require this.

@coveralls
Copy link

coveralls commented Dec 12, 2018

Coverage Status

Coverage remained the same at 90.589% when pulling aef4ce2 on dco into a63ab5f on master.

Signed-off-by: Christopher Hiller <boneskull@boneskull.com>
@craigtaub
Copy link
Contributor

craigtaub commented Dec 12, 2018

Mind if i ask why you think its less painful?
From trust perspective it seems the better choice, but from ease-of-use isn't it more work that first time with a DCO?
Just trying to understand the reasoning/benefits to this.

@boneskull
Copy link
Member Author

I've found people are usually much more squeamish about CLAs--I'm one of those people, in fact.

Here are some reasons:

  • Signing a CLA means you enter into legal terms & conditions.
  • It behooves new contributors to you know, actually read & know what they are signing
  • I wager most people signing CLAs don't know if they are actually allowed to do so
  • CLAs may be illegal to sign in some jurisdictions.
  • CLAs can be problematic for some employers.

My feeling is that CLAs are loved more by legal counsel for companies that tend to get sued over IP. Google is very pro-CLA, for example.

The JSF's CLA is rather light as these things go--it's little more than the DCO + some stuff about how you abide by each project's license.

That being said, if others aren't sold on the idea, and feel signing off on commits is worse, we can just keep the CLA.

If undecided, I encourage you to use your favorite search engine to read about CLAs vs DCOs.

I'll disable the DCO bot for now, probably shouldn't have left it on!

Copy link
Member

@outsideris outsideris left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

CLA is not painful for me, but I sometimes saw a case of that developers use multiple emails for a PR and they had a trouble to fix them for CLA.
I'm already using DCO for a while.

@outsideris
Copy link
Member

Should we remove CLA check when we merge this PR?

@boneskull
Copy link
Member Author

@outsideris that's the idea, yeah.

still would appreciate more input esp. from @plroebuck and @Munter.

@plroebuck
Copy link
Contributor

So if someone commits something that would have been illegal, under CLA they'd have been responsible. Under DCO, who is? Can both of them be used without conflict?

I prefer CLA scheme we already have myself, but don't care excessively either way.
Also seems easier to press a website button once than have to sign every git commit.

@boneskull
Copy link
Member Author

So if someone commits something that would have been illegal, under CLA they'd have been responsible. Under DCO, who is? Can both of them be used without conflict?

Who is ultimately responsible is an open question, as there's no legal precedent yet (to my knowledge).

I prefer CLA scheme we already have myself, but don't care excessively either way.
Also seems easier to press a website button once than have to sign every git commit.

Let's keep in mind that the people who would find CLAs to be an impediment to contributing are likely not seeing this PR.

I do see the benefits of a CLA if you've already signed it.

That said, I don't want to flip-flop back and forth. Maybe it'd be workable to allow for both? I'll follow up on that with JSF legal.

@JoshuaKGoldberg
Copy link
Member

Closing to keep our review queue small. The current CLA system works and nobody from OpenJS has yelled at us to change it. 🙂

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
semver-patch implementation requires increase of "patch" version number; "bug fixes" type: chore generally involving deps, tooling, configuration, etc.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants