Re:Build faster with Buck2: Our open source build system
by autarch on Thursday April 06, 2023 @12:40PM
(#35470922)
I'm not sure how Mercurial is relevant. From reading the Buck2 getting started docs, it looks like it works just fine with Git repos.
Re:Build faster with Buck2: Our open source build system
by rektide on Thursday April 06, 2023 @12:51PM
(#35471080)
It indeed is not the primary concern of build systems. For many folks, there's some ci/CD systems checking stuff out & feeding their build tools.
Buck2 notably though tries to be a good persistent incremental build system, and it needs much more awareness of things changing. It does integrate with Sapling for these kind of reasons.
So the boundaries are a bit blurrier than they used to be between scm/build/ci/CD tools.
Re:Build faster with Buck2: Our open source build system
by fanzeyi on Thursday April 06, 2023 @01:13PM
(#35471385)
My understanding is that Buck2 uses Watchman (disclaimer: I'm one of the maintainers) so it can work with both Git and Mercurial repositories efficiently, without compromising performance.
Re:Build faster with Buck2: Our open source build system
by ndmitchell on Thursday April 06, 2023 @03:09PM
(#35472971)
It can use watchman, but for open source we default to inotify (and platform equivalent versions on Mac/Windows) to avoid you having to install anything.
They do mention that it supports virtual file systems through Sapling, which now encompasses their long known EdenFS. I'd like to know more but right off the bat Sapling says it is:
> Sapling SCM is a cross-platform, highly scalable, Git-compatible source control system.
Git compatible eh? Thats a lot less foreboding.
I hope there are some good up to date resources on Sapling/EdenFS. I have heard some really interesting things about code kind of auto getting shipped up to the mothership & built/linted proactively, it just at commit points, which always sounded neat, and there seem to be some neat transparent thin checkout capabilities here.
https://github.com/facebook/sapling