RFE: provide pkgstyle distro aliases by default
While distro/pkg/*
templates can match packaging styles (rpm
, deb
, arch
, nix
), distro
magic template variable can only match against distro names and not distro families / packaging styles.
The most general solution seems to make pkgstyles provide a dict of default distro aliases, for example rpm
:
DISTRO_ALIASES = {
`rpm`: ['fedora', 'centos', 'almalinux', 'rocky', ...]
`el`: ['rhel', 'centos', ...]
}