From 5b552fabcac4c0e43a910616f9614d83a02de85b Mon Sep 17 00:00:00 2001 From: Mattia Rizzolo Date: Sat, 20 Jun 2015 20:29:45 +0000 Subject: reproducible: remote scheduler: also tell whether there is going to be noise or silence after the scheduling --- bin/reproducible_remote_scheduler.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'bin/reproducible_remote_scheduler.py') diff --git a/bin/reproducible_remote_scheduler.py b/bin/reproducible_remote_scheduler.py index ad29f6b6..a249a535 100755 --- a/bin/reproducible_remote_scheduler.py +++ b/bin/reproducible_remote_scheduler.py @@ -172,13 +172,15 @@ for pkg in packages: blablabla = '✂…' if len(' '.join(pkgs)) > 257 else '' packages_txt = ' packages ' if len(pkgs) > 1 else ' package ' -artifacts_txt = ' - artifacts will be preserved' if artifacts else '' +trailing = ' - artifacts will be preserved' if artifacts else '' +trailing += ' - there will be no notification at the end' if not notify else '' +trailing += ' - notify when the build start too' if debug_url else '' message = str(len(ids)) + packages_txt + 'scheduled in ' + suite + ' by ' + \ requester if reason: message += ' (reason: ' + reason + ')' -message += ': ' + ' '.join(pkgs)[0:256] + blablabla + artifacts_txt +message += ': ' + ' '.join(pkgs)[0:256] + blablabla + trailing # these packages are manually scheduled, so should have high priority, -- cgit v1.2.3-54-g00ecf