debian-forge/osbuild
Christian Kellner e24dfbd23f pipeline: don't use a non-existing base for trees
The current pipeline code used to set a base for a tree object
that might or might not exist. Depending on it it would either
use that object or reset its base. Avoid doing that because it
prohibits us from properly interpreting the `id` of an object
if the latter is also set when `base_id` is assigned, since
that base might not exist and thus the `id` would not actually
mean that the the contents of tree associated with the object.
Therefore we use `ObjectStore.get` and return the result if it
is not None or a fresh Object otherwise.
2021-01-15 13:20:31 +01:00
..
formats formats: describe now takes a manifest 2021-01-09 18:09:47 +01:00
util util/jsoncomm: chain the BufferError in recv 2020-10-30 17:28:31 +01:00
__init__.py osbuild: introduce Manifest class 2021-01-09 18:09:47 +01:00
__main__.py osbuild: always return exit code 2020-10-27 22:04:09 +01:00
api.py api: ensure parent of socket dir exists 2020-12-04 12:28:30 +01:00
buildroot.py buildroot: continuously stream log data to monitor 2020-10-28 14:28:07 +01:00
loop.py loop: use python 3 style base class initialization 2020-10-30 17:28:31 +01:00
main_cli.py pipeline: run method takes store object not dir 2021-01-15 13:20:31 +01:00
meta.py formats/v1: move validation logic here 2021-01-09 18:09:47 +01:00
monitor.py monitor: add assembler/stage duration 2020-08-06 16:19:47 +02:00
objectstore.py objectstore: make objects identifyable 2021-01-15 13:20:31 +01:00
pipeline.py pipeline: don't use a non-existing base for trees 2021-01-15 13:20:31 +01:00
remoteloop.py api: remove 'addr' param from message dispatcher 2020-07-29 02:16:20 +01:00
sources.py api: remove 'addr' param from message dispatcher 2020-07-29 02:16:20 +01:00
treesum.py treesum: don't use dir_fd parameter in os.scandir() 2019-11-29 00:45:14 +01:00