mirror of
https://github.com/openSUSE/osc.git
synced 2024-12-26 18:06:13 +01:00
- support multiple parallel maintenance workflows
for the same projects. So do not use project "maintains", but the attribute to be able to switch between maintenance, security and PTF working contexts for example.
This commit is contained in:
parent
a7c92eb18f
commit
e3bb5fba23
@ -3956,7 +3956,7 @@ def create_submit_request(apiurl,
|
|||||||
print("WARNING:")
|
print("WARNING:")
|
||||||
print("WARNING: Project does not accept submit request, request to open a NEW maintenance incident instead")
|
print("WARNING: Project does not accept submit request, request to open a NEW maintenance incident instead")
|
||||||
print("WARNING:")
|
print("WARNING:")
|
||||||
xpath = 'maintenance/maintains/@project = \'%s\'' % dst_project
|
xpath = 'attribute/@name = \'%s\'' % conf.config['maintenance_attribute']
|
||||||
res = search(apiurl, project_id=xpath)
|
res = search(apiurl, project_id=xpath)
|
||||||
root = res['project_id']
|
root = res['project_id']
|
||||||
project = root.find('project')
|
project = root.find('project')
|
||||||
|
Loading…
Reference in New Issue
Block a user