Remove pungi/gather.py and associated code

This commit completly drops support for Yum as a depsolving/repoclosure
backend.

Signed-off-by: Lubomír Sedlář <lsedlar@redhat.com>
This commit is contained in:
Lubomír Sedlář 2024-11-18 09:58:23 +01:00
parent 3bc35a9a27
commit f5702e4c9d
20 changed files with 17 additions and 2437 deletions

View file

@ -466,13 +466,10 @@ class Compose(kobo.log.LoggingBase):
@property
def should_create_yum_database(self):
"""Explicit configuration trumps all. Otherwise check gather backend
and only create it for Yum.
"""Explicit configuration trumps all. Yum is no longer supported, so
default to False.
"""
config = self.conf.get("createrepo_database")
if config is not None:
return config
return self.conf["gather_backend"] == "yum"
return self.conf.get("createrepo_database", False)
def read_variants(self):
# TODO: move to phases/init ?