[Qa-jenkins-scm] [jenkins.debian.net] 01/01: reproducible Arch Linux: fix logic so that old packages actually get scheduled
Holger Levsen
holger at layer-acht.org
Thu Dec 7 15:17:20 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 c39837356bacd170837eedeec15b70115b045cdd
Author: Holger Levsen <holger at layer-acht.org>
Date: Thu Dec 7 15:17:16 2017 +0000
reproducible Arch Linux: fix logic so that old packages actually get scheduled
Signed-off-by: Holger Levsen <holger at layer-acht.org>
---
bin/reproducible_archlinux_scheduler.sh | 11 +++++------
1 file changed, 5 insertions(+), 6 deletions(-)
diff --git a/bin/reproducible_archlinux_scheduler.sh b/bin/reproducible_archlinux_scheduler.sh
index 3a2a0ca..9078feb 100755
--- a/bin/reproducible_archlinux_scheduler.sh
+++ b/bin/reproducible_archlinux_scheduler.sh
@@ -50,12 +50,11 @@ update_archlinux_repositories() {
echo $REPO/$pkgbase >> $UPDATED
echo "$(date -u ) - we know about $REPO/$pkgbase $VERSION, but the repo has $version, so rescheduling... "
touch $BASE/archlinux/$REPO/$pkgbase/pkg.needs_build
- fi
- else
- # schedule packages we already know about
- # (but only until 300 packages are scheduled in total)
- if [ $(find $BASE/archlinux/ -name pkg.needs_build | wc -l ) -le 300 ] ; then
- touch $BASE/archlinux/$REPO/$pkgbase/pkg.needs_build
+ # schedule packages we already know about
+ # (but only until 300 packages are scheduled in total)
+ if [ $(find $BASE/archlinux/ -name pkg.needs_build | wc -l ) -le 300 ] ; then
+ touch $BASE/archlinux/$REPO/$pkgbase/pkg.needs_build
+ fi
fi
fi
printf '%s %s\n' "$pkgbase" "$version" >> $TMPPKGLIST
--
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