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

Builds should include license #2151

Merged
merged 1 commit into from
Aug 25, 2014
Merged

Builds should include license #2151

merged 1 commit into from
Aug 25, 2014

Conversation

bartvde
Copy link
Member

@bartvde bartvde commented Aug 22, 2014

shouldn't they? I did ask on the list, but looks like I never got a reply https://groups.google.com/forum/#!searchin/ol3-dev/license/ol3-dev/-R1OwQcKGoQ/ynEuMYFas1AJ

@elemoine
Copy link
Member

elemoine commented Jun 2, 2014

Yes. The compiler supports @preserve and @license annotations that we could use for that. See https://developers.google.com/closure/compiler/docs/js-for-compiler. Another option is to use the output-wrapper compilation option.

@bartvde
Copy link
Member

bartvde commented Jun 2, 2014

I recall previous discussion about this (I remember asking about it as well), but I can't find it.

IIRC @twpayne told me it was decided at the Chambery sprint back then that this is not necessary.

@elemoine
Copy link
Member

elemoine commented Jun 2, 2014

Really? I'd like to hear the reasons.

@bartvde
Copy link
Member

bartvde commented Jun 2, 2014

maybe I'm mixing up discussions let me look for it again ;-)

@bartvde
Copy link
Member

bartvde commented Jun 2, 2014

hmm I really can't find it but I do recall this outcome, maybe the discussion was in a hangout or something similar

@tschaub
Copy link
Member

tschaub commented Jun 2, 2014

Let's follow others and not include the full license text (even though React does). A link to the license should suffice. And including a license name is nice.

@probins
Copy link
Contributor Author

probins commented Jun 3, 2014

there's also the question of the licences for software used by the lib. At the moment, builds include credits for spherical geodesy formulae (CC licence) and mochikit (MIT), which is included in Closure, but no mention of Closure itself (Apache 2). This seems illogical to me.

In #1192 I suggest putting the version no in a comment at the front of the file, so how about having a comment along the lines of:

Openlayers 3 [git describe version] license ...
Uses Closure library, version ... license ...
Compiled by Closure compiler version ...
plus any other license links

@twpayne
Copy link
Contributor

twpayne commented Jun 3, 2014

From memory, the decision taken in Chambéry was to not include the licence in each source file. I don't remember discussing whether or not to include the licence in the build output.

@bartvde
Copy link
Member

bartvde commented Jun 3, 2014

thanks for clarifying @twpayne that sounds familiar again ;-)

Sent from my iPhone

On 3 jun. 2014, at 21:33, Tom Payne notifications@github.com wrote:

From memory, the decision taken in Chambéry was to not include the licence in each source file. I don't remember discussing whether or not to include the licence in the build output.


Reply to this email directly or view it on GitHub.

@probins
Copy link
Contributor Author

probins commented Aug 15, 2014

shouldn't this be in the 3.0.0 milestone?

@elemoine elemoine added this to the v3.0.0 milestone Aug 15, 2014
@bartvde bartvde self-assigned this Aug 21, 2014
@bartvde
Copy link
Member

bartvde commented Aug 21, 2014

@bartvde
Copy link
Member

bartvde commented Aug 22, 2014

okay it seems this needs to be done in build.js (addHeader)

@elemoine
Copy link
Member

Yes, indeed.

@bartvde
Copy link
Member

bartvde commented Aug 22, 2014

hey @elemoine what is the purpose of this directory btw: https://github.com/openlayers/ol3/tree/master/licenses ?

@bartvde
Copy link
Member

bartvde commented Aug 22, 2014

PR attached

@elemoine
Copy link
Member

hey @elemoine what is the purpose of this directory btw: https://github.com/openlayers/ol3/tree/master/licenses ?

I guess listing our deps' licenses.

@elemoine
Copy link
Member

That looks good to me. Let's wait a bit before merging to see if that makes sense to others.

@pagameba
Copy link
Member

Looks good to me based on our discussion.

@elemoine
Copy link
Member

I think this is good to merge.

bartvde added a commit that referenced this pull request Aug 25, 2014
Builds should include license
@bartvde bartvde merged commit ddb4d9a into openlayers:master Aug 25, 2014
@bartvde bartvde deleted the license branch August 25, 2014 06:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants