mirror of
https://github.com/facebook/sapling.git
synced 2024-10-10 08:47:12 +03:00
A Scalable, User-Friendly Source Control System.
e837848da5
Summary: Previously, we were generating a bit of disconcerting noise in our logs when requesting a non-existent key in the dirstate or its copy map. We were also susceptible to a logical error in the Eden side being silently translated to a `KeyError` on the Python side. Now we make things more explicit by converting a `std::out_of_range` on the C++ side to an explicit `NoValueForKeyError` that is defined in `eden.thrift`. Now the Python side catches a `NoValueForKeyError` explicitly and converts it into a `KeyError`. Other types of exceptions should pass through rather than be swallowed. This also updates the log messages to communicate when a there is no value for a key. The messaging is improved so that it no longer appears to be a logical error. Reviewed By: wez Differential Revision: D5800833 fbshipit-source-id: c44f2caf04622475d218593037cc6616bbb1c701 |
||
---|---|---|
common | ||
eden | ||
external | ||
.buckconfig | ||
.gitignore | ||
CONTRIBUTING.md | ||
DEFS | ||
getdeps.py | ||
install | ||
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.