Re:EdenSCM – A cross-platform, scalable source control manag...
by m12k on Saturday May 09, 2020 @09:38AM
(#23124590)
Does this work together with a build cache? My dream setup for dealing with building huge code bases is a file system integrated with the version control system to only download files when they are accessed (which sounds like what this does) but also employing a build cache and module system, so it doesn't even need to download and compile any module that has not been touched, it just downloads the result from the build cache instead.
[ Parent
| on HN ]
Re:EdenSCM – A cross-platform, scalable source control manag...
by kyrra on Saturday May 09, 2020 @09:47AM
(#23124657)
Seems like they can be separated systems. For example, Google's Bazel supports build caches.
https://docs.bazel.build/versions/master/remote-caching.html
Re:EdenSCM – A cross-platform, scalable source control manag...
by chadaustin on Saturday May 09, 2020 @12:04PM
(#23125880)
EdenFS makes it possible to query for hashes of files so any cached outputs can be looked up from the build cache without having to download the source control. There’s more to do here, but that’s a big benefit of having a custom filesystem.
Re:EdenSCM – A cross-platform, scalable source control manag...
by rakoo on Saturday May 09, 2020 @03:08PM
(#23127491)
This is exactly what Google's internal system does: https://cacm.acm.org/magazines/2016/7/204032-why-google-stor...
The SCM, the CI, the Merge Request system, the build system, they're all tied together into a single thing. Google has open sourced parts of it but nothing exists as a whole unit the way Google does it
Re:EdenSCM – A cross-platform, scalable source control manag...
by smilliken on Saturday May 09, 2020 @02:48PM
(#23127341)
Nix has a build cache which is keyed by a hash of the build inputs, so a package will only be rebuilt if sources or dependencies change. The cache is immutable and is populated on demand from the network. https://nixos.org/nix/