Grouflon/3rd_training_lua

There seems to be no license information

MCMic opened this issue · 5 comments

MCMic commented

Hello,

I would like to try and adapt this work to support ssf2xj as well. I wanted to start small and at least allow the script to run without crashing and display input when the rom is ssf2xj.

But I cannot find any License information in the repository, is this code under a free license?
Could you add license information so that we know if we can use this for derivative work or not?

That's a great suggestion. I don't know anything about licences though, do you have anything to suggest ? I probably want it to stay open source forever, but I don't think I'm against commercial uses as long as it remains open.

MCMic commented

Basically there are 2 big family of free/libre/opensource licenses:
Copyleft: You can modify and distribute as long as it stays under the same license
Permissive: You can do whatever you want even under an other license.

So if you say «as long as it remains open.» that would mean Copyleft. The caveat is that people will have to put modifications under the exact same license, so in some cases it can make it harder to reuse (What I mean is if I want to borrow code from software A under license LA and software B under license LB, if both LA and LB are copyleft I cannot. This is one of the point in favor of permissive licenses).

You have a list here: https://fr.wikipedia.org/wiki/Liste_de_licences_libres (you speak french I think?)

The most common is GPLv3. See https://choosealicense.com/licenses/gpl-3.0/

MCMic commented

It seems github has a tool to create the appropriate LICENSE file: https://github.com/Grouflon/3rd_training_lua/community/license/new?template=GPL-3.0

MCMic commented

Note : If at somepoint fightcade wants to distribute the script bundled with fc2, it might be easier if the script is under LGPL rather than GPL.

LGPL makes it clear that you allow your code to be distributed along non-free code (or code under other free licenses) as long as your code stays under LGPL. While GPL forces the whole software to be GPL (more or less, in the case of fc2 I do not know how GPL would apply as their software and the script are clearly separated and kind of independent, but the GPL may still apply as it’s quite strong I think). That would be https://github.com/Grouflon/3rd_training_lua/community/license/new?template=lgpl-2.1

Note : If at somepoint fightcade wants to distribute the script bundled with fc2, it might be easier if the script is under LGPL rather than GPL.

LGPL makes it clear that you allow your code to be distributed along non-free code (or code under other free licenses) as long as your code stays under LGPL. While GPL forces the whole software to be GPL (more or less, in the case of fc2 I do not know how GPL would apply as their software and the script are clearly separated and kind of independent, but the GPL may still apply as it’s quite strong I think). That would be https://github.com/Grouflon/3rd_training_lua/community/license/new?template=lgpl-2.1

Ideally for FC2 to redistribute you'd want to license under Apache, BSD or MIT. These are the most permissive licenses that still protect the rights holder in some ways.