1
0
mirror of https://github.com/openSUSE/osc.git synced 2024-12-26 01:46:13 +01:00

Merge pull request #1329 from dmach/req_states-review-list

Change 'review list' command to display open requests (state: new, review, declined)
This commit is contained in:
Daniel Mach 2023-05-23 16:01:18 +02:00 committed by GitHub
commit 45ad7349ee
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3254,7 +3254,7 @@ Please submit there instead, or use --nodevelproject to force direct submission.
if subcmd == 'review':
# FIXME: do the review list for the user and for all groups he belong to
results = get_review_list(apiurl, project, package, who, opts.group, opts.project, opts.package, state_list,
opts.type)
opts.type, req_states=("new", "review", "declined"))
else:
if opts.involved_projects:
who = who or conf.get_apiurl_usr(apiurl)