Skip to content

Commit 5552c3f

Browse files
authored
Merge pull request #1124 from AlmaLinux/prod_backport
Backport production changes
2 parents d6aa2f8 + ed512de commit 5552c3f

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

alws/release_planner.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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)

alws/routers/build_node.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff 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"]

0 commit comments

Comments
 (0)