mirror of
https://github.com/openSUSE/osc.git
synced 2025-01-11 16:36:14 +01:00
- added support for "osc requestmaintainership PROJECT" (if cwd is no package wc)
This commit is contained in:
parent
c66a75018e
commit
d243241b1c
@ -1701,6 +1701,7 @@ Please submit there instead, or use --nodevelproject to force direct submission.
|
|||||||
usage:
|
usage:
|
||||||
osc requestmaintainership # for current user in checked out package
|
osc requestmaintainership # for current user in checked out package
|
||||||
osc requestmaintainership USER # for specified user in checked out package
|
osc requestmaintainership USER # for specified user in checked out package
|
||||||
|
osc requestmaintainership PROJECT # for current user if cwd is not a checked out package
|
||||||
osc requestmaintainership PROJECT PACKAGE # for current user
|
osc requestmaintainership PROJECT PACKAGE # for current user
|
||||||
osc requestmaintainership PROJECT PACKAGE USER # request for specified user
|
osc requestmaintainership PROJECT PACKAGE USER # request for specified user
|
||||||
|
|
||||||
@ -1727,6 +1728,10 @@ Please submit there instead, or use --nodevelproject to force direct submission.
|
|||||||
user = conf.get_apiurl_usr(apiurl)
|
user = conf.get_apiurl_usr(apiurl)
|
||||||
else:
|
else:
|
||||||
user = args[0]
|
user = args[0]
|
||||||
|
elif len(args) == 1:
|
||||||
|
user = conf.get_apiurl_usr(apiurl)
|
||||||
|
project = args[0]
|
||||||
|
package = None
|
||||||
else:
|
else:
|
||||||
raise oscerr.WrongArgs('Wrong number of arguments.')
|
raise oscerr.WrongArgs('Wrong number of arguments.')
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user