debian-forge/osbuild
Brian C. Lane f17ab5cbaf osbuild-depsolve-dnf: refactor into osbuild.solver module
This moves the dnf and dnf5 code into a new osbuild module called
solver. The dnf specific code is in dnf.py and dnf5 is in dnf5.py

At runtime the osbuild-depsolve-dnf script reads a config file from
/usr/lib/osbuild/solver.json and imports the selected solver. This
currently just contains a 'use_dnf5' bool but can be extended to support
other configuration options or depsolvers.

At build time a config file is selected from tools/solver-dnf.json or
tools/solver-dnf5.json and installed. Currently dnf5 is not installed,
it will be added when dnf5 5.2.1.0 becomes available in rawhide (Fedora
41).

The error messages have been normalized since the top level functions in
osbuild-depsolve-dnf do not know which version of dnf is being used.
2024-08-01 08:57:30 +02:00
..
formats format/v2: add new "partition" field to "describe_mount" 2023-12-22 10:18:29 -05:00
solver osbuild-depsolve-dnf: refactor into osbuild.solver module 2024-08-01 08:57:30 +02:00
testutil test: add new https_serve_directory() and test certs 2024-07-29 16:51:48 +02:00
util Revert "runners: clean up temp files before exiting the runner" 2024-05-20 11:55:24 -07:00
__init__.py Post release version bump 2024-07-31 08:15:39 +00:00
__main__.py osbuild: run isort on all files 2022-09-12 13:32:51 +02:00
api.py Fix errors reported by new version of mypy 2023-04-12 11:57:18 +02:00
buildroot.py osbuild: make the entire /etc/selinux avaialble for the buildroot 2024-03-22 11:24:35 +01:00
devices.py osbuild: error when {Device,Mount} is modified after creation 2024-01-19 02:54:26 +01:00
host.py tox: add tox 2023-08-01 15:01:13 +02:00
inputs.py osbuild: error when {Device,Mount} is modified after creation 2024-01-19 02:54:26 +01:00
loop.py Revert "osbuild: ensure loop.Loop() has the required device node" 2024-03-13 22:16:51 +02:00
main_cli.py main,monitor: fix total steps in progress reporting 2024-07-31 23:00:33 +02:00
meta.py meta: automatically allow devices as input in the stages schemas 2024-04-16 08:04:43 +02:00
mixins.py osbuild: error when {Device,Mount} is modified after creation 2024-01-19 02:54:26 +01:00
monitor.py main,monitor: fix total steps in progress reporting 2024-07-31 23:00:33 +02:00
mounts.py mounts/ostree.deployment: support deployments on mount 2024-01-31 16:46:01 -05:00
objectstore.py objectstore: add new skip_preserve_owner to Object.export() 2023-12-20 09:28:39 +01:00
pipeline.py osbuild: add workaround to integrate sources into progress reporting 2024-03-12 16:44:12 +01:00
remoteloop.py osbuild: reuse loop_for_fd() in LoopServer 2024-03-11 10:56:49 +01:00
sources.py sources: transform() is only used in the curl sources, remove from ABC 2024-03-19 14:21:57 +01:00