mirror of
https://github.com/openSUSE/osc.git
synced 2024-11-11 07:06:16 +01:00
sr accept: Enable forwarding requests to the parent projects
This works only with the --interactive option
This commit is contained in:
parent
a4720eb776
commit
fef07af464
@ -22,6 +22,7 @@ from pathlib import Path
|
|||||||
from urllib.parse import urlsplit
|
from urllib.parse import urlsplit
|
||||||
from urllib.error import HTTPError
|
from urllib.error import HTTPError
|
||||||
|
|
||||||
|
from . import _private
|
||||||
from . import build as osc_build
|
from . import build as osc_build
|
||||||
from . import cmdln
|
from . import cmdln
|
||||||
from . import conf
|
from . import conf
|
||||||
@ -2673,6 +2674,10 @@ Please submit there instead, or use --nodevelproject to force direct submission.
|
|||||||
|
|
||||||
# check for devel instances after accepted requests
|
# check for devel instances after accepted requests
|
||||||
if cmd in ['accept']:
|
if cmd in ['accept']:
|
||||||
|
print(rq)
|
||||||
|
if opts.interactive:
|
||||||
|
_private.forward_request(apiurl, rq, interactive=True)
|
||||||
|
|
||||||
sr_actions = rq.get_actions('submit')
|
sr_actions = rq.get_actions('submit')
|
||||||
for action in sr_actions:
|
for action in sr_actions:
|
||||||
u = makeurl(apiurl, ['/search/package'], {
|
u = makeurl(apiurl, ['/search/package'], {
|
||||||
|
Loading…
Reference in New Issue
Block a user