[Pkg-debile-commits] [debile-master] 01/01: Set source jobs arch to all

Léo Cavaillé leo.cavaille-guest at alioth.debian.org
Mon Aug 26 13:53:55 UTC 2013


This is an automated email from the git hooks/post-receive script.

leo.cavaille-guest pushed a commit to branch master
in repository debile-master.

commit fb2ef1df18f67accefb874a0f411884beeda96de
Author: Léo Cavaillé <leo at cavaille.net>
Date:   Mon Aug 26 15:53:43 2013 +0200

    Set source jobs arch to all
---
 debilemaster/incoming.py |    6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/debilemaster/incoming.py b/debilemaster/incoming.py
index 8719b47..7550937 100644
--- a/debilemaster/incoming.py
+++ b/debilemaster/incoming.py
@@ -231,9 +231,13 @@ def add_jobs(package):
     for type in listize(config.get('jobs', package.type)):
         # For source packages, use only unstable and set arch to all
         # so that any builder arch can take jobs
+        if package.type == 'source':
+            arch = 'all'
+        else
+            arch = package.arch
         j = Job(package=package,
                 suite=package.suite,
-                arch=package.arch,
+                arch=arch,
                 type=type)
         session.add(j)
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-debile/debile-master.git



More information about the Pkg-debile-commits mailing list