bodhi-backend: update createrepo and pungi config for https://fedoraproject.org/wiki/Changes/ChangeComposeSettings
Signed-off-by: Mattia Verga <mattia.verga@tiscali.it>
This commit is contained in:
parent
194213a6bf
commit
c85ad30616
2 changed files with 57 additions and 7 deletions
|
@ -1,33 +1,74 @@
|
||||||
[DEFAULT]
|
[DEFAULT]
|
||||||
# updateinfo-compress-type is used to generate updateinfo file in metadata.py
|
# updateinfo-compress-type is used to generate updateinfo file in metadata.py
|
||||||
# set the value to an attribute which match the python constant
|
# set the value to an attribute which match the python constant
|
||||||
# Supported options are: BZ2, GZ, ZSTD, XZ.
|
# Supported values are: BZ2, GZ, ZSTD, XZ.
|
||||||
updateinfo-compress-type = XZ
|
updateinfo-compress-type = ZSTD
|
||||||
# repodata-compress-type is used in the CLI call to createrepo_c
|
# repodata-compress-type is used in the CLI call to createrepo_c
|
||||||
# set the value to match the `--compress-type=COMPRESSION_TYPE` option
|
# set the value to match the `--compress-type=COMPRESSION_TYPE` option
|
||||||
# Supported options are: bz2, gz, zck, zstd, xz.
|
# Supported values are: bz2, gz, zstd, xz.
|
||||||
# Or leave empty for no compression.
|
# Or leave empty for default compression from createrepo_c.
|
||||||
repodata-compress-type =
|
repodata-compress-type = zstd
|
||||||
# setting general-compress to True will switch usage of `--compress-type=COMPRESSION_TYPE`
|
# setting general-compress to True will switch usage of `--compress-type=COMPRESSION_TYPE`
|
||||||
# to `--general-compress-type=COMPRESSION_TYPE`. See `man createrepo_c`.
|
# to `--general-compress-type=COMPRESSION_TYPE`. See `man createrepo_c`.
|
||||||
general-compress = False
|
general-compress = True
|
||||||
# zchunk is a boolean which enables zchunk on repodata
|
# zchunk is a boolean which enables zchunk on repodata
|
||||||
zchunk = True
|
zchunk = True
|
||||||
# drpms_enabled is a boolean which enables DRPMs generation
|
# drpms_enabled is a boolean which enables DRPMs generation
|
||||||
drpms_enabled = True
|
drpms_enabled = False
|
||||||
|
# sqlite_enabled is a boolean which enables metadata sqlite db creation
|
||||||
|
sqlite_enabled = False
|
||||||
|
# compatibility is a boolean which injects `--compatibility` flag
|
||||||
|
# in createrepo_c command
|
||||||
|
compatibility = False
|
||||||
|
|
||||||
# Here you can override default values by matching Release.prefix_id or Release.name
|
# Here you can override default values by matching Release.prefix_id or Release.name
|
||||||
# If a value is not overridden, those from DEFAULT are used
|
# If a value is not overridden, those from DEFAULT are used
|
||||||
# Each section only inherits from DEFAULT, so `release` will not inherit from `prefix`.
|
# Each section only inherits from DEFAULT, so `release` will not inherit from `prefix`.
|
||||||
# 'release' take precedence over 'prefix' as it is more specific.
|
# 'release' take precedence over 'prefix' as it is more specific.
|
||||||
[prefix.FEDORA-EPEL]
|
[prefix.FEDORA-EPEL]
|
||||||
|
compatibility = True
|
||||||
updateinfo-compress-type = BZ2
|
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
|
||||||
zchunk = False
|
zchunk = False
|
||||||
|
sqlite_enabled = True
|
||||||
|
|
||||||
[release.EPEL-8]
|
[release.EPEL-8]
|
||||||
updateinfo-compress-type = BZ2
|
updateinfo-compress-type = BZ2
|
||||||
repodata-compress-type = xz
|
repodata-compress-type = xz
|
||||||
|
general-compress = False
|
||||||
zchunk = False
|
zchunk = False
|
||||||
|
drpms_enabled = True
|
||||||
|
sqlite_enabled = True
|
||||||
|
|
||||||
[release.F40]
|
[release.F40]
|
||||||
|
compatibility = True
|
||||||
|
updateinfo-compress-type = XZ
|
||||||
drpms_enabled = False
|
drpms_enabled = False
|
||||||
|
general-compress = False
|
||||||
|
# The following should be superflous as they are overridden by compatibility flag
|
||||||
|
repodata-compress-type =
|
||||||
|
zchunk = True
|
||||||
|
sqlite_enabled = True
|
||||||
|
|
||||||
|
[release.F39]
|
||||||
|
compatibility = True
|
||||||
|
updateinfo-compress-type = XZ
|
||||||
|
drpms_enabled = True
|
||||||
|
general-compress = False
|
||||||
|
# The following should be superflous as they are overridden by compatibility flag
|
||||||
|
repodata-compress-type =
|
||||||
|
zchunk = True
|
||||||
|
sqlite_enabled = True
|
||||||
|
|
||||||
|
[release.F38]
|
||||||
|
compatibility = True
|
||||||
|
updateinfo-compress-type = XZ
|
||||||
|
drpms_enabled = True
|
||||||
|
general-compress = False
|
||||||
|
# The following should be superflous as they are overridden by compatibility flag
|
||||||
|
repodata-compress-type =
|
||||||
|
zchunk = True
|
||||||
|
sqlite_enabled = True
|
||||||
|
|
|
@ -70,7 +70,13 @@ createrepo_deltas = [
|
||||||
('^Everything$', {'*': False})
|
('^Everything$', {'*': False})
|
||||||
]
|
]
|
||||||
[% endif %]
|
[% endif %]
|
||||||
|
|
||||||
|
[% if cr_config.sqlite_enabled %]
|
||||||
createrepo_database = True
|
createrepo_database = True
|
||||||
|
[% else %]
|
||||||
|
createrepo_database = False
|
||||||
|
[% endif %]
|
||||||
|
|
||||||
createrepo_extra_args = [
|
createrepo_extra_args = [
|
||||||
[% if cr_config.zchunk %]
|
[% if cr_config.zchunk %]
|
||||||
'--zck', '--zck-dict-dir=/usr/share/fedora-repo-zdicts/f[[ release.version_int ]]',
|
'--zck', '--zck-dict-dir=/usr/share/fedora-repo-zdicts/f[[ release.version_int ]]',
|
||||||
|
@ -82,6 +88,9 @@ createrepo_extra_args = [
|
||||||
'--compress-type=[[ cr_config.repodata_comp ]]',
|
'--compress-type=[[ cr_config.repodata_comp ]]',
|
||||||
[% endif %]
|
[% endif %]
|
||||||
[% endif %]
|
[% endif %]
|
||||||
|
[% if cr_config.compatibility %]
|
||||||
|
'--compatibility',
|
||||||
|
[% endif %]
|
||||||
]
|
]
|
||||||
|
|
||||||
# CHECKSUMS
|
# CHECKSUMS
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue