From 860ff80973c7a766395c44eb12d2fb774d594dd3 Mon Sep 17 00:00:00 2001 From: Lilleman auf Larv Date: Wed, 18 Nov 2026 19:13:42 +0100 Subject: [PATCH] List the split repos in a fixed order --- bin/do_epic/split.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/do_epic/split.py b/bin/do_epic/split.py index 4638b30b..c0a22a85 100644 --- a/bin/do_epic/split.py +++ b/bin/do_epic/split.py @@ -72,7 +72,7 @@ def split(store: EpicStore, issue: EpicIssue, by_person: bool, rule: str, langua if isinstance(read, Failure): return read have = {pick.name for task in read if task.parent == issue.key for label in task.labels if isinstance(pick := of_label(label), Repo)} - repos = tuple(dict.fromkeys([*have, *(part.repo for part in predicted.parts)])) + repos = tuple(dict.fromkeys([*sorted(have), *(part.repo for part in predicted.parts)])) if len(repos) < 2: return Split((), ()) if by_person and not predicted.comment: