mirror of
https://github.com/facebook/sapling.git
synced 2024-10-08 15:57:43 +03:00
A Scalable, User-Friendly Source Control System.
ab05c494b9
Summary: Update the logic for how the Eden integration tests find the hg binary: - Use the contents of the EDEN_HG_BINARY environment variable if set. When running tests via `buck test` buck will pass the hg.par output location in this variable. - If EDEN_HG_BINARY is not set, use libfb.py.pathutils to find the location of the //scm/hg:hg rule output. This makes sure the integration tests still prefer this par path even when run manually without EDEN_HG_BINARY set. This is convenient when running individual tests not through buck. If for some reason the hg python_binary() output cannot be found then we still search through $PATH for hg.real or hg as usual. For internal fbsource builds we generally shouldn't hit this fallback case, though. Reviewed By: wez, quark-zju Differential Revision: D6986221 fbshipit-source-id: 982cb99112405a674dbc45df4ada73a990536489 |
||
---|---|---|
common | ||
eden | ||
external | ||
.gitignore | ||
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.