117 points · by llambda · 13y ago · 162 comments
This is a site for beginners to OSS licensing. If this is your first time, just choose the MIT. If it's not the first time, you get to worry about whether you want to restrict reuse with the GPL, whether you prefer the BSD (2-clause or 3?), whether you agree with Stallman's philosophy enough to put up with the downsides of imposing GPL on your users, whether patents affect you, whether you need copyright assignment, whether to set up an entity to own your code, and all sort of other license bullshit.
First timers should use MIT, every time.
For an example of embrace and extend look at some of the libraries usurped by Microsoft such as Kerberos. I bet they wish they'd have used the GPL.
Open Source is free labor, but only if you MIT.
I spent a little time and made a decision. I think everyone should do the same. Don't let someone embrace and extend your work unless you want them to.
But, yes, if they're hell bent on not learning about the differences between the licenses, they probably don't want the GPL.
From another point of view (also one of mine), your license says something about the kind of community you see yourself being a part of. And, when you make this choice, you are excluding certain kinds of participants and inviting others. But community is not just a license, it's also how you treat others, how you see them, and how they see you, and the kinds of activities they find interesting (and/or sustainable - sometimes but not often the same thing).
A license is also a cost. For some people this will be a moral or ethical cost. The more desperate the startup the bigger an issue cost starts to become. Related is whatever small bit of return the startup can get - this is the babyfood that it will need to survive and grow.
Ultimately, I think our systems of economics (and if you pretend we only have one you are fooling yourself) demand diversity. There cannot be only one good choice when talking about all startups. There can be one good choice when talking about a specific startup (but for a few, multiple licenses might be a good thing).
Not that I have ever spent any time thinking about these kinds of issues...
Finally, note that while what I am saying here is so overly general as to be entirely useless, there are other [almost conflicting] ways of thinking about these issues which can also have value for a startup.
Carry on...
Unless Microsoft tracked down and managed to wipe out all places that were distributing the code that Microsoft started from, they did not "usurp" the code. Anyone is still free to start with the same code Microsoft started with.
Since this erupted into a fireball, here is a link explaining how code licensed under a permissive license can be included in a project that accepts GPL contributions:
https://www.softwarefreedom.org/resources/2007/gpl-non-gpl-c...
Second, changing the license is a permission granted only to the copyright owner. Otherwise I could take BSD-licensed code, relicense it to WTFPL, and then include it in my code without any credit to the original author.
Most licenses do not permit any sort of modification or version upgrade. The standard GPL boilerplate is extremely unusual for giving third parties a range of permitted versions.
> almost all non-GPL open source code can be relicensed as GPL.
This is absolutely wrong. You do not have the right to change the license of someone else's code.While the FSF has actively promoted this view, for many actual open source licenses for which they promote the view, it requires a rather creative (at best) reading of one or both of the two licenses involved to support this claim.
Nope, only those that want to distribute their changes of GPL licensed projects. You're free to do whatever you want and keep the changes to yourself as long as you never distribute outside your machines or your organization (this allows closed in-house development).
Which non-GPL open source licenses allow relicensing of the code? I've heard this claimed about the BSD code in a GPL project, but I was unaware the license permits that code to be relicensed as GPL.
First timer or not, either they care or they don't about said legal details. If they don't care, then the choice doesn't matter. Pick what ever license is used by libraries, or pick randomly by dart. If they do care, then they surely care enough to read up on the subject and pick based on their (or their community's) liking.
http://www.gnu.org/licenses/gpl-faq.html#NoMilitary
What it ensures is that the source code will be released along with any uses. If a products uses your code and someone requests that code from them, they should be able to point to your repository, or theirs, and provide a copy.
Now let's say one day you change course and want to close the source for future development. That is completely okay. Only the code you have already released will be out there under the GPL and the future work will be covered under your new license. Any open source libs you use, you of course have to provide the source for. What this does for all of us is it ensures the source code is available to the developer/consumer and they can modify it as needed.
Just some background, I released an OSS SMTP library in 2000 and I've never had a problem using the same library in any commercial product and in fact I went on to build a small component business on it by offering new closed-source features, such as S/MIME, and support contracts to go along with the purchase.
Here it is: http://sourceforge.net/projects/opensmtp-net/
On the subject of:
Now let's say one day you change course and want to close the source for future development. That is completely okay.
It may not be okay though. If your code incorporates other people's GPL code, you are unable to close that. And due to the "viral" nature of the GPL, the fact that your code may work together with someone else's GPL code could mean that you can't close your own code either. So you have to be very careful.
It is true that the GPL does not explicitly prohibit commercial use, but this is not the same thing as being broadly compatible with commercial use. In general, the GPL is hostile to commercial use by a whole variety of restrictions, including the requirement to share source code. This may not be immediately obvious to OSS newcomers who just want to share their code and have people use it freely.
I liked that site and for the life of me cannot find it again. Things like "can I copy Apache licensed code into this LGPL code" were answered really simply, even when the answer included comments around making changes available, impact on copyright notices etc.
Does anyone know of anything similar these days? Don't get me wrong, the site linked here is great, but for me, at least, the fuzziness is in the legalities of combining code...
I was looking up OSS licenses the other day and happened upon it.
Edit: It looks like sandyarmstrong also posted it below.
Thanks!
As a guy releasing code, I don't want you to feel obligated to me in any way. I don't want you to have to attribute back to me, or even acknowledge in any form that you've used my thing. I certainly don't want to do anything silly like force you to open source the rest of your code.
I just want to give stuff away. It doesn't seem like that's very possible these days.
"Wait," you're thinking, "I didn't say sell. I said give away!"
Ah, yes, but were you planning on accepting pull requests? Because exchange of money is not the only way to sell something. There is also the concept of "In Kind" payment (http://en.wikipedia.org/wiki/In_kind). So, you make a library with something like a WTFPL license attached. I download your library and use it for my product. Then, to show my gratitude, I submit a pull request with a new feature to one of your other projects (an "In Kind" payment). Later, I find that your first library has a bug that's causing problems for my customers...
...so I sue you for violating the Implied Warranty that you didn't disclaim in your WTFPL license.
This is why all of those open source licenses have the ANNOYING ALL CAPS clauses explicitly disclaiming any implied warranty.
The More You Know!™
So, as far as in kind is viewed by the state, software has been left alone.
For my own code, I prefer the BSD license.
Anyone who wants to take it and use it in their own project (whether open source or not) is free to do so.
For me, this provides more "freedom" than the GPL does. I don't care if others provide their changes back to me or if they take it and incorporate it into a successful commercial project and make a few dollars from it.
I'm a big fan of OS X (as are many others on here). I don't think it would exist today if not for the BSD license.
I write free software, and share it with other people who write free software. I don't share it with people who write closed source software. They are free to write their own versions of my software. After all, that's exactly what they expect me to do, write my own versions of their software.
I'm a big fan of Linux (as are many others on here). I don't think it would exist today if not for the GPL license.
> After all, that's exactly what they expect me to do, write my own versions of their software.
This part is particularly well explained, thank you.
Of course you do. GCC was shared to great effect with Apple.
Furthermore, when somebody writes MIT/BSD code (for example Apple), they share it with you because you can put it under the GPL. But when you write GPL code, you don't share it with them because they can't relicense it as MIT/BSD code.
I don't write (or publicly release) much code but I truly want anyone to be able to do whatever they wish with it (whether the result is open or closed). Unfortunately, the GPL doesn't allow that.
Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies.
Then that annoying all caps standard 'I AM NOT HELD LIABLE' sentence:
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
Done :D
It's just about as permissive as you can get and it's more professional that the WTFPL license.
MIT license do not fulfill, as it require copyright notice and permission notice.
WTFPL do not fulfill the requirement, as it require edited software to change name.
Unlicense do fulfill the OPs requirements.
It really deserve to be upvoted above the MIT suggestion.
If you're afraid of offending people and therefore want to relicense under CC0 or MIT or whatever, you can, because WTFPL allows you to do WTF you like. Obviously.
For example, for LGPL, it doesn't mention you must allow customer modification and reverse engineering for the purpose of debugging those mods.
Even people who do everything else right, still mess this up.
Some licenses are just not very easily summarized, because they are complex and nuanced.
There needs to be a concise summary of how these licenses differ, one that they can comprehend without reading the whole license text. Website is a good idea, but IMO, needs a lot of work, and may even be harmful in it's current state.
I'm also not sure why they promote the GPLv2 (without + clause) over the GPLv3 either. That may convince someone that people will always share their code, and doesn't mention tivoization. Seems like a deliberate ploy from someone who dislikes the strong copyleft of GPLv3 family to prevent people using them.
I think an improvement would be to have multiple options and to filter down licenses until only a few remain: so eg, when I click "I care about sharing improvements" on the front page, it gives me another few options, like "I want people to share their modifications for hosted websites", or "I want people to be able to use in commercial apps" - which would filter to AGPL and LGPL respectively.
To distribute a product that uses GPL'd code, the rest of that product must also be under an open-source license, but there is no requirement that everything be licensed under the GPL.
For most discussions about the GPL, people call the GPL "viral" from a misconception that it can't be combined with or depended on by non-GPL code. This belief is obviously wrong, but it persists.
Both the GPL and LGPL can be combined with and depended on by non-GPL code, so if the LGPL is not "viral", then neither is the GPL.
The GPL imposes major headaches / restrictions on potential adopters. This reduces uptake, which reduces contributions, thereby reducing sharing of improvements.
And your claim of restricting potential developers is entirely speculation. e.g, see Linux vs any of the BSDs.
There is something contradictory about requiring others to act "more freedom promoting."
I "care about patents" -- does that mean that I want users to not violated my patents, or that I want to grant my users a license to my patents?
As this is a github project, I'd definitely like to make it known that it would be really cool to have some integration with the license on github's side on a per-repo basis. Asking people to create a license when creating a public repos at the same time as a README could really help get people thinking about licensing.
Their new repo page points to choosealicense.com and lets you choose any of the major OSS licenses, though it does show the MIT, GPL3, and Apache ones in bold.
I'd definitely like the option to add a license to my repo after creation though, instead of having to manually add a license to the repo and then pushing it. A UI for asking collaborators if it's okay to retroactively open-source their work under a specific license would be useful too.
Additionally, If you are distributing any source material (images, source code and so on), then any modified file need to include a notices stating that the file has changed. You may also not remove copyright, patent, trademark, and attribution notices in said files.
If the Work includes a "NOTICE" text file (also any credit buttons with similar content), you may not remove it.
Thats about it.
I was somewhat disappointed by the dearth of selections presented by the site.