mirror of
https://github.com/openSUSE/osc.git
synced 2025-01-13 01:06:15 +01:00
highlight scheduled jobs with dispatch problems (due to constraints)
This commit is contained in:
parent
4e8f06d3b9
commit
8c3f5e9ae2
2
NEWS
2
NEWS
@ -1,5 +1,5 @@
|
|||||||
0.156
|
0.156
|
||||||
-
|
- highlight scheduled jobs with dispatch problems (due to constraints)
|
||||||
|
|
||||||
0.155
|
0.155
|
||||||
- osc service runall: runs all service local, independend of the mode
|
- osc service runall: runs all service local, independend of the mode
|
||||||
|
@ -5500,6 +5500,9 @@ def get_results(apiurl, project, package, verbose=False, printJoin='', *args, **
|
|||||||
res['status'] += ': ' + '\n '.join(lines)
|
res['status'] += ': ' + '\n '.join(lines)
|
||||||
else:
|
else:
|
||||||
res['status'] += ': %s' % res['details']
|
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 res['dirty']:
|
||||||
if verbose:
|
if verbose:
|
||||||
res['status'] = 'outdated (was: %s)' % res['status']
|
res['status'] = 'outdated (was: %s)' % res['status']
|
||||||
|
Loading…
Reference in New Issue
Block a user