sapling/eden/fs/integration
Caren Thomas 96a63ff972 restructure eden directory
Summary:
These changes restructure the eden directory so that 'client' directories are created during the `eden clone` command and are associated with a single mount path.
The new eden directory looks as follows:
  ~/.eden
      config.json
      clients/
          abcd08d/
              edenrc
              SNAPSHOT
              overlay/
          efgh19i/
              edenrc
              SNAPSHOT
              overlay/
              ...

Where the config.json file holds the mapping of mount paths to their respective client directory which is a hash, and the edenrc files in each client directory is an INI file which holds the name of repository associated with the mount path. This INI file follows the current format:
    [repository]
    name = fbsource

This restructuring required a couple other changes:
- unmount command now cleans up the client directory and removes the mapping of its mount path from config.json
- eden list command now lists all of the mount paths rather than the client names

Reviewed By: bolinfest

Differential Revision: D3506119

fbshipit-source-id: dc07a8baf1052be731ff335d9cf74a07ab8e661a
2016-07-06 16:15:50 -07:00
..
lib restructure eden directory 2016-07-06 16:15:50 -07:00
basic_test.py change unmount to use mount path as arg 2016-07-06 16:15:49 -07:00
health_test.py minor refactoring of integration tests 2016-06-20 13:40:02 -07:00
oexcl_test.py eden: implement O_EXCL open flags 2016-07-05 19:54:21 -07:00
rc_test.py restructure eden directory 2016-07-06 16:15:50 -07:00
rename_test.py eden: implement rename for files, add test for sed -i 2016-07-05 19:54:21 -07:00
sed_test.py eden: implement rename for files, add test for sed -i 2016-07-05 19:54:21 -07:00
setattr_test.py eden: implement setattr for file inodes 2016-07-01 15:10:02 -07:00
TARGETS minor refactoring of integration tests 2016-06-20 13:40:02 -07:00
thrift_test.py minor refactoring of integration tests 2016-06-20 13:40:02 -07:00
unlink_test.py eden: implement unlink and rmdir 2016-07-05 19:54:21 -07:00
xattr_test.py minor refactoring of integration tests 2016-06-20 13:40:02 -07:00