Commit 5b4157f8 authored by Mattia Rizzolo's avatar Mattia Rizzolo Committed by Holger Levsen

qa: udd-query: multiarch_versionskew: output a nice table with tracker.d.o...

qa: udd-query: multiarch_versionskew: output a nice table with tracker.d.o link alongside package names
parent 160beb49
......@@ -158,7 +158,7 @@ properties:
=== qa.debian.org*
* turn udd-versionskew packages names into tracker.d.o links and provide version numbers in output too
* udd-versionskew: also provide arch-relative version numbers in output too
=== d-i_manual*
......
......@@ -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
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment