5acfb90b23
Prior to this change, if the entire product IDs SCM directory was missing, pungi would crash with an error. For example, if "ceph-3" was missing from the SCM: OSError: [Errno 2] No such file or directory: '/tmp/tmpMb9O6r/product_ids/ceph-3' This occurred even if product_id_allow_missing was set to True. Make product_id_allow_missing cover this case as well, and gracefully skip all product IDs. We now see the following warning in the logs instead: [WARNING ] No product IDs in {'scm': 'git', 'repo': 'git://example.com/rcm/rcm-metadata.git', 'dir': 'product_ids/ceph-3'} and the compose succeeds. Signed-off-by: Ken Dreyer <kdreyer@redhat.com> |
||
---|---|---|
.. | ||
compose_metadata | ||
ostree | ||
phases | ||
wrappers | ||
__init__.py | ||
arch.py | ||
checks.py | ||
common.py | ||
compose.py | ||
config.py | ||
createiso.py | ||
dnf_wrapper.py | ||
gather_dnf.py | ||
gather.py | ||
ks.py | ||
linker.py | ||
media_split.py | ||
metadata.py | ||
multilib_dnf.py | ||
multilib_yum.py | ||
notifier.py | ||
pathmatch.py | ||
paths.py | ||
profiler.py | ||
util.py |