Pulp Licensing FAQ¶
What license does pulpcore and pulpcore-plugin use?¶
The pulpcore and pulpcore-plugin packages both extend their license to users a "GPLv2 or later".
https://github.com/pulp/pulpcore/blob/master/COPYRIGHT#L5
https://github.com/pulp/pulpcore-plugin/blob/master/COPYRIGHT#L5
So a plugin can choose either GPLv2 or GPLv3.
Why would a Pulp plugin be affected by the license of the pulpcore-plugin package?¶
The GPL FAQ states that subclassing as a mechanism is creating a derivative work. https://www.gnu.org/licenses/gpl-faq.en.html#OOPLang
Coupled with the fact that the plugin API uses subclassing as a mechanism ( https://docs.pulpproject.org/en/pulpcore-plugin/nightly/plugin-writer/concepts/index.html#subclassing ) plugin code must be a "GPLv2 or later", that is GPLv2 or GPLv3.
Why does the pulpcore package matter? Plugin code is only imported from pulpcore-plugin, not pulpcore?¶
Many of the objects in pulpcore-plugin are imported from the pulpcore package itself. There are enough of these cases that offering pulpcore and pulpcore-plugin as separate license types would be too confusing.
Can I combine GPLv2 or GPLv3 licensed code with other license types?¶
It depends on if the other license is "compatible" with GPLv2 or GPLv3. https://www.gnu.org/licenses/gpl-faq.html#WhatDoesCompatMean
Can I combine GPLv2 or GPLv3 licensed code with Apache 2.0 licensed code?¶
Yes, you can combine GPLv3 and Apache 2.0 licensed code together into a larger program as long as the larger work is GPLv3 licensed. You can do this because Apache v2 is compatible with GPLv3: https://www.gnu.org/licenses/license-list.html#apache2
You cannot combine GPLv3 and Apache 2.0 licensed code together into a larger program and have the larger work licensed as Apache v2. This is stated as prohibited by Apache Software Foundations interpretation of the Apache v2 license. See https://www.apache.org/licenses/GPL-compatibility.html for more details.
You cannot combine GPLv2 and Apache 2.0 licensed code also as stated here: https://www.gnu.org/licenses/license-list.html#apache2
Updated by bmbouter over 5 years ago ยท 8 revisions