mirror of
https://github.com/openSUSE/osc.git
synced 2025-01-14 17:46:17 +01:00
Merge pull request #651 from lethliel/implement_incoming_option_for_rq
implement incoming option for osc rq
This commit is contained in:
commit
6f34f2b8d8
@ -2122,6 +2122,8 @@ Please submit there instead, or use --nodevelproject to force direct submission.
|
||||
help='non-interactive review of request')
|
||||
@cmdln.option('--exclude-target-project', action='append',
|
||||
help='exclude target project from request list')
|
||||
@cmdln.option('--incoming', action='store_true',
|
||||
help='Show only requests where the project is target')
|
||||
@cmdln.option('--involved-projects', action='store_true',
|
||||
help='show all requests for project/packages where USER is involved')
|
||||
@cmdln.option('--target-package-filter', metavar='TARGET_PACKAGE_FILTER',
|
||||
@ -2233,6 +2235,9 @@ Please submit there instead, or use --nodevelproject to force direct submission.
|
||||
if opts.state == '' and subcmd != 'review':
|
||||
opts.state = 'declined,new,review'
|
||||
|
||||
if opts.incoming:
|
||||
conf.config['include_request_from_project'] = False
|
||||
|
||||
if args[0] == 'help':
|
||||
return self.do_help(['help', 'request'])
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user