mirror of
https://github.com/openSUSE/osc.git
synced 2025-01-12 16:56:15 +01:00
- show the situation that packages succeeded to build, but are not yet published (way to many questions due to that)
This commit is contained in:
parent
4b48cc611f
commit
da8c123d85
@ -4918,6 +4918,7 @@ def get_package_results(apiurl, prj, package, lastbuild=None, repository=[], arc
|
||||
rmap['arch'] = node.get('arch')
|
||||
rmap['state'] = node.get('state')
|
||||
rmap['dirty'] = node.get('dirty')
|
||||
rmap['repostate'] = node.get('code')
|
||||
|
||||
rmap['details'] = ''
|
||||
details = None
|
||||
@ -4968,6 +4969,12 @@ 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:
|
||||
|
Loading…
Reference in New Issue
Block a user