1397d27 Convert all remaining json manifests to yaml

Authored and Committed by siosm 5 years ago
    Convert all remaining json manifests to yaml
    
    This conversion can be validated using this script:
    
     #!/bin/bash
    
    mkdir -p repo && cd repo && ostree init --repo . --mode=archive && cd ..
    variants=('silverblue' 'kinoite' 'xfce' 'lxqt')
    
    for v in ${variants[@]}; do
        sudo rpm-ostree compose tree --repo=repo --print-only fedora-$v.yaml > $v.yaml.out
    done
    
    git checkout --quiet HEAD~
    for v in ${variants[@]}; do
        sudo rpm-ostree compose tree --repo=repo --print-only fedora-$v.yaml > $v.json.out
    done
    
    for v in ${variants[@]}; do
        if [[ ! -z $(diff $v.json.out $v.yaml.out) ]]; then
            echo ""
            echo "$v: JSON != YAML"
            diff $v.json.out $v.yaml.out
            echo ""
            has_diff="true"
        fi
    done
    
    git checkout --quiet f30
    rm -rf ./repo
    for v in ${variants[@]}; do
        rm ./$v.json.out ./$v.yaml.out
    done
    
    if [[ $has_diff == "true" ]]; then
        echo "Found some diff!"
    else
        echo "OK!"
    fi
    
        
file modified
+1 -1
file modified
+2 -1
file modified
+2 -2
file modified
+3 -2
file removed
-67
file removed
-45
file removed
-36
file removed
-62