debian-forge-composer/internal
Tom Gundersen cdd1912e78 dnf-json: make independent from the host
We must avoid depending on the host's state in any way. This achieves
isolation in the following ways:
 - rather than the default config file /dev/null is used
 - rather than sharing the host persistent state dir a temporary one
   is used and thrown away for each call
 - the module_platform_id is set explicitly per supported distro, rather
   than taken from /etc/os-release.

Optionally, the cache directory can be configured, as we may want to keep
this separate from the host, if for no other reason than accounting.
However, the cache appears to be well-behaved, so we can keep sharing
it between calls (or even with the host). This speeds up things
considerably, so this is definitely what we want.

Signed-off-by: Tom Gundersen <teg@jklm.no>
2020-02-14 14:43:27 +01:00
..
blueprint blueprints: fix group handling 2019-12-17 09:24:15 +01:00
common common: refactor build states into a separate file 2020-02-12 11:17:26 +01:00
compose pipeline: rename package to osbuild 2020-02-14 14:43:27 +01:00
crypt crypt: make it possible to compile and test on macOS 2020-01-30 14:42:25 +01:00
distro distro: expose BuildPackages 2020-02-14 14:43:27 +01:00
jobqueue pipeline: rename package to osbuild 2020-02-14 14:43:27 +01:00
mocks/rpmmd dnf-json: make independent from the host 2020-02-14 14:43:27 +01:00
osbuild pipeline: rename package to osbuild 2020-02-14 14:43:27 +01:00
rcm RCM API: return bad request instead of internal server error 2020-02-12 11:17:26 +01:00
rpmmd dnf-json: make independent from the host 2020-02-14 14:43:27 +01:00
store pipeline: rename package to osbuild 2020-02-14 14:43:27 +01:00
target targets/local: drop Location field 2020-02-14 11:53:38 +01:00
test api: implement /compose/log 2019-12-20 11:43:39 +01:00
upload fix ineffectual assignments found by golangci-lint 2020-02-14 12:41:09 +01:00
weldr dnf-json: make independent from the host 2020-02-14 14:43:27 +01:00