diff options
author | Holger Levsen <holger@layer-acht.org> | 2015-03-16 02:21:15 +0100 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2015-03-16 02:21:15 +0100 |
commit | 75367968cc72cfb1560a456f8dfd07df03128414 (patch) | |
tree | 9743c44953da4e95c79e96f50c01d08efbc54d57 | |
parent | b23181b28e8b3b047e1d921fa4ebd326f1307ee2 (diff) | |
download | jenkins.debian.net-75367968cc72cfb1560a456f8dfd07df03128414.tar.xz |
reproducible: detect merged/reproducible_builds branches
-rwxr-xr-x | bin/reproducible_html_repo_stats.sh | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/bin/reproducible_html_repo_stats.sh b/bin/reproducible_html_repo_stats.sh index 3591b733..0312079c 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>" |