[Qa-jenkins-scm] [jenkins.debian.net] 02/02: reproducible Arch Linux: log which old packages have been rescheduled

Holger Levsen holger at layer-acht.org
Fri Dec 8 10:37:43 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 cf8d1e3bdea894b1af0ef65d8161d502b9947905
Author: Holger Levsen <holger at layer-acht.org>
Date:   Fri Dec 8 10:37:33 2017 +0000

    reproducible Arch Linux: log which old packages have been rescheduled
    
    Signed-off-by: Holger Levsen <holger at layer-acht.org>
---
 bin/reproducible_archlinux_scheduler.sh | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/bin/reproducible_archlinux_scheduler.sh b/bin/reproducible_archlinux_scheduler.sh
index 3659b8e..e63a89d 100755
--- a/bin/reproducible_archlinux_scheduler.sh
+++ b/bin/reproducible_archlinux_scheduler.sh
@@ -70,7 +70,10 @@ update_archlinux_repositories() {
 	# FIXME: this doesnt schedule packages without build1.log...
 	old=""
 	if [ $(find $BASE/archlinux/ -name pkg.needs_build | wc -l ) -le 300 ] ; then
+		# reschedule
 		find $BASE/archlinux/ -name build1.log -type f -printf '%T+ %p\n' | sort | head -n 250|cut -d " " -f2 | sed -s 's#build1.log$#pkg.needs_build#g' | args -r touch
+		# explain, for debugging…
+		find $BASE/archlinux/ -name build1.log -type f -printf '%T+ %p\n' | sort | head -n 250|cut -d "/" -f8-9 | sort | xargs echo "Old packages rescheduled: "
 		old=", plus 250 old ones"
 	fi
 	total=$(find $BASE/archlinux/ -name pkg.needs_build | wc -l )

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