Changes between Initial Version and Version 1 of Ticket #226
- Timestamp:
- 09/20/2014 12:16:13 PM (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #226 – Description
initial v1 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. find()` 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.path.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`