-
-
Notifications
You must be signed in to change notification settings - Fork 5.8k
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
[Discussion] Consider switching away from Unlicense #2345
Comments
I was waiting to see what happens with youtube-dl before further discussing this. Since it is now back (ytdl-org/youtube-dl#30568), I am closing this. yt-dlp will continue using whatever license youtube-dl does |
Technically switching to a different public domain-like license should still allow full cross-compatibility between the two projects. But I don't understand what's so wrong with the Unlicense. People claim it's illegal/unenforceable in Germany - the public domain declaration may very well be, but that's precisely why it contains a fallback clause. |
one of the problems with the fallback is that the warrenty and liability disclaimers only take effect if the public domain delegation is invalid |
Last I heard, the new maintainer @dirkf wasn’t particularly happy with the Unlicense either, so if that’s your main concern, this is not necessarily as set in stone as it may seem… |
No, but that sort of decision would have to rest with @rg3, and we would have to be sure that the existing code could be validly re-licensed, etc. Looking at https://choosealicense.com/appendix/:
|
Isn't the whole point of licenses like the Unlicense that you don't have to ask anyone's permission to relicense the code? You can ask if you want to be nice, but it shouldn't be necessary. |
You'd think so. IANAL. |
Some relevant points of discussion: ytdl-org/youtube-dl#10581 (comment), #348 |
This comment was marked as resolved.
This comment was marked as resolved.
Or just use MPLv2. |
choosing from permissive licenses i would choose Apache License 2.0 |
Hehe, I don't want to be the one taking that kind of decision.
IANAL, but that's my interpretation as well. Since the whole project is licensed under the Unlicense, it should be possible to redistribute it as GPLv3 without issues, for example.
Thanks for the context, I was not aware of the code copied from CPython. It was after my tenure as the maintainer. Just to give you a bit more info, when youtube-dl was created I started using the MIT license but later moved to indicating the code was released to the public domain, claiming no copyright. However, given that's legally an issue (many countries simply do not allow that), after I was no longer the maintainer we discussed if we should relicense the code under some other license with the same goals, and the copyright holders agreed on releasing the code using the Unlicense. At the moment Unlicense was proposed I was not as aware as I am now of the different licenses to release code to the public domain, I was basically aware of the differences between, say, BSD or MIT and the GPL, and knew the latter pretty well. Some time after that I read that the Unlicense can also be a bit problematic. For example, the GNU project recommends using CC0 if your desired goal is giving maximum permissions to everyone and it was also considered a poor license when reviewed in the OSI mailing list. These days, when I want to release a piece of software to the public domain, I use CC0 as some people with more legal background than myself recommend. From the POV of youtube-dl, and perhaps yt-dlp, there's a balance to strike regarding its license. For example, on a few occasions in the past we've wanted to solve issues with the program by using or incorporating pieces of code from other projects, and the desire to keep youtube-dl's license means we cannot simply do that without relicensing the project. So, as consumers of other code, we'd definitely benefit from using GPLv2, GPLv2+ or GPLv3 because that would allow us to use code almost from anywhere. But at the same time, youtube-dl is consumed by many other projects. AFAIK, if they just call the command line tool when present, there's no embedded youtube-dl code in the program and legally it wouldn't be a derivative work, so in that case youtube-dl's license is irrelevant. If, however, they use youtube-dl as a module or runtime dependency, that would have consequences. I'm not aware of how many projects fall in that area. Personally, I think the best licenses depending on the case are:
My two cents: choosing a license outside that set needs a very good reason, IMHO. The licenses above are well-known to everyone and cover most use cases. |
One possible benefit of MPLv2 over GPL is that it's file-level, so you can keep copyleft while avoiding issues with the GPL possibly infecting the whole code of someone who wants to embed youtube-dl/yt-dlp, they'd only have to keep modifications to projects taken from yt-dl(p) open source. But as for the other more niche permissive licenses mentioned, yeah, I don't really see much benefit of using those over something established like MIT or Apache 2.0. |
If we were to go copyleft, LGPL is a much better alternative than GPL imo |
Ah, forgot to include the LGPL licenses in the mix. Yes, those make a lot of sense for many cases as well IMHO. Same for the AGPL if you don't like to see your code turned into a proprietary service. |
The do in their entry about the Unlicense, but they have a separate entry about the CC0 license which recommends against using it for software |
The recommendations are not impartial. As usual, when GNU documentation says 'compatible with the GNU GPL', the actual meaning is 'subordinate to ...'. |
Checklist
i know this will sound outlandish but i have multiple reasons for the change
https://softwareengineering.stackexchange.com/a/147120
https://lists.opensource.org/pipermail/license-review_lists.opensource.org/2012-January/001386.html
So what to change it to, i am restricting it to Public-domain-equivalent licenses in order to not add anymore restrictions and for code reuse
this is a list of the flaws in these public-domain-like licenses.
Do What The F*ck You Want To Public License
Creative Commons Zero v1.0 Universal
express denial of patent grant
BSD Zero Clause License
https://www.gnu.org/licenses/license-list.en.html#ISC
https://marc.info/?l=openbsd-misc&m=120618313520730&w=2
MIT No Attribution
does not have a express patent grant though there is some argument for patent grant
so based on THOSE CHOICES i would choose MIT No Attribution
outside of the scope of public domain-like i would choose GNU Affero General Public License v3.0 or later
Verbose log
No response
The text was updated successfully, but these errors were encountered: