summaryrefslogtreecommitdiffstats
path: root/bin/reproducible_html_repository_comparison.sh
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2015-11-11 15:56:47 +0100
committerHolger Levsen <holger@layer-acht.org>2015-11-11 15:56:47 +0100
commitca8afc40e39f3243f07d06986ff19e815df588bf (patch)
treee7b937fb20e5e394a5b832d5fe8521c83985afac /bin/reproducible_html_repository_comparison.sh
parent0a140f1db20aa10c07c9c08c08ddda62c7730ebf (diff)
downloadjenkins.debian.net-ca8afc40e39f3243f07d06986ff19e815df588bf.tar.xz
reproducible: improve job output
Diffstat (limited to 'bin/reproducible_html_repository_comparison.sh')
-rwxr-xr-xbin/reproducible_html_repository_comparison.sh7
1 files changed, 5 insertions, 2 deletions
diff --git a/bin/reproducible_html_repository_comparison.sh b/bin/reproducible_html_repository_comparison.sh
index 7ed8d080..b518a00e 100755
--- a/bin/reproducible_html_repository_comparison.sh
+++ b/bin/reproducible_html_repository_comparison.sh
@@ -38,7 +38,7 @@ custom_curl() {
ARCH="amd64"
SUITE="unstable"
-echo "$(date) - starting to write $PAGE page."
+echo "$(date) - starting to write $PAGE page. Downloading Sources and Packages files from our repository."
write_page_header $VIEW "Comparison between the reproducible builds apt repository and regular Debian suites"
write_page "<p>These source packages are different from unstable in our apt repository on alioth. They are available for <a href=\"https://wiki.debian.org/ReproducibleBuilds/ExperimentalToolchain#Usage_example\">testing using these sources.lists</a> entries:<pre>"
write_page "deb http://reproducible.alioth.debian.org/debian/ ./"
@@ -49,6 +49,8 @@ write_page "<p><table><tr><th>package</th><th>git repo</th><th>PTS link</th><th>
custom_curl http://reproducible.alioth.debian.org/debian/Sources $SOURCES
custom_curl http://reproducible.alioth.debian.org/debian/Packages $PACKAGES
SOURCEPKGS=$(grep-dctrl -n -s Package -r -FPackage . $SOURCES | sort -u)
+echo
+
for PKG in $SOURCEPKGS ; do
echo "$(date -u) - Processing $PKG..."
if [ "${PKG:0:3}" = "lib" ] ; then
@@ -130,7 +132,7 @@ for PKG in $SOURCEPKGS ; do
if [ "$ARCH" != "all" ] && [ ! -z "$i" ] ; then
ONLYALL=false
fi
- echo "$ARCH: $i"
+ echo " $ARCH: $i"
done
for ARCH in all ${ARCHS} ; do
i="$(grep-dctrl -n -s Package \( -X -FPackage $PKG --or -X -FSource $PKG \) --and -FVersion $BET --and -FArchitecture $ARCH $PACKAGES|sort -u|xargs -r echo)"
@@ -229,6 +231,7 @@ for PKG in $SOURCEPKGS ; do
write_row " <td>$CEXP</td>"
write_row "</tr>"
echo "$(date -u) - Package done. (TABLE_TODO: $(ls -la $TABLE_TODO|cut -d " " -f5) bytes - TABLE_DONE: $(ls -la $TABLE_DONE|cut -d " " -f5) bytes)"
+ echo
done
cat $TABLE_TODO >> $PAGE
write_page "</table></p>"