pungi/pungi
Adam Williamson aa7fcc1c20 Improve autodetection of productmd image type for osbuild images
I don't love inferring the type from the filename like this -
it's kinda backwards - but it's an improvement on the current
logic (I don't think 'dvd' is ever currently the correct value
here, I don't think osbuild *can* currently build the type of
image that 'dvd' is meant to indicate). I can't immediately see
any better source of data here (we could use the 'name' or
'package_name' from 'build_info', but those are pretty much
just inputs to the filenames anyway).

Types that are possible in productmd but not covered here are
'cd' (never likely to be used again in Fedora at least, not sure
about RHEL), 'dvd-debuginfo' (again not used in Fedora, may be
used in RHEL), 'ec2', 'kvm' (not sure about those), 'netinst'
(this is a synonym for 'boot', we use 'boot' in practice in
Fedora metadata), 'p2v' and 'rescue' (not sure).

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-11-06 08:24:12 -10:00
..
compose_metadata Format code base with black 2020-02-05 17:35:47 +08:00
ostree ostree: Add unified core mode for compose in rpm-ostree 2022-08-23 10:52:45 +02:00
phases Improve autodetection of productmd image type for osbuild images 2023-11-06 08:24:12 -10:00
scripts Add script for cleaning up the cache 2023-08-23 07:26:56 +00:00
wrappers Drop buildinstall method 2023-10-18 06:38:14 +00:00
__init__.py Format code base with black 2020-02-05 17:35:47 +08:00
arch.py Format code base with black 2020-02-05 17:35:47 +08:00
arch_utils.py Format code 2021-03-02 18:31:45 +08:00
checks.py Drop buildinstall method 2023-10-18 06:38:14 +00:00
common.py Format code base with black 2020-02-05 17:35:47 +08:00
compose.py Add support for not having koji volume mounted locally 2023-08-23 07:26:56 +00:00
config.py Format code base with black 2020-02-05 17:35:47 +08:00
createiso.py Drop buildinstall method 2023-10-18 06:38:14 +00:00
dnf_wrapper.py Format code base with black 2020-02-05 17:35:47 +08:00
errors.py Move UnsignedPackagesError to a separate file 2021-02-08 10:16:32 +00:00
gather.py Fix black complaints 2023-02-02 12:53:32 +01:00
gather_dnf.py gather_dnf.py: Do not raise error when the downloaded package is exists. 2023-09-07 14:54:18 +02:00
graph.py Format code 2021-03-02 18:31:45 +08:00
ks.py Format code base with black 2020-02-05 17:35:47 +08:00
linker.py Hardlink or copy scratch builds always 2020-08-07 18:00:19 +08:00
media_split.py Fix black complaint 2022-08-10 09:04:41 +02:00
metadata.py Remove useless debug message 2023-05-30 15:46:17 +02:00
module_util.py Fix module defaults and obsoletes validation 2022-06-10 11:35:26 +00:00
multilib_dnf.py Format code base with black 2020-02-05 17:35:47 +08:00
multilib_yum.py Format code base with black 2020-02-05 17:35:47 +08:00
notifier.py Fix the wrong working directory for the progress_notification script 2022-03-01 11:25:06 +00:00
pathmatch.py Remove FSF address from comments 2016-09-23 10:26:43 +02:00
paths.py Add module obsoletes feature 2022-01-12 12:51:37 +01:00
profiler.py profiler: Flush stdout before printing 2022-08-29 05:57:14 +00:00
runroot.py Convert _ssh_run output to str for python3 2022-07-15 13:45:15 +08:00
util.py Add support for not having koji volume mounted locally 2023-08-23 07:26:56 +00:00