diff --git a/osc/core.py b/osc/core.py index 265f88360..fc14e5945 100644 --- a/osc/core.py +++ b/osc/core.py @@ -515,7 +515,7 @@ class Action: 'maintenance_release': ('src_project', 'src_package', 'src_rev', 'tgt_project', 'tgt_package', 'person_name', 'acceptinfo_rev', 'acceptinfo_srcmd5', 'acceptinfo_xsrcmd5', 'acceptinfo_osrcmd5', 'acceptinfo_oxsrcmd5', 'acceptinfo_oproject', 'acceptinfo_opackage'), - 'release': ('src_project', 'src_package', 'src_rev', 'tgt_project', 'tgt_package', 'person_name', + 'release': ('src_project', 'src_package', 'src_rev', 'src_repository', 'tgt_project', 'tgt_package', 'person_name', 'acceptinfo_rev', 'acceptinfo_srcmd5', 'acceptinfo_xsrcmd5', 'acceptinfo_osrcmd5', 'acceptinfo_oxsrcmd5', 'acceptinfo_oproject', 'acceptinfo_opackage', 'tgt_repository'), 'maintenance_incident': ('src_project', 'src_package', 'src_rev', 'tgt_project', 'tgt_package', 'tgt_releaseproject', 'person_name', 'opt_sourceupdate', 'opt_makeoriginolder', diff --git a/osc/obs_api/request_action_source.py b/osc/obs_api/request_action_source.py index 67a86fbf7..3d81aaa1f 100644 --- a/osc/obs_api/request_action_source.py +++ b/osc/obs_api/request_action_source.py @@ -15,3 +15,7 @@ class RequestActionSource(XmlModel): rev: Optional[str] = Field( xml_attribute=True, ) + + repository: Optional[str] = Field( + xml_attribute=True, + )