[Qa-jenkins-scm] [jenkins.debian.net] 08/12: reproducible: comment on repo usage
Holger Levsen
holger at moszumanska.debian.org
Thu Mar 12 18:20:39 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 7d212d83ff63fc7155f604429d5727df669add90
Author: Holger Levsen <holger at layer-acht.org>
Date: Thu Mar 12 18:35:55 2015 +0100
reproducible: comment on repo usage
---
bin/reproducible_html_repo_stats.sh | 10 ++++++++--
1 file changed, 8 insertions(+), 2 deletions(-)
diff --git a/bin/reproducible_html_repo_stats.sh b/bin/reproducible_html_repo_stats.sh
index ca1a521..b501e8f 100755
--- a/bin/reproducible_html_repo_stats.sh
+++ b/bin/reproducible_html_repo_stats.sh
@@ -37,8 +37,8 @@ for PKG in $SOURCES ; do
fi
VERSIONS=$(grep-dctrl -n -s version -S $PKG $TMPFILE|sort -u)
CRUFT=""
- WARN=false
BET=""
+ OBSOLETE=false
#
# gather versions of a package
#
@@ -53,7 +53,6 @@ for PKG in $SOURCES ; do
SID=$(rmadison -s sid $PKG | cut -d "|" -f2|xargs echo)
for VERSION in ${VERSIONS} ; do
if [ "${VERSION}" != "$BET" ] ; then
- WARN=true
CRUFT="$CRUFT ${VERSION}"
fi
done
@@ -71,6 +70,7 @@ for PKG in $SOURCES ; do
if [ ! -z "$BET" ] ; then
CRUFT="$BET $CRUFT"
BET=""
+ OBSOLETE=true
fi
else
CSID="$CSID$i<br />"
@@ -112,8 +112,14 @@ for PKG in $SOURCES ; do
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)"
+ fi
else
write_page "<a href=\"$URL\" target=\"_blank\">$PKG</a>"
+ if $OBSOLETE ; then
+ write_page "<br /> (unused?)"
+ fi
fi
write_page " </td>"
write_page " <td>$CRUFT</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