[Qa-jenkins-scm] [jenkins.debian.net] 01/01: reproducible: show number of modified packages in our toolchain
Holger Levsen
holger at moszumanska.debian.org
Sat May 23 19:03:51 UTC 2015
This is an automated email from the git hooks/post-receive script.
holger pushed a commit to branch master
in repository jenkins.debian.net.
commit 6f4ccf7c6301bd3399ab88e4477133b6de409144
Author: Holger Levsen <holger at layer-acht.org>
Date: Sat May 23 21:03:46 2015 +0200
reproducible: show number of modified packages in our toolchain
---
bin/reproducible_html_graphs.sh | 2 ++
bin/reproducible_html_repository_comparison.sh | 6 +++++-
2 files changed, 7 insertions(+), 1 deletion(-)
diff --git a/bin/reproducible_html_graphs.sh b/bin/reproducible_html_graphs.sh
index fced151..fdbbb0d 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 3bb7489..d4e1c90 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
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/qa/jenkins.debian.net.git
More information about the Qa-jenkins-scm
mailing list