sputnikdev / eclipse-smarthome-bluetooth-binding

Eclipse SmartHome Bluetooth Binding
46 stars 10 forks source link

License #74

Open pfink opened 5 years ago

pfink commented 5 years ago

But I'd highly recommend you to set a license for this project before, otherwise you'll run into a legal mess that you can't get out without asking all contributors for permission...

what would be your recommendations? All bits and pieces are licensed with Apache v2.

Originally posted by @vkolotov in https://github.com/sputnikdev/eclipse-smarthome-bluetooth-binding/issues/73#issuecomment-446331550

pfink commented 5 years ago

With EPL 2.0 you have a maximum of compatibility between the binding and openHAB / ESH while you'll keep the door open to integrate the source code of this project one day into openHAB or ESH (I know, the first try failed, but it doesn't have to be the end of the story ;-) ). Anyhow, with you current setup, I think you're not bound to EPL 2.0 as far as I can judge that. There is no problem to include Apache 2.0 binaries into an EPL-licensed project, in fact that is done very, very often (there are countless EPL-licensed projects using apache commons, e.g. also ESH is distributed with the apache commons binary. And ESH is under strong legal obversation by the Eclipse Foundation).

If you want to choose EPL 2.0, but you don't like Copyleft and also want to have the possibility to distribute your project under Apache 2.0 (additionally to EPL), you have 2 options:

As I'm a big fan of Copyleft, if I'd have to choose a license, I'd do EPL 2.0 with LGPL 3.0 as secondary license. This means you have full ESH/EPL-compatibility, Copyleft and also GPL-compatibility (even though GPL compatibility is probably not really relevant for this project. But as those decisions are extremely hard to revise as soon as you have a certain number of contributors, I always preventively ensure GPL-compatibility in case I need it one day in the distant future...). Important to remark: If you're commercially active with this binding and want to do a customer-specific fork of it, Copyleft will also force you and your customer to publish this fork under the same license. Btw, Apache 2.0 is also GPL-compatible, which means both options from above will also ensure GPL-compatibility.

My country forbids to give legal advices on concrete cases for non-lawyers, so I have to point out that this is just hypothetical and my personal opinion without any warranty (even though I know more about free software license compatibility than most lawyers :D).

I hope this helps you a bit with your decision. If you have questions, don't hesitate to ask.

vkolotov commented 5 years ago

hey @pfink, thanks for that. I will be back on that one once I find some time to study options.