From 75367968cc72cfb1560a456f8dfd07df03128414 Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Mon, 16 Mar 2015 02:21:15 +0100 Subject: 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 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
(no git repository)" elif [ "$(grep "'error'>Invalid branch" $TMP2FILE 2>/dev/null)" ] ; then - write_page "$PKG
(non-standard branch)" - 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 "$PKG
non-standard branch" + if $OBSOLETE ; then + write_page " (probably ok)" + fi + else + write_page "$PKG" + write_page "
(merged and at least available in unstable)" fi else write_page "$PKG" if $OBSOLETE ; then - write_page "
(unused?)" + write_page "
(unused?)" fi fi write_page " " -- cgit v1.2.3-70-g09d2