debian-forge/sources/test
Michael Vogt 65a7ce2461 sources: relax "mirror" regexp to follow upstream repo ID
This commit relaxes the "mirror" schema regex from only allow
hashes to the repo ID regex as described in
https://dnf.readthedocs.io/en/latest/conf_ref.html#description

This is needed because in e.g. bootc-image-builder we use
"SetRootDir()" to get the repository information from an existing
bootc image and there the repo_id (that is then used as the mirror_id)
is written in a human friendly way instead of hex.

Thanks to Tomáš Hozza for the suggestions and background info, see
https://github.com/osbuild/osbuild/pull/1974#issuecomment-2579325272
2025-01-14 08:19:16 +01:00
..
conftest.py sources: add sources_schema() helper 2025-01-14 08:19:16 +01:00
test_container_storage_source.py sources: add new sources_service fixture 2024-04-03 11:36:01 +02:00
test_curl_source.py test: regenerate X509 test certs 2024-11-22 10:15:50 +01:00
test_librepo.py sources: relax "mirror" regexp to follow upstream repo ID 2025-01-14 08:19:16 +01:00
test_ostree_source.py sources: skip ostree tests if no ostree binary if found 2024-11-28 20:06:51 +01:00