283 points · by ingve · 5y ago · 188 comments
There is a clause in the license which implies that almost everybody who uses GitHub/GitLab/etc. to work on an Apache 2.0 project in the common workflows is in breech of the license.
Specifically, the license says that every file with modifications has to include a corresponding notice that the file was changed. Nobody does this in practice.
Unfortunately the license is simply badly written.
Licenses like the GPL don't have this problem because they only require that a modified version of the software is clearly marked as such without stating how that marking should be done. So the metadata contained in the Git history should be enough to satisfy those superior licenses.
- 4.b says, "You must cause any modified files to carry prominent notices stating that You changed the files." When you modify the file using Git (etc.), the file is stored in the Git database in such a way that it can only be accessed indirectly, by going through an object (a commit) whose entire purpose is to be a record and notice of your modification. That seems pretty prominent.
- 4.c obligates a redistributor like GitHub (etc.) to "retain, in the Source form of any Derivative Works that You distribute, all copyright, patent, trademark, and attribution notices from the Source form of the Work." But the prominent notice was never in the Source form of the Work, it was in the Git metadata.
Consider the analogy to the patch-based workflow: if you email a patch to a mailing list, you satisfy 4.b because the email itself serves as a prominent notice, but 4.c would not obligate the maintainer receiving the email to add the information in the email (such as the From: header) to the Source form. They could just apply the patch as given.
This is a somewhat strained reading, to be fair, and it'd be nice to standardize a fewer-clause version of the Apache license à la the fewer-clause versions of the BSDs. It seems to me that the Apache license minus 4.b, 4.c, and 4.d would clearly be a FOSS license by any standard that accepts the existing Apache license.
Can't you achieve this easily with a git hook or something like that?
People are in violation of the licence not because it's bothersome to produce the notice, but because they are unaware of the clause.
> An MMC [Massive Multiauthor Collaboration Site] is "eligible for relicensing" if it is licensed under this License, and if all works that were first published under this License somewhere other than this MMC, and subsequently incorporated in whole or in part into the MMC, (1) had no cover texts or invariant sections, and (2) were thus incorporated prior to November 1, 2008.
> The operator of an MMC Site may republish an MMC contained in the site under CC-BY-SA on the same site at any time before August 1, 2009, provided the MMC is eligible for relicensing.
Here, there be dragonnes...
I can easily see an IC agreeing to a relicensing, thinking they had full rights, but their employer, at the time, had a "shower clause," and trying to (and maybe succeeding in) getting that section of license nullified. At least, costing the LLVM a bunch of money and time.
This was one reason that I made sure that my employer did not have a "shower clause," before starting to develop a lot of open-source software.
Knowing them, I'll bet that people hired after me had to sign that away, but I was never made to sign anything like that; even retroactively.
This is a mammoth effort, and I wish them well. I suspect they have already wargamed a lot of the possible issues.
Here be dragons indeed. This is flat out incorrect. In quite some jurisdictions, copyright is a nontransferable inalienable right any authors gains upon writing something, in perpetuity (can't even be transferred after death). Others, such as employers, may merely license is, sometimes exclusively.
But it's not how it works in the US, which is where the person responding to you lives. In the US, copyright is transferrable, and "works for hire" are initially owned by the employer.
Either way, saying that the quoted bit is "flat out incorrect" seems like an overstep, in my opinion.
The type of contract you should have contributors from such jurisdictions sign is a license to use. If you haven't, getting 'permission' is meaningless; the author possibly (in my experience: probably) doesn't know they're actually not legally able to agree to such a change.
That one should be fun. An anonymous mail account service.
I am not a lawyer.
"We can check if copyright even applies to the particular contribution. Very small contributions may not be covered by copyright, and hence may not need a license agreement."
not a lawyer, obviously
Not that I suspect LLVM to take that kind of risk, but it is an interesting consequence of anonymous contribution.
Not all contributions were relicensed (resulting in code being rewritten), and we lost some code in the standard library (the csv parser).
Now Racket is trying to make it more friendly to people by created a new language (called Rhombus for now) that is Racket without the parenthesis.
They are playing the long game. But I hope these changes attract new Racketeers in the future
For me it's very much the opposite, I refuse to contribute code to anything licensed under the MIT/BSD/etc family of languages.
It makes me sad to see so much confusion, incorrect information, naiveté and paranoia going around regarding the GPL that it's scaring people off. I think that most of these people would feel differently if they understood better.
I think the systematic defanging and watering down of the free software movement is a great loss.
> It makes me sad to see so much confusion, incorrect information, naiveté and paranoia going around regarding the GPL
I agree, there are still too many people who think the GPL is _just_ another license. It's not and many figured this out the hard way after they already accepted contributions under the GPL and moving away has become hard to impossible.
Let’s not kid ourself: the main reason companies don’t like the GPL is because they don’t want to share the code they actually use in their products. Making that impossible is an intended consequence of the license not some unforeseen flaw. If you are fine with companies profiteering from your work then choosing the MIT or BSD license definitely make sense.
The whole discussion really is about commercial interest in the end.
Some of these concerns are simply commercial, and some are philosophical. I think people might have been convinced to dislike GPL. But I don't think that was misinformation or confusion. It might be fear-mongering about the effects of a 'viral license', but we can only guess at their effects.
Personally I dislike GPL because it limits developers like me, and because I find the (roughly true) idea 'you can only use GPL code if you're own code is GPL' too coercive. I don't think that is a virtuous method for improving the world.
I have no idea what you're talking about. You can use gpl code without being the owner of said code.
You're thinking in very selfish terms. The gpl is bot about safeguarding rights for the developer, but instead it safeguards rights for the user. When code is licensed as gpl, it's a promise to the user that they'll always be able to get, use, and modify the code for the software. That comes at the cost of developers not being allowed to make the code private.
I think that safeguarding user rights is a virtuous method of improving the world.
I see GPL as a sign of quality and am attracted by projects using it. It's a promise nobody will ever take that thing away from me once I've started using it.
I'm a developer, by the way. :-)
Edit: Not to mention that some people even using GCC, Linux and Java.
What GPL does is make sure that code that is built on top of that will also be accessible to you, if the product it's used in is made public. But your own contributions and anything MIT-licensed it is added to will never be legally taken away from you.
GPL makes sure the project's main strand of development stays accessible to you.
MIT code can be freely taken into proprietary fork, with software modified and sold and no patches contributed.
Not sure how often it happens? Has it actually happened and is it a plausible attack? Nowadays at least AGPL is needed to defang "and we will sell it as service rather than selling software" workaround for GPL.
That can't be said about software under the above mentioned licenses.
Personal opinion is that BSD > GPL. Free as in properly free. I always donate to BSD license folks. When corporations use BSD software, they usually get engaged in the BSD community - under the stilts of management, suited lawyers and spreadsheet bean counters, it's just us programmer folk... you know. We like tinkering things and BSD software tends to have a different philosophy. Very welcoming to people who want to propel the world forward. Truly liberating, try BSD software.
Copyleft software therefore guarantees more freedom than permissively licensed software.
With LLVM, the license isn't really changing in spirit. The concerns seem to be more practical — my understanding is that they're trying to get out from under a poorly drafted patent clause and also unify the code under a single license so they can move stuff around more easily.
I was googling "I" GPL. Maybe consider upper-casing the L next time so it's not as ambiguous?
Is that a typo of LGPL or does lGPL means something else? I even had to google it to make sure it was a "L" and not an "I".
I guess if I start some big library I will hope that everyone assigns the copyright for their contributions entirely to the project so that I never have to go through that nonsense. But I guess that has other ramifications.
1. Never accept outside contributions in principle. Works fine for SQLite, for example.
2. Pick a well-known copyleft license and just stick with it. Works fine for Linux, for example.
3. Use a well-known permissive license that allows redistribution of modified code under a different license without burdensome conditions. Works for lots of projects.
4. Force contributors to assign copyright to an entity that people will trust forever. Ostensibly works for FSF folks, academia, etc.
5. Don't worry about it. Let others pay for lawyers doing law stuff. You can delay making the decision until you have at least a dozen of actual contributors.
6. Have a CLA (contributor license agreement) that lets the project the right to change the licence. (Different from 4. because there is no copyright transfer).
https://lists.llvm.org/pipermail/llvm-dev/2017-August/116370...
I have contributed to LLVM while working for INdT in Brazil, Google in Ireland and Canada, Mozilla and Sony Interactive Entertainment (both in Canada). I probably also got a few patches in between jobs.
Maybe they have tracked every patch to every employer and checked that the copyright is OK. Maybe they also rewrote the patches I did in between jobs, but I am not aware of any of that.
While my reason for leaving LLVM are indeed different from the license change, having to abandon what was a fairly successful career for refusing to accept racism does make it less likely that I will reconsider.
Do you ever regret your decision? I think I understand your perspective, but does it ever seem a bit impractical to move away over the CoC? It seems like Renato had similar misgivings but resolved to stay, for example. I can understand not wanting to agree to the CoC but what about continuing to contribute without agreeing? Also, the association with "outreachy" seems to have little impact on most developers work. Why let it bother you any more than the evils of companies who use llvm in their products supporting censorship or other things you might oppose?
More importantly, Niemöller's poem always comes to mind when the argument is "it has little impact on you". So no, I don't regret it.
https://foundation.llvm.org/relicensing/LICENSE.txt
You need to scroll to the bottom to see that its not.
I think it’s highly unlikely you’re going to get agreements from even the majority of the long tail, so moving towards the “end-game” before 2023 might be prudent.
This screwed over a few projects which are unable to re-license to an apache2-compatible license. Offhand, I believe it affected the LGPLV2.1 licensed Wine/Codeweavers win32 emulation layer for running windows 32-bit programs on a 64-bit-only mac, and affected several other programs as well.
I keep wondering they they did not make Apache 3.0 with all their problems solved. And instead becomes Apache 2.0 with Exceptions?
This is not the case in the United Kingdom, where the threshold of creativity for copyright is basically zero.
> The right-click menu option with the trash can symbol can’t be clicked, but dragging the file over to the trash can works just fine.
"If copyright does apply and the code is still in the code base, we can remove the contribution. Depending on whether current contributors and users still value the effect of that contribution, it may need to be reimplemented."
Will it sometimes be easier to just fork? Would fork-relicensing be a good thing for the community?
Or should there be a different approach to ownership that does not allow for relicensing?
As a contributor to some projects that relicensed, I felt pressured to accept a change that was packaged up together with some major downsides.
It is arguable which method is better.
It did all right regardless. Why bother with coddling the companies? As someone who wants software patents to die in a fire, I think coddling of this kind is counterproductive in the long run. I do buy the rest of their arguments though.