roles/bodhi2: Set EPEL to use zstd repodata and disable unusable features

Zstd repodata support was introduced in DNF quite some time ago, and
is quite a bit faster and less resource intensive.

Additionally, there is no point in producing sqlmd or DeltaRPMs when
support for both has been removed from RHEL for a fair bit of time.

Regardless, we should leave things mostly as-is for EPEL 9, and thus
we retain older xz compression settings for that.

Signed-off-by: Neal Gompa <ngompa@fedoraproject.org>
This commit is contained in:
Neal Gompa 2024-12-01 07:21:51 -05:00 committed by kevin
parent 5d1e014ccd
commit 1ce3e36f76

View file

@ -26,24 +26,38 @@ compatibility = False
# Each section only inherits from DEFAULT, so `release` will not inherit from `prefix`.
# 'release' take precedence over 'prefix' as it is more specific.
[prefix.FEDORA-EPEL]
compatibility = True
updateinfo-compress-type = BZ2
drpms_enabled = True
general-compress = False
# The following should be superflous as they are overridden by compatibility flag
repodata-compress-type = gz
compatibility = False
updateinfo-compress-type = ZSTD
drpms_enabled = False
general-compress = True
repodata-compress-type = zstd
zchunk = False
sqlite_enabled = True
sqlite_enabled = False
[prefix.FEDORA-EPEL-NEXT]
compatibility = True
updateinfo-compress-type = BZ2
drpms_enabled = True
general-compress = False
# The following should be superflous as they are overridden by compatibility flag
repodata-compress-type = gz
compatibility = False
updateinfo-compress-type = ZSTD
drpms_enabled = False
general-compress = True
repodata-compress-type = zstd
zchunk = False
sqlite_enabled = True
sqlite_enabled = False
[release.EPEL-9]
updateinfo-compress-type = BZ2
repodata-compress-type = xz
general-compress = True
zchunk = False
drpms_enabled = False
sqlite_enabled = False
[release.EPEL-9N]
updateinfo-compress-type = BZ2
repodata-compress-type = xz
general-compress = True
zchunk = False
drpms_enabled = False
sqlite_enabled = False
[release.EPEL-8]
updateinfo-compress-type = BZ2