Changes between Version 1 and Version 2 of Ticket #226
- Timestamp:
- 09/20/2014 12:17:03 PM (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #226 – Description
v1 v2 8 8 9 9 * store service info in a single JSON file, `BASEDIR/services.json` 10 * write one function that loads a dict of services (swissnum -> `{service_type, service_args, comment}`), by loading the JSON file if present, otherwise scanning `services` with `os. path.walk()` for all `service_type` files and reconstructing swissnums from the (possibly multi-part) paths10 * write one function that loads a dict of services (swissnum -> `{service_type, service_args, comment}`), by loading the JSON file if present, otherwise scanning `services` with `os.walk()` for all `service_type` files and reconstructing swissnums from the (possibly multi-part) paths 11 11 * use this dict for: 12 12 * `flappserver list`