Re: [legal-discuss] [all][tc][kolla]is it OK to modify python code in OpenStack project?
Added all and tc tags, as it might affect everyone really. On 25 December 2016 at 23:04, Jeffrey Zhang <zhang.lei.fly@gmail.com> wrote:
Recently, Kolla project has requirement to modify[1] the python's ConfigParser.py code[0].
Python is using PSF license[3], which is GPL compatible. But OpenStack is using Apache License.
Here is the diff view[2].
I want to make sure: is it OK to re-license ConfigParser.py? If not, what the solution?
[0] https://github.com/python/cpython/blob/2.7/Lib/ConfigParser.py [1] https://review.openstack.org/412101 [2] https://gist.github.com/jeffrey4l/2258b276cbd038e73797cfa0952da371/revisions... [3] https://docs.python.org/3/license.html
-- Regards, Jeffrey Zhang Blog: http://xcodest.me
_______________________________________________ legal-discuss mailing list legal-discuss@lists.openstack.org http://lists.openstack.org/cgi-bin/mailman/listinfo/legal-discuss
PSF is ok per (https://governance.openstack.org/tc/reference/licensing.html) Though the overriding the _read() seems like something that could break easily -- dims On Mon, Dec 26, 2016 at 12:13 PM, Michał Jastrzębski <inc007@gmail.com> wrote:
Added all and tc tags, as it might affect everyone really.
On 25 December 2016 at 23:04, Jeffrey Zhang <zhang.lei.fly@gmail.com> wrote:
Recently, Kolla project has requirement to modify[1] the python's ConfigParser.py code[0].
Python is using PSF license[3], which is GPL compatible. But OpenStack is using Apache License.
Here is the diff view[2].
I want to make sure: is it OK to re-license ConfigParser.py? If not, what the solution?
[0] https://github.com/python/cpython/blob/2.7/Lib/ConfigParser.py [1] https://review.openstack.org/412101 [2] https://gist.github.com/jeffrey4l/2258b276cbd038e73797cfa0952da371/revisions... [3] https://docs.python.org/3/license.html
-- Regards, Jeffrey Zhang Blog: http://xcodest.me
_______________________________________________ legal-discuss mailing list legal-discuss@lists.openstack.org http://lists.openstack.org/cgi-bin/mailman/listinfo/legal-discuss
_______________________________________________ legal-discuss mailing list legal-discuss@lists.openstack.org http://lists.openstack.org/cgi-bin/mailman/listinfo/legal-discuss
-- Davanum Srinivas :: https://twitter.com/dims
On 12/26/2016 07:27 AM, Davanum Srinivas wrote:
PSF is ok per (https://governance.openstack.org/tc/reference/licensing.html) Though the overriding the _read() seems like something that could break easily
Yah - you can't relicense it - but you can include it with the PSF license. It might be worth adding a PSF license header to that file and a note that the code is copied from [0] That said - I agree with dims, overriding the _read() method like that seems prone to sadness.
On Mon, Dec 26, 2016 at 12:13 PM, Michał Jastrzębski <inc007@gmail.com> wrote:
Added all and tc tags, as it might affect everyone really.
On 25 December 2016 at 23:04, Jeffrey Zhang <zhang.lei.fly@gmail.com> wrote:
Recently, Kolla project has requirement to modify[1] the python's ConfigParser.py code[0].
Python is using PSF license[3], which is GPL compatible. But OpenStack is using Apache License.
Here is the diff view[2].
I want to make sure: is it OK to re-license ConfigParser.py? If not, what the solution?
[0] https://github.com/python/cpython/blob/2.7/Lib/ConfigParser.py [1] https://review.openstack.org/412101 [2] https://gist.github.com/jeffrey4l/2258b276cbd038e73797cfa0952da371/revisions... [3] https://docs.python.org/3/license.html
-- Regards, Jeffrey Zhang Blog: http://xcodest.me
_______________________________________________ legal-discuss mailing list legal-discuss@lists.openstack.org http://lists.openstack.org/cgi-bin/mailman/listinfo/legal-discuss
_______________________________________________ legal-discuss mailing list legal-discuss@lists.openstack.org http://lists.openstack.org/cgi-bin/mailman/listinfo/legal-discuss
Monty Taylor wrote:
On 12/26/2016 07:27 AM, Davanum Srinivas wrote:
PSF is ok per (https://governance.openstack.org/tc/reference/licensing.html) Though the overriding the _read() seems like something that could break easily
Yah - you can't relicense it - but you can include it with the PSF license. It might be worth adding a PSF license header to that file and a note that the code is copied from [0]
Can we ? According to [1]: " OpenStack projects and libraries produced under the Big Tent should generally be licensed under ASLv2, and otherwise must be licensed under a license supported by the Contributor License Agreement (CLA) which allows redistribution by the OpenStack Foundation under ASLv2 (currently only the MIT and both forms of the BSD license meet this requirement)." Basically for OpenStack code we need to redistribute under Apache2, and the PSF license is not "currently" in the whitelist.
That said - I agree with dims, overriding the _read() method like that seems prone to sadness.
This code should try to inherit from ConfigParser rather than copy code over, bypassing the _read() issue you raise *and* the licensing question. -- Thierry Carrez (ttx)
participants (4)
-
Davanum Srinivas
-
Michał Jastrzębski
-
Monty Taylor
-
Thierry Carrez