mirror of
https://github.com/openSUSE/osc.git
synced 2024-11-10 06:46:15 +01:00
- do not show unpublished information in dirty situation
This commit is contained in:
parent
da8c123d85
commit
467757b76d
12
osc/core.py
12
osc/core.py
@ -4969,18 +4969,18 @@ def get_results(apiurl, prj, package, lastbuild=None, repository=[], arch=[], ve
|
||||
res['status'] += ': ' + '\n '.join(lines)
|
||||
else:
|
||||
res['status'] += ': %s' % (res['details'], )
|
||||
if res['code'] in ('succeeded') and res['repostate'] != "published":
|
||||
waiting = True
|
||||
if verbose:
|
||||
res['status'] += '(unpublished)'
|
||||
else:
|
||||
res['status'] += '*'
|
||||
if res['dirty']:
|
||||
waiting = True
|
||||
if verbose:
|
||||
res['status'] = 'outdated (was: %s)' % res['status']
|
||||
else:
|
||||
res['status'] += '*'
|
||||
elif res['code'] in ('succeeded') and res['repostate'] != "published":
|
||||
waiting = True
|
||||
if verbose:
|
||||
res['status'] += '(unpublished)'
|
||||
else:
|
||||
res['status'] += '*'
|
||||
if res['code'] in ('blocked', 'scheduled', 'dispatching', 'building', 'signing', 'finished'):
|
||||
waiting = True
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user