sapling/eden/fs/service
Wez Furlong 4829dfe319 change systemConfigDir to etcEdenDir
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
2017-01-23 23:54:38 -08:00
..
oss update all copyright statements to "2016-present" 2017-01-20 22:03:02 -08:00
__init__.py update all copyright statements to "2016-present" 2017-01-20 22:03:02 -08:00
client.py fix a variety of lint issues 2017-01-23 18:03:09 -08:00
DEFS parallelize getSHA1() 2017-01-17 15:03:20 -08:00
eden.stream.thrift additional query API for our thrift interface 2016-09-26 13:52:25 -07:00
eden.thrift Use the StatusCode from Thrift as the canonical representation. 2016-12-16 17:49:05 -08:00
EdenError.cpp update all copyright statements to "2016-present" 2017-01-20 22:03:02 -08:00
EdenError.h update all copyright statements to "2016-present" 2017-01-20 22:03:02 -08:00
EdenMountHandler.cpp update all copyright statements to "2016-present" 2017-01-20 22:03:02 -08:00
EdenMountHandler.h update all copyright statements to "2016-present" 2017-01-20 22:03:02 -08:00
EdenServer.cpp change systemConfigDir to etcEdenDir 2017-01-23 23:54:38 -08:00
EdenServer.h change systemConfigDir to etcEdenDir 2017-01-23 23:54:38 -08:00
EdenServiceHandler.cpp clarify logging around running post-clone when it doesn't exist 2017-01-23 23:54:38 -08:00
EdenServiceHandler.h update all copyright statements to "2016-present" 2017-01-20 22:03:02 -08:00
main.cpp change systemConfigDir to etcEdenDir 2017-01-23 23:54:38 -08:00
TARGETS Fixup more rule names in TARGETS 2017-01-16 11:40:07 -08:00