Merkle trees and build systems
Merkle trees and build systems
Posted May 30, 2020 13:20 UTC (Sat) by nim-nim (subscriber, #34454)In reply to: Merkle trees and build systems by drothlis
Parent article: Merkle trees and build systems
The result certainly looks convenient but if it was more than an ostree transposition of how things were already done you would not have an apt2ostree in the middle of the article.
Posted May 31, 2020 19:53 UTC (Sun)
by MrWim (subscriber, #47432)
[Link] (1 responses)
This seems like a strange comment to make on an article specifically describing the advantages of making such a transposition. The only difference between storing source-code in git vs storing it as source tarballs is storage and performance characteristics. But: it's exactly those differences that make git so much more useful than source tarballs. You interact with it and think about it differently once certain operations are cheap. At the risk of restating things already stated in the article: You could implement all of the above with tarballs, but it would be so impractical that you wouldn't. With Merkle trees it's natural. Whether it's innovative or not is irrelevant.
Posted Jun 5, 2020 10:03 UTC (Fri)
by nim-nim (subscriber, #34454)
[Link]
And I strongly suspect that a lot of the parts where you would find existing systems inefficient, are inefficient because rpm and apt systems have to deal with the real world, where code maintenance and ownership is distributed, and you do no have a single dev entity owning the whole codebase that can do whatever it wants at all stages of the build in its own custom (ostree) sets.
From this POW the article (IMHO) mistakes the convenience of a single unified BSD-style build tree with the convenience of ostree itself. Unified build trees *are* definitely more convenient, they just do not scale to the messiness of real life dev organization structures.
Anyway, I did write that the result looked convenient, so no criticism of the ostree implementation on my part, just reacting to people that implied ostree invented hot water.
Merkle trees and build systems
Merkle trees and build systems
