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:
parent
3bc35a9a27
commit
f5702e4c9d
20 changed files with 17 additions and 2437 deletions
|
|
@ -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 ?
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue