mirror of
https://github.com/openSUSE/osc.git
synced 2024-12-31 20:26:13 +01:00
Merge branch 'show_comments_in_reviews' of https://github.com/lethliel/osc
Show the comments of a request during interactive review.
This commit is contained in:
commit
e0bce5652a
@ -7142,6 +7142,7 @@ def request_interactive_review(apiurl, request, initial_cmd='', group=None,
|
|||||||
print('unable to retrieve the buildstatus: %s' % e)
|
print('unable to retrieve the buildstatus: %s' % e)
|
||||||
|
|
||||||
print_request(request)
|
print_request(request)
|
||||||
|
print_comments(apiurl, 'request', request.reqid)
|
||||||
try:
|
try:
|
||||||
prompt = '(a)ccept/(d)ecline/(r)evoke/c(l)one/co(m)ment/(s)kip/(c)ancel > '
|
prompt = '(a)ccept/(d)ecline/(r)evoke/c(l)one/co(m)ment/(s)kip/(c)ancel > '
|
||||||
editable_actions = request.get_actions('submit', 'maintenance_incident')
|
editable_actions = request.get_actions('submit', 'maintenance_incident')
|
||||||
@ -7184,6 +7185,7 @@ def request_interactive_review(apiurl, request, initial_cmd='', group=None,
|
|||||||
tmpfile.flush()
|
tmpfile.flush()
|
||||||
run_editor(tmpfile.name)
|
run_editor(tmpfile.name)
|
||||||
print_request(request)
|
print_request(request)
|
||||||
|
print_comments(apiurl, 'request', request.reqid)
|
||||||
elif repl == 's':
|
elif repl == 's':
|
||||||
print('skipping: #%s' % request.reqid, file=sys.stderr)
|
print('skipping: #%s' % request.reqid, file=sys.stderr)
|
||||||
break
|
break
|
||||||
|
Loading…
Reference in New Issue
Block a user