debian-forge/test/mod
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
..
__init__.py test: '{. -> ./mod}/test_util_selinux.py' 2020-04-24 15:50:44 +02:00
test_api.py api: remove host side arguments facility 2021-07-08 15:01:33 +01:00
test_buildroot.py buildroot: set container env variable 2021-12-09 13:14:27 +01:00
test_fmt_v1.py osbuild: on-demand building of pipelines 2021-12-02 12:51:30 +00:00
test_fmt_v2.py device: add support for parent devices 2021-08-13 12:20:54 +02:00
test_host.py test/host: checks for invalid fd handling 2021-09-24 12:14:04 +01:00
test_loop.py loop: add new on_close callback to Loop 2021-12-09 00:44:21 +00:00
test_monitor.py formats/v1: remove implicit assembler export 2021-12-02 12:51:30 +00:00
test_objectstore.py objectstore: don't store objects by their treesum 2021-12-16 16:44:07 +00:00
test_osbuild.py test/osbuild: add order check for on_demand 2021-12-03 17:09:33 +00:00
test_util_checksum.py test/mod: add checks for util.test_util 2021-05-12 14:26:16 +02:00
test_util_ctx.py util/ctx: extract suppress_oserror() 2020-05-11 18:05:12 +02:00
test_util_jsoncomm.py util/jsoncomm: add send_and_recv helper 2021-06-09 18:37:47 +01:00
test_util_linux.py test: convert to shared helpers 2020-05-13 14:26:05 +02:00
test_util_lorax.py test/util_lorax: add basic checks 2021-02-19 14:42:32 +00:00
test_util_lvm2.py test/lvm2: use LoopControl.loop_for_fd 2021-11-12 17:40:00 +01:00
test_util_osrelease.py test: make TestBase inherit unittest.TestCase 2020-06-05 09:27:40 +02:00
test_util_ostree.py stages: add org.osbuild.ostree.passwd 2021-08-17 13:53:00 +02:00
test_util_path.py test/util_path: add basic utility function test 2021-06-28 19:07:42 +02:00
test_util_rhsm.py sources/curl: Implement new way of getting RHSM secrets 2021-06-04 18:23:05 +01:00
test_util_rmrf.py test: convert to shared helpers 2020-05-13 14:26:05 +02:00
test_util_selinux.py test: '{. -> ./mod}/test_util_selinux.py' 2020-04-24 15:50:44 +02:00
test_util_udev.py devices: add custom udev rule inhibitor mechanism 2021-12-09 00:44:21 +00:00