4 ms·
We need to get valkey into the default distro package managers. It sucks having to add keys and update the distro get valkey installed in say a GitHub Action r
by bhouston 1y ago
We need to get valkey into the default distro package managers. It sucks having to add keys and update the distro get valkey installed in say a GitHub Action runner.
- yjftsjthsd-h 1y agoWhat distro doesn't have it that you need? Skimming https://repology.org/project/valkey/versions https://repology.org/project/valkey/versions it seems to be in nixpkgs, Arch, Ubuntu, Fedora, Debian, and EPEL. Of those, the only caveat I immediately see is that Debian only got it in 13 or 12+backports.
- Hasnep 1y agoGitHub Actions runners are based on Ubuntu, and from the Repology link it seems ValKey is in the "universe" repository which is a community supported repository and therefore might not be enabled by default.
- kijin 1y agoRedis has always been in universe as well. Most things in Ubuntu are in universe and practically unmaintained. Getting your software into the default package managers is not necessarily the best choice for a new and fast-moving project. You'll be stuck answering bug reports for an ancient version and monkey-patching it for the life of the LTS release. It's much more ergonomic, both for maintainers and users, to run your own PPA or repo with the latest version.
- b112 1y agoFor users? Hardly. If you want stable, you want a non-changing branch with security fixes only. No surprises, no api changes, no config file changes. And you don't want to be stuck on a non-security fix version. You cannot sit on the same version without tracking security, while you slowly retool and recode for breaking api/behaviour changes. Debian stable has redis, and others, and will see backported security updates for the life of the support window. This isn't just about redis. If you're doing this with anything, you must track secuirty updates, must stay up to date, or you are negligent. And tracking changes for infra stuff like redis, and other backend stuff is a waste of resources with typically zero benefit. I won't touch core daemons like redis, if it isn't distro maintained. I have better things to do. More important things to worry about.
- kijin 1y agoYou're right about Debian. Ubuntu is a different story. You're probably better off using an alternative repository for anything important that you find in the "universe" repo. That stuff is not "distro-maintained" at all. Case in point: there are known vulnerabilities in the version of Redis shipped with Ubuntu 22.04 LTS, which a lot of people would assume is still maintained. But Redis is in universe, so patches are only available for those with an Ubuntu Pro subscription.
- b112 1y agoDebian's contrib and non-free are similar, only 'main' is rigorously shepherded.
- kijin 1y agoOnly a small number of packages in Debian belong in contrib and non-free. Redis is safely in main. Ubuntu throws 90% of its packages in universe and doesn't even bother to pull security fixes from Debian. It's absolutely irresponsible and not comparable to Debian at all.
- motorest 1y ago> GitHub Actions runners are based on Ubuntu (... That sounds like a GitHub Actions problem. GitHub Actions only offers a very limited set of container images, and for Ubuntu they just go with the LTS version that shipped before Valkey even existed. https://docs.github.com/en/actions/writing-workflows/workflow-syntax-for-github-actions#standard-github-hosted-runners-for-public-repositories https://docs.github.com/en/actions/writing-workflows/workflo...
- Kwpolska 1y agoYou can use any Docker container to run your Actions.
- skywhopper 1y agoThen the Redis that’s packaged for those versions of Ubuntu will be the BSD version... which is just an older version of Valkey.
- bhouston 1y ago[flagged]
- nothrabannosir 1y agoGood lesson in when not to use chatgpt. $ docker run --rm -ti debian:trixie root@d12c52dcfee8:/# apt-get update && apt-get install -y valkey Get:1 http://deb.debian.org/debian trixie InRelease [178 kB] ... root@d12c52dcfee8:/# valkey-server --version Valkey server v=8.1.1 sha=00000000:0 malloc=jemalloc-5.3.0 bits=64 build=13683752e517a7b6
- bhouston 1y agoClaude gives similarly complex answers for the same question with regards to valkey but simple solutions for redis: https://claude.ai/share/ba9ecc54-5f21-4ec5-ab36-88e8eac38d1a https://claude.ai/share/ba9ecc54-5f21-4ec5-ab36-88e8eac38d1a
- MaKey 1y agoIt seems like it went over your head that the package name is valkey, not valkey-server, so the instructions won't work. Why paste a long faulty AI response instead of linking to the concise official documentation? https://valkey.io/topics/installation/ https://valkey.io/topics/installation/
- accoil 1y agoURLs also don't resolve
- satvikpendem 1y agoYou're missing the point. LLMs aren't the source of truth, the docs are.
- deleted 1y ago[deleted]
- LukeShu 1y agoFWIW, valkey has replaced redis in Arch Linux.
- jdmarble 1y agoAnd will in RHEL 10, too!
- hnarn 1y agoIf the first thing you do in CI is adding a bunch of stuff to the container image you just pulled, you should probably make your own image.