• Jérome Perrin's avatar
    Format software instance JSON · 0a31967f
    Jérome Perrin authored
    Introduce a simple tool to format JSON for software instance definitions.
    This tool is inspired by `python -m json.tool`, but has the following differences:
     * keep the order of keys instead of sorting alphabetically (because we sometimes put the most important options at the top)
     * indent with 2 spaces
    
    Run the tool on all the repository and commit the changes, with this command: 
    ```
    for x in $(find . -name '*.json') ; do  echo $x; ./format-json $x $x; done
    ```
    
    /reviewed-on !392
    0a31967f
Name
Last commit
Last update
..
apache-frontend Loading commit data...
caddy-frontend Loading commit data...
deploy-test Loading commit data...
dummy Loading commit data...
proftpd Loading commit data...
re6stnet Loading commit data...
instance-kvm-resilient-test.cfg.jinja2 Loading commit data...
instance-resilient-test.cfg.jinja2 Loading commit data...
instance.cfg.in Loading commit data...
kvm.cfg Loading commit data...
slaprunner.cfg Loading commit data...
testsuite.cfg Loading commit data...