[Qa-jenkins-scm] [jenkins.debian.net] 01/03: reproducible Debian: Separate munging from aliasing. No functional change.
Holger Levsen
holger at layer-acht.org
Mon May 22 16:26:01 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 1d51206a4fee82cb9515561ce556c69ed4d857c8
Author: Daniel Shahaf <danielsh at apache.org>
Date: Mon May 22 15:25:00 2017 +0000
reproducible Debian: Separate munging from aliasing. No functional change.
Signed-off-by: Holger Levsen <holger at layer-acht.org>
---
bin/reproducible_remote_scheduler.py | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/bin/reproducible_remote_scheduler.py b/bin/reproducible_remote_scheduler.py
index 47794bf..bc0bb0c 100755
--- a/bin/reproducible_remote_scheduler.py
+++ b/bin/reproducible_remote_scheduler.py
@@ -52,6 +52,9 @@ def main():
scheduling_args = parser.parse_known_args()[0]
if scheduling_args.null:
scheduling_args = parser.parse_known_args(sys.stdin.read().split('\0'))[0]
+ scheduling_args.packages = [x for x in scheduling_args.packages if x]
+ if scheduling_args.noisy:
+ scheduling_args.notify = True
# these are here as an hack to be able to parse the command line
from reproducible_common import *
@@ -72,6 +75,7 @@ def main():
except KeyError:
local = False
+ # Shorter names
suite = scheduling_args.suite
arch = scheduling_args.architecture
reason = scheduling_args.message
@@ -79,9 +83,9 @@ def main():
status = scheduling_args.status
built_after = scheduling_args.after
built_before = scheduling_args.before
- packages = [x for x in scheduling_args.packages if x]
+ packages = scheduling_args.packages
artifacts = scheduling_args.keep_artifacts
- notify = scheduling_args.notify or scheduling_args.noisy
+ notify = scheduling_args.notify
notify_on_start = scheduling_args.noisy
dry_run = scheduling_args.dry_run
--
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