[PATCH 0 of 6] Port of hg's C modules to py3k

Adrian Buehlmann adrian at cadifra.com
Thu Jun 10 02:58:27 CDT 2010


On 10.06.2010 04:12, Nicolas Dumazet wrote:
> 2010/6/10 Renato Cunha <renatoc at gmail.com>:
>> The PYBYTES_Foo macros are very good indeed. Unfortunately, AFAIK, the license
>> used on that file is incompatible with the GPLv2, which means I cannot really
>> use your code directly. I'm writing a simpler "util.h" (temporary name) with
>> some macros defined in a less clever way while I don't come up with a more
>> interesting version.
>>
> 
> Well, Michael seems to be the only contributor of that file. If you're
> interested in re-using some of his code, maybe Michael can agree to
> license for us this file under GPLv2, so you can cherry-pick what you
> want instead of rolling your own. Michael, would that be possible? :)
> 

Regarding the license, as I understand it, it would be enough to pick a
GPL compatible [1] license as listed on

http://www.gnu.org/licenses/license-list.html#GPLCompatibleLicenses

The current license of that file is the "Common Public License, version
1.0", which according to

http://www.gnu.org/licenses/license-list.html#GPLIncompatibleLicenses

is incompatible with the GPL due to the following (quoting gnu.org):

'''This is a free software license. Unfortunately, its weak copyleft and
choice of law clause make it incompatible with the GNU GPL'''

If all copyright holders of that file agree, you could for example pick
the FreeBSD License [2], which is compatible with GPLv2+ (quoting
gnu.org: "If you want a simple, permissive non-copyleft free software
license, the FreeBSD license is a reasonable choice").

[1] http://www.gnu.org/licenses/gpl-faq.html#WhatIsCompatible - (quoting
gnu.org: "It means that the other license and the GNU GPL are
compatible; you can combine code released under the other license with
code released under the GNU GPL in one larger program.")

[2] http://www.freebsd.org/copyright/freebsd-license.html



More information about the Mercurial-devel mailing list