diff options
author | Holger Levsen <holger@layer-acht.org> | 2015-03-02 11:14:09 +0100 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2015-03-02 11:14:13 +0100 |
commit | 0edd1dbc48731e5e18ef4b62014d62f3e9e3b9fc (patch) | |
tree | 1bc7e5b4362bfc95fbf8f0ad520ec5ad2105335c | |
parent | 88c6e4f4b6b5f820e33f03d21b8cc51dcd80df47 (diff) | |
download | jenkins.debian.net-0edd1dbc48731e5e18ef4b62014d62f3e9e3b9fc.tar.xz |
reproducible: no meta pkg sets in experimental
-rwxr-xr-x | bin/reproducible_html_graphs.sh | 21 |
1 files changed, 12 insertions, 9 deletions
diff --git a/bin/reproducible_html_graphs.sh b/bin/reproducible_html_graphs.sh index 96d61249..3fcf1b5c 100755 --- a/bin/reproducible_html_graphs.sh +++ b/bin/reproducible_html_graphs.sh @@ -131,15 +131,18 @@ gather_meta_stats() { fi } -for i in $(seq 1 ${#META_PKGSET[@]}) ; do - RESULT=$(sqlite3 -init ${INIT} ${PACKAGES_DB} "SELECT datum,meta_pkg,suite from ${TABLE[6]} WHERE datum = \"$DATE\" AND suite = \"$SUITE\" AND meta_pkg = \"${META_PKGSET[$i]}\"") - if [ -z $RESULT ] ; then - META_RESULT=true - gather_meta_stats $i - ! $META_RESULT || sqlite3 -init ${INIT} ${PACKAGES_DB} "INSERT INTO ${TABLE[6]} VALUES (\"$DATE\", \"$SUITE\", \"${META_PKGSET[$i]}\", $COUNT_META_GOOD, $COUNT_META_BAD, $COUNT_META_UGLY, $COUNT_META_REST)" - touch -d "$DATE 00:00" ${TABLE[6]}_${META_PKGSET[$i]}.png - fi -done +if [ "$SUITE" != "experimental" ] ; then + # no meta pkg sets in experimental + for i in $(seq 1 ${#META_PKGSET[@]}) ; do + RESULT=$(sqlite3 -init ${INIT} ${PACKAGES_DB} "SELECT datum,meta_pkg,suite from ${TABLE[6]} WHERE datum = \"$DATE\" AND suite = \"$SUITE\" AND meta_pkg = \"${META_PKGSET[$i]}\"") + if [ -z $RESULT ] ; then + META_RESULT=true + gather_meta_stats $i + ! $META_RESULT || sqlite3 -init ${INIT} ${PACKAGES_DB} "INSERT INTO ${TABLE[6]} VALUES (\"$DATE\", \"$SUITE\", \"${META_PKGSET[$i]}\", $COUNT_META_GOOD, $COUNT_META_BAD, $COUNT_META_UGLY, $COUNT_META_REST)" + touch -d "$DATE 00:00" ${TABLE[6]}_${META_PKGSET[$i]}.png + fi + done +fi # # gather bugs stats |