mirror of
https://github.com/facebook/sapling.git
synced 2024-10-08 07:49:11 +03:00
4829dfe319
Summary: While testing with the fb-eden rpm installed, I hit some integration test failures. These were caused by the integration tests picking up the default post-clone hook configuration. This diff changes our existing `systemConfigDir` option (which defaults to `/etc/eden/config.d`) to `etcEdenDir` (which defaults to `/etc/eden`) and adjusts the code that consumed `systemConfigDir` to construct the effective value by computing `etcEdenDir + "config.d"`. Doing this allows us to also default the `repoHooks` path to be `etcEdenDir + "hooks"` rather than just hard coding `/etc/eden/hooks`. The result of this is that our integration tests will now pass when `fb-eden` is installed, because they override the `etcEdenDir` option and isolate their `edenfs` processes from the globally installed configuration. Reviewed By: bolinfest Differential Revision: D4446321 fbshipit-source-id: 524fdb2f386fdf16dce42dce7661d07e13c0f0e7 |
||
---|---|---|
.. | ||
oss | ||
__init__.py | ||
client.py | ||
DEFS | ||
eden.stream.thrift | ||
eden.thrift | ||
EdenError.cpp | ||
EdenError.h | ||
EdenMountHandler.cpp | ||
EdenMountHandler.h | ||
EdenServer.cpp | ||
EdenServer.h | ||
EdenServiceHandler.cpp | ||
EdenServiceHandler.h | ||
main.cpp | ||
TARGETS |