[Qa-jenkins-scm] [jenkins.debian.net] 01/01: reproducible Debian: only show obsolete packages table if there are some

Holger Levsen holger at layer-acht.org
Mon Oct 3 12:33:21 UTC 2016


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 6589398498dd9b11d73e09abd731cd74389e2e2b
Author: Holger Levsen <holger at layer-acht.org>
Date:   Mon Oct 3 14:33:08 2016 +0200

    reproducible Debian: only show obsolete packages table if there are some
---
 bin/reproducible_html_repository_comparison.sh | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/bin/reproducible_html_repository_comparison.sh b/bin/reproducible_html_repository_comparison.sh
index 34441ab..c1de43b 100755
--- a/bin/reproducible_html_repository_comparison.sh
+++ b/bin/reproducible_html_repository_comparison.sh
@@ -234,9 +234,11 @@ for PKG in $SOURCEPKGS ; do
 done
 cat $TABLE_TODO >> $PAGE
 write_page "</table></p>"
-write_page "<p><table><tr><th class=\"center\">obsoleted package,<br />version in sid higher than in our repo</th><th class=\"center\">git repo</th><th class=\"center\">PTS link</th><th class=\"center\">usertagged bug</th><th class=\"center\">old version(s) in our repo<br />(needed for reproducing old builds)</th><th class=\"center\">version in our repo<br />(available binary packages per architecture)</th><th class=\"center\">version in 'testing'</th><th class=\"center\">version in 'uns [...]
-cat $TABLE_DONE >> $PAGE
-write_page "</table></p>"
+if [ -s $TABLE_DONE ] ; then
+	write_page "<p><table><tr><th class=\"center\">obsoleted package,<br />version in sid higher than in our repo</th><th class=\"center\">git repo</th><th class=\"center\">PTS link</th><th class=\"center\">usertagged bug</th><th class=\"center\">old version(s) in our repo<br />(needed for reproducing old builds)</th><th class=\"center\">version in our repo<br />(available binary packages per architecture)</th><th class=\"center\">version in 'testing'</th><th class=\"center\">version in 'un [...]
+	cat $TABLE_DONE >> $PAGE
+	write_page "</table></p>"
+fi
 write_page_footer
 publish_page debian
 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