debian-forge/osbuild
Tom Gundersen e97f6ef34e objectstore: don't store objects by their treesum
The treesum of a filesystem tree is the content hash of all its
files, its directory structure and file metadata.

By storing trees by their treesum we avoid storing duplicates of
identical trees, at the cost of computing the hashes for every
commit to the store.

This has limited benefit as the likelihood of two trees being
identical is slim, in particular when we already have the ability
to cache based on pipeline/stage ID (i.e., we can avoid rebuilding
trees if the pipelines that built them were the same).

Drop the concept of a treesum entirely, even though I very much
liked the idea in theory...

Signed-off-by: Tom Gundersen <teg@jklm.no>
2021-12-16 16:44:07 +00:00
..
formats osbuild: on-demand building of pipelines 2021-12-02 12:51:30 +00:00
util devices: add custom udev rule inhibitor mechanism 2021-12-09 00:44:21 +00: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: remove host side arguments facility 2021-07-08 15:01:33 +01:00
buildroot.py buildroot: set container env variable 2021-12-09 13:14:27 +01:00
devices.py devices: add device path helper functions 2021-10-30 15:32:44 +01:00
host.py host: check reply_fds before sending them 2021-09-24 12:14:04 +01:00
inputs.py inputs: convert to host service 2021-06-09 18:37:47 +01:00
loop.py loop: add setup callback to loop_for_fd 2021-12-09 00:44:21 +00:00
main_cli.py osbuild: make monitor configurable via comandline 2021-12-09 00:44:21 +00:00
meta.py meta: allow mounts for all stages 2021-10-30 15:32:44 +01:00
monitor.py monitor/log: print pipeline information 2021-02-12 15:55:43 +01:00
mounts.py mounts: include tree directory in arguments 2021-10-30 15:32:44 +01:00
objectstore.py objectstore: don't store objects by their treesum 2021-12-16 16:44:07 +00:00
pipeline.py pipeline: fix small whitespace issue 2021-12-07 09:47:01 +00:00
remoteloop.py remoteloop: close loop device controller 2021-08-11 20:59:51 +02:00
sources.py sources: pass items via temporary file 2021-09-24 08:27:19 +01:00