debian-forge/osbuild/formats
Christian Kellner 5bdc8d030c osbuild: auto-detect best available runner
Use the new `Index.detect_runner` method that will give us the best
available runner for a requested one. To do so a new `pipeline.Runner`
class is introduced that stores the `meta.RunnerInfo` class for the
specific runner and the original name that was requested.
In the manifest loading and describing functions of the formats, use
`Index.detect_runner` to get the `RunnerInfo` for a requested runner
and then wrap it in a `pipeline.Runner` object, which is then passed
to the `Manifest.add_pipeline` method.
See also commit "meta: ability to auto-detect runner".
Adjust all test.
2022-10-11 12:49:16 +02:00
..
__init__.py formats: extract manifest loading into module 2021-01-09 18:09:47 +01:00
v1.py osbuild: auto-detect best available runner 2022-10-11 12:49:16 +02:00
v2.py osbuild: auto-detect best available runner 2022-10-11 12:49:16 +02:00