google-cloud

Google Cloud Platform: Clojure + {GAE, GCE, anything else on Google Platform}
nickbauman 2017-01-16T01:02:12.000260Z

@qqq I added UserService support and examples to the template and made a release to Clojars. https://github.com/nickbauman/cljgae-template/releases/tag/0.2.5-SNAPSHOT

qqq 2017-01-16T01:12:53.000262Z

@nickbaum: curently redesigning (physical) workspace; will look into it as soon as I get a chance

đź‘Ť 1
qqq 2017-01-16T10:32:29.000265Z

https://eclipse.org/legal/eplfaq.php#SOURCEWOBJ <-- oh boy, EPL doesn't work well with commercial use does it?

qqq 2017-01-16T10:32:46.000267Z

It appears that I'm not allowed to copy/paste parts of cljgetemplate for my app UNLESS I also make the source of my app available, which I'm not willing to do

qqq 2017-01-16T10:33:02.000268Z

any chance the license can be changed ito BSD or MIT ?

2017-01-16T11:15:42.000269Z

@qqq i don’t think that’s the correct interpretation of the epl. you have to distribute the changes you make to the epl’ed code, not your code.

qqq 2017-01-16T11:39:21.000270Z

@mobileink : i'm not a lawyer, but this seems gray area when I want to copy/paste parts of the code, make changes to it, and use it as a library in my code

qqq 2017-01-16T11:39:42.000271Z

I dont think EPL makes sense for code taht is a "lein template" as opposed to an actual library

seancorfield 2017-01-16T19:07:30.000273Z

@qqq (also @mobileink) — I’ll provide an experience report from corporate use of OSS: I worked at Macromedia/Adobe for years and, under Adobe at least, we had occasional “audits” of OSS in use at the company. My team used a framework that had skeleton code generation and the generated code was (implicitly) covered by the same license as the framework itself. Because you then built your app on top of that generated code, it was considered a sufficiently grey area that Adobe petitioned the project maintainers to relicense the framework under a more commercial-friendly license. Now, in terms of Leiningen (or Boot) templates, here’s how that would play out (differently): the template itself is usually EPL but the expectation is that the generated code is yours and can be under any license you want (the original lein templates made that very clear but subsequent 3rd party ones do not always do so). So, copying’n’pasting code from the template itself: yes, that’s EPL code and you’d be bound by that license. Copying’n’pasting code from the generated code: no, you can generate a skeleton app and change the license before you start.

seancorfield 2017-01-16T19:08:58.000274Z

Why would that be different to the situation I found myself in at Adobe? Because that framework generated code into its own context and was able to regenerate / update your modified code. The Leiningen (and Boot) templates generate code into a fresh context not covered by the original license, and expect you to modify that code.

seancorfield 2017-01-16T19:09:46.000275Z

(Note: IANAL — but I have had to sit down with the legal team and review this stuff and I’ve seen what they will concede and what they won’t)

seancorfield 2017-01-16T19:11:18.000276Z

Based on that, I would suggest that you ask @nickbauman if he’d be willing to add clarifying language to his template that the generated code be relicensable as users wish, and not bound to EPL (which would cover the template library itself).

nickbauman 2017-01-16T19:50:26.000277Z

Yeah I haven't thought about it much. My sense is that much of this could be cleaned up by moving out the library parts of the template into their own EPL'd repos and mark the template as BSD licensed.

nickbauman 2017-01-16T19:53:48.000278Z

This way if you make changes to the libraries you'd be encouraged to submit that back, plus those changes would be orthogonal to any business problem you're facing, so there would be no confusion as to where your incentives are. We'd be aligned: you get a better path to solve your business problems, the community gets a better foundation to write software.

1
nickbauman 2017-01-16T19:54:12.000279Z

That's the goal.

nickbauman 2017-01-16T20:19:12.000280Z

So this "librarying" thing is an issue in my issue tracker for a while now. Maybe it's time to move up its priority.

nickbauman 2017-01-16T20:26:29.000281Z

https://github.com/nickbauman/cljgae-template/issues/10