summaryrefslogtreecommitdiffstats
path: root/bin/reproducible_common.sh
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2015-02-23 17:23:22 +0100
committerHolger Levsen <holger@layer-acht.org>2015-02-23 17:24:58 +0100
commit5a5642e65f44d7f253674bfd03f576d53c8a27a7 (patch)
tree4befccb43c5ffb28469235a5d79f91047855fbc9 /bin/reproducible_common.sh
parent620c5383f4283b4804d2f609e91831eacf8177cd (diff)
downloadjenkins.debian.net-5a5642e65f44d7f253674bfd03f576d53c8a27a7.tar.xz
reproducible: new page 'repo_stats'
Diffstat (limited to 'bin/reproducible_common.sh')
-rwxr-xr-xbin/reproducible_common.sh7
1 files changed, 5 insertions, 2 deletions
diff --git a/bin/reproducible_common.sh b/bin/reproducible_common.sh
index 40e36a0c..173c863e 100755
--- a/bin/reproducible_common.sh
+++ b/bin/reproducible_common.sh
@@ -163,7 +163,7 @@ init_html() {
SUITE=sid
MAINVIEW="stats"
ALLSTATES="reproducible FTBR FTBFS 404 not_for_us blacklisted"
- ALLVIEWS="issues notes no_notes scheduled last_24h last_48h all_abc dd-list pkg_sets stats"
+ ALLVIEWS="issues notes no_notes scheduled last_24h last_48h all_abc dd-list repo_stats pkg_sets stats"
SPOKENTARGET["reproducible"]="packages which built reproducibly"
SPOKENTARGET["FTBR"]="packages which failed to build reproducibly"
SPOKENTARGET["FTBFS"]="packages which failed to build from source"
@@ -178,8 +178,9 @@ init_html() {
SPOKENTARGET["last_48h"]="packages tested in the last 48h"
SPOKENTARGET["all_abc"]="all tested packages (sorted alphabetically)"
SPOKENTARGET["dd-list"]="maintainers of unreproducible packages"
- SPOKENTARGET["stats"]="various statistics about reproducible builds"
+ SPOKENTARGET["repo_stats"]="statistics about the reproducible builds apt repository"
SPOKENTARGET["pkg_sets"]="statistics about reproducible builds of specific package sets"
+ SPOKENTARGET["stats"]="various statistics about reproducible builds"
# query some data we need everywhere
AMOUNT=$(sqlite3 -init $INIT $PACKAGES_DB "SELECT count(name) FROM sources")
COUNT_TOTAL=$(sqlite3 -init $INIT $PACKAGES_DB "SELECT COUNT(name) FROM source_packages")
@@ -248,6 +249,8 @@ write_page_header() {
SPOKEN_TARGET="currently scheduled"
elif [ "$TARGET" = "pkg_sets" ] ; then
SPOKEN_TARGET="package sets stats"
+ elif [ "$TARGET" = "repo_stats" ] ; then
+ SPOKEN_TARGET="apt repository stats"
else
SPOKEN_TARGET=${SPOKENTARGET[$TARGET]}
fi