I have a project I've been working on which I would like to push into a new, public Github repository as open source. After searching on StackExchange for the right license to use I've settled on the BSD license.
My question is: now what? Do I just need to copy the BSD license text into a file called LICENSE in the root of my repository and call it good? Is that the general rule for how all open source licenses work? Or do I need to notify some other organization that I'm using this license so I can 'enforce' it if necessary?
-
3This question contains potentially useful similar license information. (Particularly the accepted answer) programmers.stackexchange.com/questions/26761/…John– John12/19/2010 03:49:09Commented Dec 19, 2010 at 3:49
-
@John - "shurely some mistook". The question you linked to is about terms of service, not software licenses.Stephen C– Stephen C12/19/2010 07:03:00Commented Dec 19, 2010 at 7:03
-
3@John - useful, but not relevant to this question. I could "usefully" tell him about alternatives to github, or that open source is the "spawn of the devil", or that he should brush his teeth every morning. But I don't ... because it is irrelevant to the question asked.Stephen C– Stephen C12/19/2010 22:23:41Commented Dec 19, 2010 at 22:23
-
1It is irrelevant because he is not worried about being sued. Is that clear enough for you?Stephen C– Stephen C12/20/2010 07:36:25Commented Dec 20, 2010 at 7:36
-
1@gnat: No, this question is about how to apply the license once you have made a choice already.Martijn Pieters– Martijn Pieters04/14/2013 09:30:51Commented Apr 14, 2013 at 9:30
2 Answers 2
It is sufficient to attach the licence file in your work. However it is normally preferable to add a small comment stating who owns the copyright and where to find the full licence text at the top of each source file.
You do not need to notify any organisation to enforce your licence if someone breaks the terms, although it will require you to take them to court.
-
Don't forget to fill in your name (the name of the entity that holds the copyright) and copyright year. (Unlike this one, for example: github.com/MikaelEliasson/EntityFramework.Utilities/blob/master/… )John B. Lambe– John B. Lambe11/04/2018 17:59:10Commented Nov 4, 2018 at 17:59
If you have decided on a particular license suits your needs, then putting a License.txt file in a prominent place in the distro should be sufficient. Also, you should make sure that the github metadata for your project, Maven POM files and so on also declare the licensing in the appropriate way.
Or do I need to notify some other organization that I'm using this license so I can 'enforce' it if necessary?
It is not necessary. Enforcement of the license is entirely your responsibility. (Not that there is a lot to enforce .... with a BSD license.)
However, if you were prepared to use a GNU license and assign copyright to the FSF (and your project is worth protecting), they would take care of enforcement of the license.
-
On the other hand, that way you would lose your copyright, and if you ever decided to use your own software that you worked hard for in a proprietary way, you would be shafted. Once you sign over your copyright, it can be enforced against you as well.gnasher729– gnasher72907/12/2015 12:37:37Commented Jul 12, 2015 at 12:37
-
That is true. If you have ambitions for using your code in a proprietary way, you should be spending a lot more time investigating the implications of the various choices you have on releasing and licensing code and enforcing your IP rights.Stephen C– Stephen C07/13/2015 11:18:12Commented Jul 13, 2015 at 11:18