[Qa-jenkins-scm] [jenkins.debian.net] 01/03: fixup 69843e11: reproducible Arch Linux: improve output

Holger Levsen holger at layer-acht.org
Fri Dec 1 14:06:10 UTC 2017


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 a4a8ec49cc2b2bb1cd8ff4ba3476bcb8d2b69f59
Author: Holger Levsen <holger at layer-acht.org>
Date:   Fri Dec 1 13:57:35 2017 +0000

    fixup 69843e11: reproducible Arch Linux: improve output
    
    Signed-off-by: Holger Levsen <holger at layer-acht.org>
---
 bin/reproducible_archlinux_scheduler.sh | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/bin/reproducible_archlinux_scheduler.sh b/bin/reproducible_archlinux_scheduler.sh
index 7c8e9eb..c6d88d2 100755
--- a/bin/reproducible_archlinux_scheduler.sh
+++ b/bin/reproducible_archlinux_scheduler.sh
@@ -33,7 +33,7 @@ update_archlinux_repositories() {
 			while read repo pkgbase version; do
 				if [ ! -d $BASE/archlinux/$REPO/$pkgbase ] ; then
 					let NEW+=1
-					echo -n "$(date -u ) - scheduling new package $REPO/$pkgbase... "
+					echo -n "$(date -u ) - scheduling new package $REPO/$pkgbase... " >&2
 					mkdir -p $BASE/archlinux/$REPO/$pkgbase
 					touch $BASE/archlinux/$REPO/$pkgbase/pkg.needs_build
 				else
@@ -41,12 +41,13 @@ update_archlinux_repositories() {
 					if [ "$VERSION" != "0.rb-unknown-1" ] && [ ! -f $BASE/archlinux/$REPO/$pkgbase/pkg.needs_build ] ; then
 						if [ "$(schroot --run-session -c $SESSION --directory /var/tmp -- vercmp $version $VERSION)" = "1" ] ; then
 							let UPDATED+=1
-							echo -n "$(date -u ) - we know about $REPO/$pkgbase $VERSION, but the repo has $version, so rescheduling... "
+							echo -n "$(date -u ) - we know about $REPO/$pkgbase $VERSION, but the repo has $version, so rescheduling... " >&2
 							mkdir -p $BASE/archlinux/$REPO/$pkgbase
 							touch $BASE/archlinux/$REPO/$pkgbase/pkg.needs_build
 						fi
 					fi
 				fi
+				printf '%s %s\n' "$pkgbase" "$version"
 			done > "$ARCHLINUX_PKGS"_"$REPO"
 		echo "$(date -u ) - $(cat ${ARCHLINUX_PKGS}_$REPO | wc -l) packages in repository '$REPO' are known to us:"
 	done

-- 
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