summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2015-05-23 21:03:46 +0200
committerHolger Levsen <holger@layer-acht.org>2015-05-23 21:03:46 +0200
commit6f4ccf7c6301bd3399ab88e4477133b6de409144 (patch)
treed2260d5c9d55b68ac457fba88f71870cfdc0a71d /bin
parent14a023c02d522e74a13a2d4207adbcee8f0e5a88 (diff)
downloadjenkins.debian.net-6f4ccf7c6301bd3399ab88e4477133b6de409144.tar.xz
reproducible: show number of modified packages in our toolchain
Diffstat (limited to 'bin')
-rwxr-xr-xbin/reproducible_html_graphs.sh2
-rwxr-xr-xbin/reproducible_html_repository_comparison.sh6
2 files changed, 7 insertions, 1 deletions
diff --git a/bin/reproducible_html_graphs.sh b/bin/reproducible_html_graphs.sh
index fced1517..fdbbb0d7 100755
--- a/bin/reproducible_html_graphs.sh
+++ b/bin/reproducible_html_graphs.sh
@@ -564,6 +564,8 @@ create_main_stats_page() {
write_page "<tr><td>committers to <a href=\"https://anonscm.debian.org/cgit/reproducible/notes.git\" target=\"_parent\">notes.git</a> in total</td><td>$(cd ${NOTES_GIT_PATH} ; git log |grep Author|sort -u |wc -l)</td></tr>"
write_page "<tr><td>committers to <a href=\"https://anonscm.debian.org/cgit/reproducible/notes.git\" target=\"_parent\">notes.git</a> in the last three months</td><td>$(cd ${NOTES_GIT_PATH} ; git log --since="3 months ago"|grep Author|sort -u |wc -l)</td></tr>"
fi
+ RESULT=$(cat /srv/reproducible-results/modified_in_sid.txt || echo "unknown") # written by reproducible_html_repository_comparison.sh
+ write_page "<tr><td>packages <a href=\"/index_repositories.html\">modified in our toolchain</a></td><td>$(echo $RESULT)</td></tr>"
write_page "</table>"
# write bugs with usertags table
write_usertag_table
diff --git a/bin/reproducible_html_repository_comparison.sh b/bin/reproducible_html_repository_comparison.sh
index 3bb7489c..d4e1c907 100755
--- a/bin/reproducible_html_repository_comparison.sh
+++ b/bin/reproducible_html_repository_comparison.sh
@@ -18,6 +18,8 @@ PAGE=index_${VIEW}.html
TMPFILE=$(mktemp)
TMP2FILE=$(mktemp)
+MODIFIED_IN_SID=0
+
echo "$(date) - starting to write $PAGE page."
write_page_header $VIEW "Comparison between the reproducible builds apt repository and regular Debian suites"
write_page "<p>These source packages are different from unstable in our apt repository on alioth. They are available for <a href=\"https://wiki.debian.org/ReproducibleBuilds/ExperimentalToolchain#Usage_example\">testing using these sources.lists</a> entries:<pre>"
@@ -139,6 +141,8 @@ for PKG in $SOURCES ; do
write_page "<a href=\"$URL\">$PKG.git</a>"
if $OBSOLETE_IN_SID ; then
write_page "<br />(unused?)"
+ else
+ let "MODIFIED_IN_SID+=1"
fi
fi
write_page " </td>"
@@ -159,4 +163,4 @@ write_page "</table></p>"
rm $TMPFILE $TMP2FILE
write_page_footer
publish_page
-
+echo "$MODIFIED_IN_SID" > /srv/reproducible-results/modified_in_sid.txt