diff options
author | Holger Levsen <holger@layer-acht.org> | 2014-10-18 01:47:11 +0200 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2014-10-18 01:47:11 +0200 |
commit | cf289b21a032ea9e81ab0f41df476d8b9ebe7008 (patch) | |
tree | 4d06dcc1381a2c62e3d3b53b772f907cf9b509ed | |
parent | afbfffcbcdc9c69b8bda80adf99173bc3d61712d (diff) | |
download | jenkins.debian.net-cf289b21a032ea9e81ab0f41df476d8b9ebe7008.tar.xz |
reproducible: sort scheduled package reverse
-rwxr-xr-x | bin/reproducible_common.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/reproducible_common.sh b/bin/reproducible_common.sh index a995ba51..3fe391ce 100755 --- a/bin/reproducible_common.sh +++ b/bin/reproducible_common.sh @@ -358,8 +358,8 @@ process_packages() { } gather_schedule_stats() { - SCHEDULED=$(sqlite3 -init $INIT $PACKAGES_DB "SELECT name FROM sources_scheduled ORDER BY date_scheduled DESC" | xargs echo) - COUNT_SCHEDULED=$(sqlite3 -init $INIT $PACKAGES_DB "SELECT count(name) FROM sources_scheduled ORDER BY date_scheduled DESC" | xargs echo) + SCHEDULED=$(sqlite3 -init $INIT $PACKAGES_DB "SELECT name FROM sources_scheduled ORDER BY date_scheduled" | xargs echo) + COUNT_SCHEDULED=$(sqlite3 -init $INIT $PACKAGES_DB "SELECT count(name) FROM sources_scheduled" | xargs echo) let "COUNT_NOTYET=AMOUNT-COUNT_TOTAL-COUNT_SCHEDULED" QUERY=" SELECT count(sources.name) FROM sources,source_packages WHERE sources.name NOT IN |