mirror of
https://github.com/facebook/sapling.git
synced 2024-10-06 23:07:18 +03:00
A Scalable, User-Friendly Source Control System.
d777b70f9e
Summary: This adds a new `find_eden()` method to the Eden CLI code which can look up information about the correct EdenCheckout and EdenInstance given a path. In the future most CLI commands should switch to use this function over the current `get_eden_instance()` and `get_mount_path()` methods. These older APIs only work to find currently mounted checkouts, which is inadequate for commands like `fsck` and some other debug commands that want to be able to operate on unmounted checkouts. This new logic is able to correctly find checkout information even for unmounted checkouts. If the checkout is managed by an edenfs instance running out of a non-default location it also correctly finds the state information for Eden, rather than potentially using the wrong Eden state directory. Reviewed By: wez Differential Revision: D9385821 fbshipit-source-id: a6638f3c3817a595a7b7979c5cd218a2d7400f51 |
||
---|---|---|
CMake | ||
common | ||
eden | ||
.gitignore | ||
CMakeLists.txt | ||
CONTRIBUTING.md | ||
getdeps.py | ||
LICENSE | ||
PATENTS | ||
README.md |
Eden
Eden is a project with several components, the most prominent of which is a virtual filesystem built using FUSE.
Caveat Emptor
Eden is still in early stages of development. We are making it available now because we plan to start making references to it from our other open source projects, such as Buck, Watchman, and Nuclide.
The version that we provide on GitHub does not build yet.
This is because the code is exported verbatim from an internal repository at Facebook, and not all of the scaffolding from our internal repository can be easily extracted. The key areas where we need to shore things up are:
- The reinterpretations of build macros in
DEFS
. - A process for including third-party dependencies (presumably via Git submodules) and wiring up the
external_deps
argument in the build macros to point to them. - Providing the toolchain needed to power the [undocumented]
thrift_library()
rule in Buck.
The goal is to get Eden building on both Linux and OS X, though Linux support is expected to come first.