Merkle trees and build systems
Merkle trees and build systems
Posted May 30, 2020 13:26 UTC (Sat) by nim-nim (subscriber, #34454)In reply to: Merkle trees and build systems by walters
Parent article: Merkle trees and build systems
Posted May 31, 2020 20:01 UTC (Sun)
by MrWim (subscriber, #47432)
[Link] (1 responses)
You're referring to maintainer scripts and the like? With apt2ostree we store both the data and the metadata in separate trees. When we come to combine them together we try to reconstruct a dpkg database that would result from all these packages being unpacked into a chroot. I think of it being a bit like map-reduce, where you design the reduce step to be as cheap as possible, and the map can be expensive if you like because it deterministic, cacheable and parallelizable.
Posted Jun 5, 2020 10:09 UTC (Fri)
by nim-nim (subscriber, #34454)
[Link]
Merkle trees and build systems
Merkle trees and build systems
