mirror of
https://github.com/openSUSE/osc.git
synced 2025-01-13 01:06:15 +01:00
- support --interactive-review option when running "osc rq list <project>"
iterates over all requests for the given project and calls "request_interactive_review"
This commit is contained in:
parent
cb7620fc54
commit
de8b33f29d
@ -1755,6 +1755,12 @@ Please submit there instead, or use --nodevelproject to force direct submission.
|
||||
## FIXME: date filtering should become implemented on server side
|
||||
for result in results:
|
||||
if days == 0 or result.state.when > since or result.state.name == 'new':
|
||||
if (opts.interactive or conf.config['request_show_interactive']) and not opts.non_interactive:
|
||||
try:
|
||||
request_interactive_review(apiurl, result)
|
||||
except oscerr.UserAbort:
|
||||
pass
|
||||
else:
|
||||
print result.list_view()
|
||||
else:
|
||||
skipped += 1
|
||||
|
Loading…
Reference in New Issue
Block a user