Add version specific RPM repositories #17304
tonyhutter
started this conversation in
Ideas
Replies: 1 comment
-
I like it! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
This is a proposal to add version specific repositories to our yum repo file.
The current behavior of zfs.repo could be described as "OpenZFS will give you the version of ZFS that we think you should be running for your distro".
For Fedora users, a
dnf install zfs
will give you the newest release of ZFS (currently 2.3.x). This is because we assume Fedora users care more about "bleeding edge" versions of software.For EL users, a
dnf install zfs
will give you an older release of ZFS (currently 2.1.x). This is because we assume EL users are more conservative and would prever a more stable version of ZFS. EL users also have the option of installing from thezfs-testing
repo if they want the 2.2.x or 2.3.x verion series.Note that for the default EL repo, we have historically bumped the ZFS major version once it got way too old. For example, OpenZFS provided zfs-0.8.x, zfs-2.0.x, and zfs-2.1.x for different versions of RHEL8. There is talk of jumping to zfs-2.2.x as well (#17290).
A better option would be to add version-specific repos to our zfs.repo file. This way a user could say "I just want to run the 2.2.x branch" or "I always want the latest release". This would be in addition to our current repos, which would not change.
For reference, here's the current EL repos:
These are the repos we would add:
Fedora would just have a
zfs
,zfs-2.2
,zfs-2.3
,zfs-latest
, etc, since we do not provide kmod packages for it.Real world examples:
Note that the user may be forced to change their version series if it gets way too out of date. I'm thinking specifically about when we switched RHEL 8 from zfs-2.0.x->2.1.x and stopped building kmods for zfs-2.0.x. In that case, the user would have to change their default repo to zfs-2.1 to continue to get kmods for newer RHEL versions.
Thoughts?
Beta Was this translation helpful? Give feedback.
All reactions