Dual-license with MIT and GPL#47
Conversation
Updated GLP license to 3.0 as well
|
I think all the individual files also have a license statement. |
|
@brandonkelly In order to relicense a project, you will need the consent of all authors. I am the original author of PEL and while I picked the GPL way back in the day, I'm actually okay with changing the license to a more permissive license now. Maybe you should even change the license to the MIT license? The LGPL is sometimes sees as too restrictive, even if it allows proprietary programs to link to the LGPL code. You should look at the the commits (not just |
|
@mgeisler Thanks for chipping in. I agree with going for the MIT license. @brandonkelly when all committers comment on this issue, and the license is changed everywhere, we will change it. Thanks for doing this. |
|
Many of the recent refactorings were committed by me. I'd also agree to a license change to LGPG or even better to MIT. |
|
@brandonkelly, will you contact all the people which were involved? Also people who offered test-cases or did some small fixes must be contacted. |
|
@brandonkelly Are you moving forward with this, or should we close the pull request for the time being? |
|
Sorry folks - got sidetracked by a new baby boy that came a couple weeks earlier than expected, and have been on parental leave. I agree MIT would be way better - I didn't want to get too greedy with my initial request :) I'll try to get in touch with the other committers! |
|
We have the following in favor of either using LGPL or MIT (each preferring MIT):
And we are waiting to hear from: |
|
@brandonkelly I like open source software and I respect its authors' decisions, so I have no any objections against MIT. |
|
Yes, please do it! |
|
Ok, that leaves @robinlehrmann, who as far as I can tell from https://github.com/lsolesen/pel/commits?author=robinlehrmann hasn't really touched the core code, just modified composer.json to add PSR-4 autoloading support. I'd say we've reached a consensus on MIT. Agree, @lsolesen / @mgeisler ? |
|
@brandonkelly Thanks for leading this! PEL was one of my first open source projects and I'm happy to see it becoming active again :-) As for the license change, you should technically remove code contributed by people you cannot reach. Getting a majority or consensus is not enough. As I understand it, changes that are not "original" are not covered by copyright. I count merges here, so we can leave them behind. The 377a9f1 and 939864c commits are so small that I will say that they're "unoriginal" (sorry @robinlehrmann). Most of the test images were contributed by others under the GPL. Maybe leave them behind as GPL or remove them if they don't add any value any longer. |
|
It is possible to have a mixed license on composer, so that will be |
|
Also when updating the license we should include a more generic description in the source files, see e.g. https://github.com/Seldaek/monolog/blob/master/src/Monolog/Handler/ErrorLogHandler.php#L8 |
@mgeisler I assume the images are used for testing specific EXIF bugs from different cameras and whatnot. If not and they're more general purpose, can we just remove them and submit new ones under LGPL? |
|
@takobell Yeah, they were added back in the day to act as regression tests. Ideally they should also test for specific bugs and quirks as you say, but I think most were added simply to be able to say that PEL has been tested with this or that camera brand. You'll have to check the details with @lsolesen, but given the above, I think it would be fine to remove the old images now. |
|
@brandonkelly and @takobell A few things to consider if removing the images:
But I am all up for you suggestion @takobell |
Feature/lgplpart2
Use a multi-license model similar to CKEditor.
…/lgpl # Conflicts: # CHANGELOG.md # INSTALL.md # README # composer.json # examples/README.md # src/PelDataWindow.php # src/PelJpeg.php # test/README # test/ascii.php # test/convert.php # test/data-window.php # test/image-tests/canon-ixus-ii.php # test/image-tests/canon-powershot-s60.php # test/image-tests/leica-d-lux.php # test/image-tests/nikon-coolscan-iv.php # test/image-tests/nikon-e5000.php # test/image-tests/nikon-e950.php # test/image-tests/olympus-c5050z.php # test/image-tests/olympus-c50z.php # test/image-tests/olympus-c765uz.php # test/run-tests.php # test/undefined.php
|
@lsolesen @mgeisler OK we've made the following changes:
This is how CKEditor has executed its own multi-license (GPL, LGPL, and MPL, in its case). Not sure how to handle assigning only the GPL license to the images within test/image-tests/ directory. Anyone have a clue on that? |
|
I am by no means an expert in licenses. However, what about we just leave the source code to MIT. Then people can do whatever they like with it. Then within the @mgeisler You know more about this stuff, it seems. |
|
@lsolesen Yeah, I agree with you — I'm by no means an expert, but I find it confusing when projects are dual-licensed. Especially so when one license is a "superset" of the other: saying that people can do what they want under the MIT license means that they can use the code for proprietary purposes and that makes the GPL irrelevant. Put differently: you can already combine MIT code with GPL code, so there's no need to explicitly dual-license it as GPL. I would much prefer to simply say that the code is MIT licensed, with a note that images have other licenses. Like suggested by @lsolesen. |
|
I think it's not good to license the photos under GPL and the rest of the code under MIT license, because both parts are distributed in the same package. Whenever a derived product includes those files it will be infected by the GPL license. IMHO the only way is to contact the originators and ask for permission to do the license change or to remove the pictures completely from the sources. As negative effect many important test-cases will disappear - and those test cases are very important to prevent regressions... |
|
Or we could do the package witout the tests. Travis has a nice deploy Den tor. 28. apr. 2016 14.37 skrev Johannes Weberhofer <
|
|
@weberhofer I'm pretty sure I've seen other projects distribute files under mixed licenses. Just because you get everything in the same tarball, there's no requirement that everything must use the same license. The test images are input files and I don't think the rest of the code is derived from them. |
|
@mgeisler I guess the problem with a mixed license is, for a project that wishes to use the MIT license, they would have to manually remove the GPL-licensed files, which is not very practical when using a package manager like Composer. @lsolesen Interesting. That might be the best way to go. There's not much point to including the tests in the distribution package in the first place. |
|
I am not sure how deploy works. Do you have some time to investigate? |
|
I'm not sure about this licensing change. I'm sure it's no issue for PEL but possibly for derived work. But if the mentioned files are removed during packaging than it's possibly ok. I don't know how to do it. |
|
@lsolesen @weberhofer I could spend some time looking into removing them from a release. Is this (https://github.com/lsolesen/pel/blob/master/make-release.sh) the latest script that's used for packaging up a release? Looks out-of-date with references to SVN. |
|
@takobell Did you have any chance to look into this, so we could make this happen? |
The LGPL license grants permission to use PEL in non-derivative software without being forced to also use the GLP license.