-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Update 3rd party licenses #918
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
Conversation
Even though it is an improvement, I would suggest a couple of more items:
|
@vlsi As our license is EPL we follow the Eclipse best practices, which is (or was, haven't checked) |
ASM license looks up to date.
It would be great if you could find a link though. |
@vlsi Do you have a proposal to keep included 3rd party licenses up to date? I don't think ASM includes their licenses in their maven artifacts. |
My proposal is everybody should include license as That is why I ask ASM developers to include "up-to-date" license into the distributed jar files: https://gitlab.ow2.org/asm/asm/issues/317881 Otherwise everybody else have to constantly monitor if ASM upgrade requires updating of the license texts. It is way simpler to automate if jar file declares As you can see in the ASM issue, almost everybody gets "bundling ASM" wrong. It is really sad that ASM devs decline inclusion of the license into asm.jar files. The point of me raising #916 was twofold:
|
@marchof I see you have the similar issue with args4j: jacoco-0.8.4.zip bundles args4j, however you do not reproduce the relevant copyright notice. |
@vlsi It is at the very bottom of |
@marchof , I'm afraid either the file is stale or something else. Here's what I see in
Here's a copyright notice from args4j license:
Not a single file from jacoco reproduces that notice => args4j license terms are violated. |
2da6c73
to
5daef5a
Compare
@vlsi Grrr, fixed. Thanks for double-checking! I clearly see why you thinks licenses should be pulled-in automatically. |
@Godin Can you please have a look? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We embed org.jacoco.report
into nodeps
JARs of org.jacoc.cli
and org.jacoco.ant
, about.html
in the first one contains Apache License for Google Code Prettify, but not the second ones.
Also
Copyright 2011 Mike Samuel et al
appeared in a later version of Google Code Prettify - googlearchive/code-prettify@f4940f9 , but I think that we should add it too.
@Godin Regarding Google Code Prettify. I wonder whether we need to add everything from the COPYING file after Line 177? Or how exactly are you proposing to add it? |
@marchof I'm proposing to add only
followed by full text of license. |
@Godin Fixed missing Google Code Prettify licenses. |
@vlsi I think that @marchof had in mind https://www.eclipse.org/legal/epl/about.php And this page contains several interesting points:
IMO we are not delivering Eclipse Plug-ins, nor Fragments, also JaCoCo arrives into Eclipse via repackaging in Orbit that makes its own
I tend to agree that important to have version number, because different versions can be released under different licenses. I wouldn't try to automate insertion of version, because in the absence of automatic checks anyway one need to check licenses during updates of versions, and fortunately, we do not have many dependencies, and they are not so often updated. @marchof also regarding latest commit in this PR
I would prefer to not do any modifications of license text including any re-formatting, because IMO with original formatting it is easier for others to verify that file literally contains text of license in terms of strings/chars and license is not modified - for example one can simply do
and otherwise need to use To sum-up here is what I would like to propose to do:
@marchof as an excuse about pickiness and addition of more comments after initial review - IMO all of the above will allow to close long-standing #539 😉 |
@Godin I restored the original white spaces of the Apache license and propose to not invest more time in this (merge it as is or close it). Instead I would like to pick-up @vlsi idea and check how we can include the licenses in a more machine processable format in ´META-INF/´ and also partly automate this in our build instead of manually maintain redundant license information all over the place. |
- Remove stale version references to ASM - Add license to cli where ASM is shaded into the nopeds JAR - Reproduce correct args4j license - Add Google Code Prettify license to shaded artifacts - Keep license texts at a centralized place - Remove term "plug-in" from about files
@Godin I think I now addressed all your review comments. Can you please re-review? I just noticed that we have more license issues in test modules. But I would prefer to discuss/fix them separately. |
Not sure to understand what do you mean, because we don't distribute JARs of test modules 😉 so I'm fine with postponing discussion about them.
Seems so 👍 I'll merge in few minutes. Are you ok to close #539 together with this? |
Sure! |
Fixes #916
Fixes #539