News for hackers. Stuff that matters.
Re:ChakraCore GitHub repository is now open by chejazi on Wednesday January 13, 2016 @01:06PM (#10896206)
Good that it's open source, but I found this blurb from their contributing guidelines [0] to be contribution inhibiting:

You will need to complete a Contributor License Agreement (CLA) before your pull request can be accepted. This agreement testifies that you are granting us permission to use the source code you are submitting, and that this work is being submitted under appropriate license that we can use it.

[0] https://github.com/Microsoft/ChakraCore/blob/master/CONTRIBU...

Re:ChakraCore GitHub repository is now open by stonesam92 on Wednesday January 13, 2016 @01:13PM (#10896246)
Don't most large organisations require something similar with their own open source projects? I know Google and Facebook do.

It's just a way of confirming that you own the rights to your contribution, and that you explicitly give Microsoft permission to use it. (And if you didn't want to grant them permission, you would have no reason to contribute!)

Re:ChakraCore GitHub repository is now open by carussell on Wednesday January 13, 2016 @01:57PM (#10896581)
> Don't most large organisations require something similar with their own open source projects? I know Google and Facebook do.

Mozilla gets by without one. Apple's approach for managing Swift, too.

> It's just a way of confirming that you own the rights to your contribution, and that you explicitly give Microsoft permission to use it.

If that's all they wanted to do, they could get by with something resembling the terms that Mozilla gets its committer's to sign. Usually these CLAs are specifically written to go a lot further than that, though. They usually take away a lot of the contributors' bargaining power. Microsoft's CLAs included.

Re:ChakraCore GitHub repository is now open by magicalist on Wednesday January 13, 2016 @02:22PM (#10896750)
> * Mozilla gets by without one. Apple's approach for managing Swift, too.*

Mozilla does have one.

> Code committed by you to a Mozilla Repository, whether written by you or a third party, must be governed by the Mozilla Public License 2.0, or another license or set of licenses acceptable to the Mozilla Foundation for the Code in question.

https://static.mozilla.com/foundation/documents/commit-acces...

Swift has a much shorter one:

> By submitting a pull request, you represent that you have the right to license your contribution to Apple and the community, and agree by submitting the patch that your contributions are licensed under the Swift license.

https://github.com/apple/swift/blob/master/CONTRIBUTING.md

Re:ChakraCore GitHub repository is now open by carussell on Wednesday January 13, 2016 @02:44PM (#10896927)
Neither of those are CLAs. Please correct your comment.

I'm particularly perplexed why you linked to that Mozilla document, for two reasons:

1. It says what it is, and as I said above, it's not a CLA. I've signed that document. It's required by everyone to get commit access to the Mozilla repositories. Here's how it works if you want to contribute to Mozilla: you send in a patch, they accept it, and say thank you. Nobody has to sign anything. (The same process goes for Swift, by the way.)

2. I specifically mentioned such a committer's agreement in my comment. It's even in the part you quoted.

Re:ChakraCore GitHub repository is now open by magicalist on Wednesday January 13, 2016 @04:54PM (#10897856)
> Neither of those are CLAs

I see your point now, but the steps are functionally equivalent. The person committing the code has to verify that it's licensable by the contributor under MPL2.0, which means copyright license, patent grant, etc.

The specific terms, however are down to the author of CLAs, not inherent to CLAs themselves. The Apache and the Google CLAs are fine, for instance, and look roughly equivalent to the terms of MPL 2.0.

I can see the user friendliness argument, but functionally it's the same thing. The swift CONTRIBUTING.md could just as easily put in some crazy line about patent negotiations.

> They usually take away a lot of the contributors' bargaining power. Microsoft's CLAs included.

Can you point out which part you object to specifically? On a quick read I don't see anything in here[1] that's not the equivalent of licensing your code to a project under a major OS license with a patent grant (e.g. Apache 2.0).

[1] https://cla.microsoft.com/cladoc/microsoft-contribution-lice...

Re:ChakraCore GitHub repository is now open by carussell on Wednesday January 13, 2016 @05:45PM (#10898245)
> I see your point now, but the steps are functionally equivalent.

No, you're equivocating. This part never happens in the CLA-free world: I send a patch in to somebody and they tell me to sign the CLA before accepting it. Or: somebody else sends in to Microsoft some code I've written, and Microsoft tries to get in touch with me to sign the CLA. (This has happened. Not only is it not necessary, but the text of the CLA itself says it's not necessary. The developers of the project don't even understand their own CLA. This is not specific to Microsoft. I wrote about cargo-culted CLAs when Swift was opened up[1].)

> The specific terms, however are down to the author of CLAs, not inherent to CLAs themselves.

This isn't remarkable; I don't know why you chose to make a remark about it. It's fluff. It doesn't legitimize your (still uncorrected) comment, and it doesn't delegitimize mine. Superficially, though, it looks like it does. I don't like this.

> The Apache and the Google CLAs are fine, for instance, and look roughly equivalent to the terms of MPL 2.0.

I'm not going to analyze them here, but let's go with the "equivalence" stance. The argument becomes, "They're equivalent to the terms that are already in the license, so there's no need for them at all." That is, there's no reason not to accept the changes if the contributor never signs the CLA.

Of course, most of the time, the CLA isn't equivalent, which is why you're asked to sign it.

> Can you point out which part you object to specifically? On a quick read I don't see anything in here[1] that's not the equivalent of licensing your code to a project under a major OS license with a patent grant (e.g. Apache 2.0).

To use Apache 2.0 as a specific example, I already wrote a comment about it.[2] The CLA neuters the patent termination clause. This leaves the "beneficiary" of the CLA open to sue anyone over patents with impunity while keeping the hands tied of those on the other end of litigation.

1. https://news.ycombinator.com/item?id=10669891

2. https://news.ycombinator.com/item?id=10896722

Re:ChakraCore GitHub repository is now open by binarycrusader on Wednesday January 13, 2016 @01:23PM (#10896322)
Yes, many projects do not, but some very popular ones do: Google Go requires one. Apache requires one. Some FSF projects require one.

I could go on, but the point is that CLAs exist for good reasons. There may be another, different way to accomplish the same goals, but since it isn't my pocketbook funding the project, I don't feel like I have a right to complain.

As such, just because a project has a CLA doesn't mean there's anything nefarious or inhibiting going on.

Re:ChakraCore GitHub repository is now open by krisdol on Wednesday January 13, 2016 @01:37PM (#10896422)
In the case of the MIT license, I don't see much harm in throwing in a CLA because it's nearly impossible for Microsoft to do anything to break the terms of the license; however, while I am not a lawyer and this isn't legal advice, in general signing a CLA (including in this instance) often gives the other party rights to re-license the work and continue to use the work if they end up in violation of the original license. For istance, a hugely popular, third-party Minecraft modification platform called Bukkit was partially licensed under the GPL (v2, I believe); however, it turned out that this code was not permitted to be distributed as GPL because it linked to to proprietary code, and Mojang was not eager to open source anything anytime soon. Because contributors submitted their contributions to be used under the terms of the GPL, and the project failed to meet the requirements of the GPL, contributors were then able to file legal DMCA notices of copyright infringement to take down the project.

Regardless of what license the project is filed under, as an individual contributor working for free for the community, the license of a project determines the terms under which I am sharing my work. I expect those to be respected in perpetuity, and I would like the right to rescind my contribution if the copyright holder is in violation of the license.

(Please don't turn this into a GPL vs MIT discussion)

EDIT

Echoing other responders here, if you downvoted I would really appreciate the discussion of why.

Re:ChakraCore GitHub repository is now open by binarycrusader on Wednesday January 13, 2016 @01:47PM (#10896494)
Regardless of what license the project is filed under, as an individual contributor working for free for the community, the license of a project determines the terms under which I am sharing my work. I expect those to be respected in perpetuity, and I would like the right to rescind my contribution if the copyright holder is in violation of the license.

The CLA is just another license to consider with the project; just like projects that have the "any later version" GPL clause. That little addition is important to some individuals.

I think a more successful argument would be against the lack of specific guarantees in existing CLAs, rather than CLAs themselves.

For example, the CLA could give joint copyright to the involved parties, but also agree to only publish the code under a license published by the Free Software Foundation.

CLAs, as you point out, are sometimes a necessary mechanism to ensure that a project can correct licensing issues when they arise. Obviously, through careful choice of licensing it may be possible to avoid the need for a CLA entirely, such as is starting to be done with the Apache License 2.0 by some projects.

So I would think of this differently: depending on the license, some projects may need a CLA for protections only available to them with one. For those projects, the community should encourage them to encode their intentions in the CLA to assuage fears and provide certain guarantees to contributors.

Finally, keep in mind that the entire world does not follow US Contract / Copyright law (or even the bern conventions). In some countries, a CLA may be the only possible way to ensure that a project won't have problems later. While the current versions of today's "free software" licenses have generally tried to account for that, legal situations change over time.

Re:ChakraCore GitHub repository is now open by carussell on Wednesday January 13, 2016 @02:08PM (#10896654)
> CLA could give joint copyright to the involved parties

Licensing to allow joint copyright isn't really a thing in the US. Anyone trying to craft a license that formalizes joint ownership after the fact is going to have a not-so-fun time trying to make that work.

Re:ChakraCore GitHub repository is now open by sjrd on Wednesday January 13, 2016 @01:09PM (#10896221)
Most open source projects have a CLA, nowadays. I don't see how this would inhibit contributions.
Re:ChakraCore GitHub repository is now open by jhchen on Wednesday January 13, 2016 @01:10PM (#10896231)
What's wrong with a CLA? It's incredibly common for projects open sourced by companies.
Re:ChakraCore GitHub repository is now open by teddyh on Wednesday January 13, 2016 @01:16PM (#10896276)
Why Your Project Doesn’t Need a Contributor Licensing Agreement, Monday 9 June 2014 by Bradley M. Kuhn:

http://ebb.org/bkuhn/blog/2014/06/09/do-not-need-cla.html

Re:ChakraCore GitHub repository is now open by JupiterMoon on Wednesday January 13, 2016 @01:16PM (#10896274)
It means that the company owns the copyright to everything and can close the source again any time they want.

EDIT

Dear mods. Some pretty measured posts are getting serious heat in this (and other threads relating to MS) maybe you could look into it?

Re:ChakraCore GitHub repository is now open by Sanddancer on Wednesday January 13, 2016 @02:25PM (#10896769)
The FSF has requires contributors to sign one too. Are they evil as well?
Re:ChakraCore GitHub repository is now open by JupiterMoon on Wednesday January 13, 2016 @02:28PM (#10896796)
They require a CLA for exactly the same reason. So that they can change the licence later on if they want.

However, the FSF has a different record to Microsoft over the last 40 years wrt FOSS software.

Re:ChakraCore GitHub repository is now open by yarrel on Wednesday January 13, 2016 @04:26PM (#10897641)
No. But you have that backwards. The FSF is good because they protect everyone's freedom to use the software, and one of the ways they do that is through copyright assignment (not a CLA).
Re:ChakraCore GitHub repository is now open by teddyh on Wednesday January 13, 2016 @01:18PM (#10896290)
It also means that the company can sell proprietary versions with extended functionality, and the company is therefore motivated to not allow contributions to the free code which duplicates functionality which they sell.
Re:ChakraCore GitHub repository is now open by comex on Wednesday January 13, 2016 @01:44PM (#10896471)
However, since ChakraCore is released under a permissive license (like most corporate open source projects), Microsoft could do the same thing without a CLA. It matters more when something is under a GPL variant...
Re:ChakraCore GitHub repository is now open by carussell on Wednesday January 13, 2016 @02:18PM (#10896722)
It's a good point, but it matters for Apache licensed code, too, because Apache 2.0 has a self-destruct clause in the patent grant to keep all parties' lawyers in check. CLAs (like the one Microsoft uses) routes around that.

The way this ends up working for Microsoft projects licensed under Apache 2.0 is that it essentially allows Microsoft to do anything with the contributions (as if it were licensed under MIT, with a liberal interpretation of the implied patent grant), but requires everyone else to continue abiding by Apache 2.0. Not exactly balanced.

EDIT: I'm totally confused about why people are having a problem with this comment.

Re:ChakraCore GitHub repository is now open by krisdol on Wednesday January 13, 2016 @03:39PM (#10897308)
>I'm totally confused about why people are having a problem with this comment.

It seems like half of this submission is a graveyard. Disappointing.

Re:ChakraCore GitHub repository is now open by JupiterMoon on Thursday January 14, 2016 @07:18AM (#10900897)
Anything that discusses MS seems to attract this kind of rather heavy down-voting.
Re:ChakraCore GitHub repository is now open by Joky on Wednesday January 13, 2016 @01:26PM (#10896348)
Many license allows that without a CLA. The CLA allows the company to change the license of the code to whatever they want. Which is usually inhibited by license compatibility...
Re:ChakraCore GitHub repository is now open by cjbprime on Wednesday January 13, 2016 @01:09PM (#10896225)
NodeJS has exactly the same restriction.
Re:ChakraCore GitHub repository is now open by silverwind on Wednesday January 13, 2016 @01:58PM (#10896590)
Node.js does not require a CLA anymore since it left Joyent behind.
Re:ChakraCore GitHub repository is now open by cjbprime on Wednesday January 13, 2016 @02:37PM (#10896867)
Oops thanks!