[Qa-jenkins-scm] [jenkins.debian.net] 01/01: reproducible: detect merged/reproducible_builds branches
Holger Levsen
holger at moszumanska.debian.org
Mon Mar 16 09:47:36 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 75367968cc72cfb1560a456f8dfd07df03128414
Author: Holger Levsen <holger at layer-acht.org>
Date: Mon Mar 16 02:21:15 2015 +0100
reproducible: detect merged/reproducible_builds branches
---
bin/reproducible_html_repo_stats.sh | 15 +++++++++++----
1 file changed, 11 insertions(+), 4 deletions(-)
diff --git a/bin/reproducible_html_repo_stats.sh b/bin/reproducible_html_repo_stats.sh
index 3591b73..0312079 100755
--- a/bin/reproducible_html_repo_stats.sh
+++ b/bin/reproducible_html_repo_stats.sh
@@ -111,14 +111,21 @@ for PKG in $SOURCES ; do
if [ "$(grep "'error'>No repositories found" $TMP2FILE 2>/dev/null)" ] ; then
write_page "$PKG<br /><span class=\"red\">(no git repository)</span>"
elif [ "$(grep "'error'>Invalid branch" $TMP2FILE 2>/dev/null)" ] ; then
- write_page "<a href=\"$URL\" target=\"_blank\">$PKG</a><br /><span class=\"purple\">(non-standard branch)</span>"
- if $OBSOLETE ; then
- write_page " (probably ok)"
+ URL="http://anonscm.debian.org/cgit/reproducible/$PKG.git/?h=merged/reproducible_builds"
+ curl $URL > $TMP2FILE
+ if [ "$(grep "'error'>Invalid branch" $TMP2FILE 2>/dev/null)" ] ; then
+ write_page "<a href=\"$URL\" target=\"_blank\">$PKG</a><br /><span class=\"purple\">non-standard branch</span>"
+ if $OBSOLETE ; then
+ write_page " (probably ok)"
+ fi
+ else
+ write_page "<a href=\"$URL\" target=\"_blank\">$PKG</a>"
+ write_page "<br />(<span class=\"green\">merged</span> and at least available in unstable)"
fi
else
write_page "<a href=\"$URL\" target=\"_blank\">$PKG</a>"
if $OBSOLETE ; then
- write_page "<br /> (unused?)"
+ write_page "<br />(unused?)"
fi
fi
write_page " </td>"
--
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