-
-
Notifications
You must be signed in to change notification settings - Fork 16.7k
redis: 7.2.7 -> 7.4.2 #399462
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
redis: 7.2.7 -> 7.4.2 #399462
Conversation
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.
Needs an update of the license metadata, 7.4 seems to be using SSPL already, making the package unfree.
pkgs/by-name/re/redis/package.nix
Outdated
@@ -115,7 +115,10 @@ stdenv.mkDerivation (finalAttrs: { | |||
meta = { | |||
homepage = "https://redis.io"; | |||
description = "Open source, advanced key-value store"; | |||
license = lib.licenses.bsd3; | |||
license = with lib.licenses; [ | |||
bsd3 |
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.
AFAIU bsd3 was replaced with sspl(&rsal): https://redis.io/blog/redis-adopts-dual-source-available-licensing/
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.
Shall we also switch to valkey, as other distributions have done. |
Personally, I'd be in favor. But then again, I don't maintain either. |
Valkey already exists as a package and it's not redis if it's supposed to be a hard fork. Switching to a less maintained fork doesn't sound like the best idea to me, but maybe that's because I don't see a problem with their licensing. Big companies should not be able to just profit off of FLOSS software and not give back anything. |
I think the idea would be to drop redis and do Anyways, prior art: https://lists.archlinux.org/archives/list/[email protected]/thread/3XYVFXCBFJPEMLAOAGPRUPLJX7UQ3QB4/ Keep in mind that SSPL is a non-free license, so there's no way around having to build Redis by yourself (instead of Hydra) from 7.4.
Also, valkey is backed by the Linux foundation. What makes you think it's less maintained? |
That's fine
We'll have to see how maintained it stays. Look at freenginx, openbao, yuzu and such projects. They never get the momentum to be a viable fork and be developed as the original project.
hmmm, maybe sfl would have been a better choice, but who can talk to the redis developers to reconsider their licensing... |
To be clear, this is nothing new: the entire thing happened >a year ago, we just stayed on Redis 7.2 with the old license so far. |
Fwiw, until antirez was back on board, valkey was far more active and had a more diverse community then the redis project. The comparisons to the other recent switcharoo-forks are not really apt. Just look at the insights month-by-month on each project. |
There's an open RFC addressing this exact point: NixOS/rfcs#185 They even mention another SSPL software, MongoDB. You might want to check it out amd/or give your two cents. |
So how does it work now? |
Wow, that took a turn. I guess they saw the userbase leaking out... In the agplv3 PR, "your choice of [RSAL/SSPL/AGPLv3]" is constantly mentioned. However, in licenses.nix it is said that SSPL is just an unfree variant of AGPL. So I think it's fine to just call it AGPLv3, since it's an OR relation with the other licenses. They do however still have a CLA: https://cla-assistant.io/redis/redis so that should probably be kept in mind. We cannot do that yet though, as apparently 8.0 isn't out yet. |
Force pushing without the commits to later add new ones closes the PR automatically without an option to re-open. |
I agree with this: AGPL is considered to be open-source (and apart from the discrimination thing, SSPL's added clause leaves up too much legal uncertainty). So, fine by me to keep Redis and upgrade to 8.0. |
That only happens when you close the PR first, then force-push to the branch. Then you can't re-open. Just don't close the PR, but force-push to it anyway. |
Things done
nix.conf
? (See Nix manual)sandbox = relaxed
sandbox = true
nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD"
. Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/
)Add a 👍 reaction to pull requests you find important.