debian-forge/tools
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
..
test tools/test: check for *filelists* in depsolve repodata 2024-05-29 01:39:05 +02:00
check-runners tools: add "tools" dir to LINTABLES and fix issues 2023-11-13 10:10:12 +01:00
check-snapshots check-snapshots: add log info when a download fails 2024-02-20 14:52:23 -08:00
gen-stage-test-diff tools: make gen-stage-test-diff pylint clean 2024-02-20 14:52:23 -08:00
inline-source.py tools: add inline-source.py 2021-05-12 14:26:16 +02:00
lorax-template-pkgs.py osbuild: run isort on all files 2022-09-12 13:32:51 +02:00
osbuild mpp: combine depsolve and import into mpp.py 2021-06-30 20:26:07 +01:00
osbuild-depsolve-dnf osbuild-depsolve-dnf: refactor into osbuild.solver module 2024-08-01 08:57:30 +02:00
osbuild-dev lint: explicit check 2024-03-05 16:10:27 +01:00
osbuild-json-seq-progress-example-renderer tools: add example json-seq render based on tqdm 2024-03-12 16:44:12 +01:00
osbuild-mpp mpp: Allow container-storage image resolution 2024-07-23 16:01:33 +02:00
set-env-variables.sh tools: add set-env-variables.sh 2022-04-13 14:57:27 +02:00
solver-dnf.json osbuild-depsolve-dnf: refactor into osbuild.solver module 2024-08-01 08:57:30 +02:00
solver-dnf5.json osbuild-depsolve-dnf: refactor into osbuild.solver module 2024-08-01 08:57:30 +02:00
tree-diff tools/tree-diff: use null for timestamped files 2024-06-06 15:41:49 +01:00