Take the 2-minute tour ×
Programmers Stack Exchange is a question and answer site for professional programmers interested in conceptual questions about software development. It's 100% free, no registration required.

Some time ago I developed a small project for use in unit testing scenario's and published it on Codeplex. Back then I choose the GPL license but I didn't really understand it. Today I changed it to MIT, because it's a much simpler license that I can understand.

I like to be recognized as the copyright holder, but I want everybody to be able to use the library without worrying about license issues. I think MIT covers both, but not 100% sure. 'Virality' is not an issue for this project.

Would this license (MIT) in any way prevent a person to use my library for the unit testing of a closed-source commercial or private project? In this regard, is my recent change to MIT a change for the better?

share|improve this question
add comment

3 Answers

up vote 5 down vote accepted

The MIT license is essentially a "do whatever you want with this software, just don't blame me if something goes wrong" license. It's quite liberal. So if you don't care how your library is being used (or abused) and just want to be recognized as its author, then go with the MIT license.

share|improve this answer
    
Well, I didn't exactly mean that, was more asking for a reference that supports the "do whatever you want with this software, just don't blame me if something goes wrong" claim. But I guess the licence is short enough, so that works too. –  Yannis Rizos Jan 18 '12 at 22:07
    
Right, so MIT has 3 paragraphs. The first paragraph says (using your words) "do whatever you want with this software" and meets my requirement: everyone should be able to use this software. The second paragraph takes care of my wish to be recognized as the author. And the third paragraph says (again, in your words) "just don't blame me if something goes wrong", which I myself hadn't thought of yet. Is a disclaimer like that (NO WARRANTIES) common in OSI licenses? Because that would mean it doesn't make a big difference for my choice and I would go with MIT in this case. –  michielvoo Jan 19 '12 at 7:17
    
I think it's pretty common. It's there to cover your ass if your software accidentally messes something up. –  Bernard Jan 19 '12 at 13:15
add comment

If i understand what happens regarding two licenses that you defined at two different points? the answer is:

The simplest approach will be:

You should keep the original license of earlier release. For the next release you can release with MIT license.

Alternatively, you can re-release the same software with what is called Dual license. You can refer to this discussion which explains some good parts of it: MIT vs. BSD vs. Dual License

There is another thing i want you to clarify: Why do you want to change from GPL from MIT? Only advantage i see is that MIT will allow redistribution under commercial easily. But i would rather want that if people use my work - their derived work may well be open. If in case, there is a friend of mine whom i want to give for commercial purpose - i can always make specific distribution under MIT (because i am the copyright holder).

So my general advise to you is :

Keep GPL license for the mass who can directly download. If you need to give special rights to people - replace the license file and distribute to them personally.

share|improve this answer
add comment

The answer to your question is right there in your license:

Permission is hereby granted, ... to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

...

So no, you have pretty much assigned the right for anyone to do as they please with your code, as long as they attribute you.

A great resource for determining which license is the right license for you is the very comprehensive, interactive license differentiator, from Oxford Universities OSS Watch.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.