pungi/pungi/phases
Tomáš Hozza e3072c3d5f
osbuild: don't use `util.get_repo_urls()`
Don't use `util.get_repo_urls()` to resolve provided repositories, but
implement osbuild-specific variant of the function named
`_get_repo_urls(). The reason is that the function from `utils`
transforms repositories defined as dicts to strings, which is
undesired for osbuild. The requirement for osbuild is to preserve the
dict as is, just to resolve the string in `baseurl` to the actual
repository URL.

Add a unit test covering the newly added function. It is inspired by a
similar test from `test_util.py`.

Signed-off-by: Tomáš Hozza <thozza@redhat.com>
2022-11-28 14:47:11 +01:00
..
gather Fix black complaint 2022-08-10 09:04:41 +02:00
pkgset pkgset: Report better error when module is missing an arch 2022-08-26 08:46:01 +00:00
__init__.py Add image-container phase 2021-02-09 14:47:57 +01:00
base.py Log time taken of each phase 2022-07-12 16:56:41 +08:00
buildinstall.py Avoid crash when loading pickle file failed 2022-07-01 10:33:52 +08:00
createiso.py createiso: Make ISO level more granular 2022-08-16 14:38:18 +02:00
createrepo.py Fix module defaults and obsoletes validation 2022-06-10 11:35:26 +00:00
extra_files.py Format code base with black 2020-02-05 17:35:47 +08:00
extra_isos.py createiso: Make ISO level more granular 2022-08-16 14:38:18 +02:00
image_build.py image_build: Allow reusing old image_build results 2021-10-20 14:07:02 +08:00
image_checksum.py Adding multithreading support for pungi/phases/image_checksum.py 2021-08-12 10:13:15 +02:00
image_container.py Cancel koji tasks when pungi terminated 2021-03-23 14:47:48 +08:00
init.py init: Filter comps for modular variants with tags 2022-11-03 11:11:01 +01:00
live_images.py Cancel koji tasks when pungi terminated 2021-03-23 14:47:48 +08:00
livemedia_phase.py nomacboot option for livemedia koji tasks 2022-03-23 09:36:51 +01:00
osbs.py osbs: only handle archives of type "image" 2022-03-17 11:04:02 -04:00
osbuild.py osbuild: don't use `util.get_repo_urls()` 2022-11-28 14:47:11 +01:00
ostree.py ostree: Add unified core mode for compose in rpm-ostree 2022-08-23 10:52:45 +02:00
ostree_installer.py Add skip_branding to ostree_installer. 2022-05-11 15:19:53 +02:00
phases_metadata.py Format code base with black 2020-02-05 17:35:47 +08:00
repoclosure.py Delete outdated comments 2020-04-22 17:14:51 +08:00
test.py Stop trying to validate non-existent metadata 2021-11-04 09:57:20 +01:00
weaver.py Format code base with black 2020-02-05 17:35:47 +08:00