debian-forge/osbuild
Christian Kellner f8428e56e2 objectstore: add Object.read_at method
Implement a new `read_at` method that will bind mount the tree of the
object to a specified location, instead of a temporary directory as
it done in the `read` method. Implement the latter via `read_at`.
Implement the corresponding methods for `Store{Client,Server}`. Since
the `ObjectStore.read_at` method will fail if the target directory
does not exist (or is of the wrong type), catch any exceptions in
the `StoreServer` and send those to the `StoreClient` via an `error`
entry.
This one is for David: also fix a missing blank line.
2021-06-09 18:37:47 +01:00
..
formats format/v2: extract stage-level input description 2021-06-09 18:37:47 +01:00
util util/jsoncomm: add send_and_recv helper 2021-06-09 18:37:47 +01:00
__init__.py pipeline: remove Assembler class 2021-01-19 10:42:26 +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: set PYTHONUNBUFFERED env variable 2021-06-09 18:37:47 +01:00
host.py osbuild: introduce host services 2021-06-09 18:37:47 +01:00
inputs.py inputs: remove type info for info param 2021-02-06 12:04:30 +01:00
loop.py loop: use python 3 style base class initialization 2020-10-30 17:28:31 +01:00
main_cli.py main_cli: add --export command line argument 2021-02-12 15:55:43 +01:00
meta.py meta: support definitions in schema version 2 2021-06-09 18:37:47 +01:00
monitor.py monitor/log: print pipeline information 2021-02-12 15:55:43 +01:00
objectstore.py objectstore: add Object.read_at method 2021-06-09 18:37:47 +01:00
pipeline.py pipeline: remove left-over temp directory 2021-06-09 18:37:47 +01:00
remoteloop.py api: remove 'addr' param from message dispatcher 2020-07-29 02:16:20 +01:00
sources.py sources: remove server and get method 2021-04-29 12:58:01 +02:00
treesum.py treesum: handle special device files 2021-02-16 23:00:13 +00:00