File tree Expand file tree Collapse file tree 2 files changed +7
-1
lines changed
Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -669,7 +669,7 @@ async def revert_release_plan(
669669 @staticmethod
670670 def get_repo_pretty_name (repo_name : str ) -> str :
671671 regex = re .compile (
672- r"-(i686|x86_64|aarch64|ppc64le|s390x|src )(?P<debug>-debug)?-dr$"
672+ r"-([a-z0-9_]+ )(?P<debug>-debug)?-dr$"
673673 )
674674 pretty_name = regex .sub ("" , repo_name )
675675 debug_part = regex .search (repo_name )
Original file line number Diff line number Diff line change @@ -121,6 +121,12 @@ async def get_task(
121121 response ["platform" ].data ["mock" ][key ].update (
122122 flavour .data ["mock" ][key ]
123123 )
124+ if "dnf_common_opts" in flavour .data .get ('mock' , {}):
125+ if "dnf_common_opts" not in response ["platform" ].data ["mock" ]:
126+ response ["platform" ].data ["mock" ]["dnf_common_opts" ] = []
127+ response ["platform" ].data ["mock" ]["dnf_common_opts" ].extend (
128+ flavour .data ["mock" ]["dnf_common_opts" ]
129+ )
124130 if "definitions" in flavour .data :
125131 response ["platform" ].data ["definitions" ].update (
126132 flavour .data ["definitions" ]
You can’t perform that action at this time.
0 commit comments