summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorMattia Rizzolo <mattia@mapreri.org>2015-04-05 00:43:03 +0200
committerHolger Levsen <holger@layer-acht.org>2015-04-05 10:43:20 +0200
commit5b4157f8e1f90f1a0c6644e9a4687248ba57b2e8 (patch)
tree06a0c7271f0cb15e328181d3078ec0552d228ecb /bin
parent160beb49d096ee83fb8f7d61a15acd070d9b5c1c (diff)
downloadjenkins.debian.net-5b4157f8e1f90f1a0c6644e9a4687248ba57b2e8.tar.xz
qa: udd-query: multiarch_versionskew: output a nice table with tracker.d.o link alongside package names
Diffstat (limited to 'bin')
-rwxr-xr-xbin/udd-query.sh8
1 files changed, 6 insertions, 2 deletions
diff --git a/bin/udd-query.sh b/bin/udd-query.sh
index 9fde6f5a..57ca1322 100755
--- a/bin/udd-query.sh
+++ b/bin/udd-query.sh
@@ -49,9 +49,13 @@ multiarch_versionskew() {
if [ -s $UDD ] ; then
echo "Warning: multi-arch version skew in $DISTRO detected."
echo
- # TODO: turn source package names into links
+ printf " Package | Tracker\n"
+ # bash sucks: it's printf(1) implementation doesn't like leading dashes as-is...
+ printf -- "--------------------------------------------------------------------------\n"
+ for pkg in $(cat $UDD) ; do
+ printf "%25s | %s\n" "$pkg" "https://tracker.debian.org/$pkg"
# TODO: show versions (per arch) too
- cat $UDD
+ done
fi
rm $UDD
}