sapling/eden/cli/test
Eamonn Kent 59deefe6ab Eden should support toml configuration files
Summary:
Eden should load its configuration from toml files. This change includes:

- ConfigParser is the class that parses and provides access to the  configuration. We load the configuration from toml files and pass to ConfigParser in order to preserve existing behavior.

- The toml configuration format differs from the Config format. Thus, we use toml.load() and toml.dump() to load/save toml format configuration.

- Tests
  - configuration is properly loaded from a group of config files
  - toml configuration (if present) takes precedence
  - missing configuration files (/home/user/.edenrc) are ignored
  - invalid configuration files are fatal
  - update of configuration works (adding repo)
  - toml parsing handles over-rides of properties in the same way as cfg files

Deployment Strategy:
- This code determines whether to use toml configuration based on the presence
  of atleast 1 '.toml' file in the etc-eden-dir/config.d.

Reviewed By: chadaustin

Differential Revision: D9023232

fbshipit-source-id: 6734a9d91eca92b05872a758c764546451dd2d51
2018-08-03 17:06:41 -07:00
..
config_test.py Eden should support toml configuration files 2018-08-03 17:06:41 -07:00
doctor_test.py refactor terminal output handling in eden doctor 2018-07-18 18:36:52 -07:00
interp_test.py Upgrade to 18.5b1 2018-05-30 01:11:47 -07:00
mtab_test.py enable Black python formatting and apply to eden 2018-05-09 21:37:07 -07:00
stats_test.py Remove python proc stats parsing code 2018-06-21 08:20:51 -07:00
util_test.py Upgrade to 18.5b1 2018-05-30 01:11:47 -07:00