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

LGPL Licensing #58

Open
mikekap opened this issue Mar 27, 2018 · 17 comments
Open

LGPL Licensing #58

mikekap opened this issue Mar 27, 2018 · 17 comments

Comments

@mikekap
Copy link

mikekap commented Mar 27, 2018

We're running into a bit of a licensing issue which I'm hoping could be solved. Most clojure dependencies are distributed under EPL rather LGPL. One of the finer points of EPL is you can create closed-source applications that use your library. The LGPL requires you distribute your library SxS for dynamic relinking should someone want to swap versions.

On some level this doesn't really matter for clostache itself - clostache is Clojure only. Jars let you do the above pretty easily. If you just use clostache server-side without giving users software binaries, there aren't any disclosure requirements to your end users.

The rough part is cljstache - the clojurescript fork of clostache. Given the way clojurescript compiles code (under advanced compilation), making a library dynamically linkable is extremely difficult. It's not really a design goal for most javascript.

I know this might be a long shot, but would this project consider re-licensing it's code under the EPL? There's only about 15 contributors so it might be doable. The license is extremely similar but allows for unmodified closed-source use.

@fhd
Copy link
Owner

fhd commented Mar 29, 2018

I hadn't anticipated that problem to be honest, good point. I have nothing against it, really. It was more of an old habit of mine to use LGPL for libraries. I happen to talk to a software lawyer today, so I'll ask him about this and get back to you.

@fhd
Copy link
Owner

fhd commented Mar 29, 2018

So, according to my lawyer, it's fine. It doesn't have to be technically linked, it's more the spirit of the license that matters in case someone claims a violation. So including a JS library without modifying it in software that's under a non-GPL compatible license is fine. I also found this StackOverflow answer that suggests the same.

That said, I'm not opposed to changing the license to EPL if that's more common in the Clojure world. But I can't promise that to happen in a timely manner if it's me doing it - I'd prefer to put what time I can carve out of my schedule for clostache into development.

@mikekap
Copy link
Author

mikekap commented Apr 2, 2018

Hah looks like we read the same stackoverflow post. The statement I thought was problematic with was:

That it [the library] is dynamically linked in to your application in such a way that the user can replace it with their own version if they want.

Unfortunately CLJS doesn't have an easy way to do that in advanced optimizations mode. You kind of just get a JS blob at the end that isn't easily swappable. It's why you see most JS libraries opting for MIT/BSD licenses - those tend to not impose any copyleft restrictions on binary blobs. The EPL doesn't either, which is nice.

@fhd
Copy link
Owner

fhd commented Apr 3, 2018

True, didn't think of that 😄

I'll contact the contributors and look into switching to EPL then.

@fhd
Copy link
Owner

fhd commented Apr 3, 2018

@simonl2002, @annapawlicka, @jimmythompson and @trevor: I couldn't find your email address on GitHub, so I'll try it this way 😄 Could you comment here on whether you give your consent to this license change?

@trevor
Copy link
Contributor

trevor commented Apr 3, 2018

@fhd I have no opinion on the license.

@jimmythompson
Copy link
Contributor

@fhd Fine with me. 😄

@santervo
Copy link
Contributor

santervo commented Apr 3, 2018

Fine for me also.

@stanistan
Copy link
Contributor

Fine with me as well.

@pastjean
Copy link
Contributor

pastjean commented Apr 3, 2018

Fine with me

@JulianBirch
Copy link

I’m okay with this.

@stuarth
Copy link
Contributor

stuarth commented Apr 3, 2018

Good for me too

@simonl2002
Copy link
Contributor

@fhd it is fine with me.

@ryancole
Copy link
Contributor

ryancole commented Apr 3, 2018

@fhd fine with me

@mikekap
Copy link
Author

mikekap commented Apr 4, 2018

Wow thanks for the quick response. Thanks everyone! Just a few more - @michaelklishin @zeroem @liquidz @rgeoghegan quick ping - could you give consent on the license change?

@rgeoghegan
Copy link
Contributor

@fhd fine with me.

@michaelklishin
Copy link
Contributor

No objections.

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