Skip to content
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

Question regarding license #857

Closed
TanguyRaufflet opened this issue Apr 30, 2024 · 1 comment
Closed

Question regarding license #857

TanguyRaufflet opened this issue Apr 30, 2024 · 1 comment

Comments

@TanguyRaufflet
Copy link

TanguyRaufflet commented Apr 30, 2024

Hello,

I have a question regarding the license for a cockpit plugins I plan to develop. The GPL license, indicates that "A main program that is separate from its plug-ins makes no requirements for the plug-ins".
So, if I am right, I should be able to put the license Apache 2.0 on it. But, the starter-kit you provide is under LGPL 2.1. Then, all the projects based on it will need to be LGPL 2.1 compatible.
Is it something you considered when choosing the license for the Starter-Kit ?

@martinpitt
Copy link
Member

We did consider it, mostly because all other Cockpit projects are under LGPL, and we like the GPL. But as you say, Cockpit's own license does not apply to third-party plugins, so if you create your own, you can pick any license you want.

But the actual source code that applies to the runtime of the plugin in starter-kit is utterly trivial, e.g. https://github.com/cockpit-project/starter-kit/blob/main/src/app.jsx . You'll have to replace all significant bits with "real" code anyway, so there's not much left in the file -- in other words, just start from a fresh file and treat it as documentation.

The same applies to the tests -- they show you how to do it, but you'll have to replace all the actual code anyway.

So, feel free to pick a different license for your own project.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants