1
0
mirror of https://github.com/openSUSE/osc.git synced 2024-11-09 22:36:14 +01:00

highlight scheduled jobs with dispatch problems (due to constraints)

This commit is contained in:
Adrian Schröter 2016-10-20 12:58:50 +02:00
parent 4e8f06d3b9
commit 8c3f5e9ae2
2 changed files with 4 additions and 1 deletions

2
NEWS
View File

@ -1,5 +1,5 @@
0.156
-
- highlight scheduled jobs with dispatch problems (due to constraints)
0.155
- osc service runall: runs all service local, independend of the mode

View File

@ -5500,6 +5500,9 @@ def get_results(apiurl, project, package, verbose=False, printJoin='', *args, **
res['status'] += ': ' + '\n '.join(lines)
else:
res['status'] += ': %s' % res['details']
elif res['code'] in ('scheduled', ) and res['details']:
# highlight scheduled jobs with possible dispatch problems
res['status'] += '*'
if res['dirty']:
if verbose:
res['status'] = 'outdated (was: %s)' % res['status']