-
Notifications
You must be signed in to change notification settings - Fork 39
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add License to the Code #182
Comments
You can legally modify and use the code, that's why it's open source. Please don't use the soundtracks and other assets without permission though, as they are licensed (CC by SA for example). What (open-source) license for code would you recommend for that purpose? |
The fact of the matter is that copyright is automatic, so unless there is a specific license attached, the default is literally “all rights reserved”. That being said, very happy to help you chose an appropriate license. What is the best FOSS license for your project mostly depends on what your plans and concerns are. Some good questions as a start are:
After a quick glance at your code base it seems that all code that you use is under a permissive license, so your license options for Cendric2 are pretty wide. |
Thanks for yur suggestions. I'll see what fits best for us and will update it accordingly ;) |
I thought I would help a bit on this. As we know, copyright is automatically all rights reserved. So to help the "which license?" If you REALLY don't care what people do with this code whatsoever. I recommend WTFPL or CC0. Basically says public domain, don't even need to attribute you. the copyright can be changed. If you want to be at least attributed you might then pick BSDL or MIT license which requires attribution but doesn't require anything else while allowing everyone to use the code. Lastly if you want to force people to give you their changes, additions or force people to open source their code if they use yours at all then you use GPL. Which will require people to push their code as GPL even if they only use say 1 function or the entire thing. A lot of people encouraging open source like the GPL because it enforces open source like a legal virus, spreading and spreading keeping code bases open source. This can be useful if you are looking to leverage the changes and updates in a way such as creating an engine but personally would recommend against the GPL. So I would recommend MIT License. CC0 if you really don't care. |
I personally would recommend to have two different licenses for code and assets. That way you could go with something like CC BY-NC-ND that way the creators are protected and people aren't allowed to use it commercially or in an derivative work without permission. As for code, while I do like CC0, I wouldn't recommend it for a project like this, because you're not only allowing anyone to do with your code whatever they want, but you're actively giving up your copyright, which you don't really want for a project of that size. MIT (and zlib) are very permissive licenses that would fit well and if you want to have a little more control, you could also go with something like Apache 2.0. In the end, I feel it's not that important because even if someone would violate your copyright or your license, chances are you don't want to invest the amount of money to legally pursue someone, especially if they don't even live in your country. |
Since other than having a soft spot for FOSS games, I don’t have any stakes in this project, I’m happy to take the back seat in this discussion. Happy to voice my opinion or help, if you want some friendly (and personal opinion) feedback from a professional FOSS license compliance lawyer. The only thing I hope this discussion steers into is, that before specific licenses get discussed, the important question of what you and your community want to achieve with it gets answered. There are over 300 widely known FOSS licenses, of which dozens are very popular. Only after you know what you want or what you are concerned with, we can identify a selection of licenses that match your requirements. And yes, separate license for assets and code is totally feasible. P.S. If this comment came across a bit rude, it wasn’t intended that way at all. I’m in a bit of a hurry typing this (hence terse language) and I just want this discussion to be as productive and positive as possible. Love you guys 🐈 |
I updated both LICENSE.md and Readme.md to include the changes. The code is now licensed under a MIT license (that does make it open-source, yes?) I hope that works for you all. Can anyone who is more experienced in this domain, give me a short confirmation, that this works how it should? |
That should do it. Some people add a comment header of the license to each code file just to ensure it stays with the code but I don't think that is strictly required. |
Basic requirements (almost) met 👍Apart from a small change, it looks good. Other than the copyright notice you should not change the text of the MIT license (or any/most other licenses for that matter). Once you put a canonical version of the MIT license into your repository, also GitHub will automatically detect it and tag your repo appropriately. What you should do instead is clarify in the What I’d (more or less) do is:
Best practicesHeadersThe copyright and license notice in the source code file headers are not required, but it’s a really good idea. The thing is that if someone copies just some files from your code elsewhere, how can someone else know who is the copyright holder and the license of those files? Here’s a really good, short and simple tutorial on best practices – it even includes² scripts and tests to help you out: https://reuse.software/ In short, regarding the headers in your case, you’d add at the beginning of each file the following comment:
Of course, feel free to also include some short info about where that file came from and what it does (e.g. link to your projects’ website or repo). Add other licenses in a consistent mannerWhile you’re at it, you might want to store the plaintext version of the CC-BY-NC-SA-.4.0 license text into your What I’d actually do is
Comment on MITYup, the way you understand MIT and CC-BY-NC-SA-4.0 seems correct :) 1 Software Package Data Exchange is the standard for license and copyright annotation. |
Wow thank you so much @silverhook for this extensive explanation. I followed your suggestion and added both licenses to the LICENSE folder. That should do it ;) |
Brilliant 😄 Now, I know it’s a small nit-pick, but according to REUSE.software, the folder should be named |
No problem, I just overlooked that. It should be fine now and thank you for your help. :) |
If there is no license, people can not use the code legally, and if people are not meant to be able to do that, please tell them so they do not accidentally steal your code. Is this project meant to be Open Source in the sense that it is modifiable or can people just see the code?
The text was updated successfully, but these errors were encountered: