[Qa-jenkins-scm] [jenkins.debian.net] 01/01: reproducible: armhf: only update sources db for unstable

Holger Levsen holger at moszumanska.debian.org
Sun Sep 20 07:04:07 UTC 2015


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 d34550d42da7272f19c90abc8b96943ac76329a6
Author: Holger Levsen <holger at layer-acht.org>
Date:   Sun Sep 20 09:03:56 2015 +0200

    reproducible: armhf: only update sources db for unstable
---
 bin/reproducible_scheduler.py | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/bin/reproducible_scheduler.py b/bin/reproducible_scheduler.py
index b72592d..6ba29a4 100755
--- a/bin/reproducible_scheduler.py
+++ b/bin/reproducible_scheduler.py
@@ -172,8 +172,11 @@ def update_sources(suite):
     sources = lzma.decompress(urlopen(remotefile).read()).decode('utf8')
     log.debug('\tdownloaded')
     for arch in ARCHS:
-        log.info('Updating sources db for %s/%s...', suite, arch)
-        update_sources_db(suite, arch, sources)
+        if arch == 'armhf' and suite != 'unstable':
+            continue
+        else:
+            log.info('Updating sources db for %s/%s...', suite, arch)
+            update_sources_db(suite, arch, sources)
 
 
 def update_sources_db(suite, arch, sources):

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