From b372bb5c19282e0eaa0b25f6717ed70afc2e74c5 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Thibaut=20VAR=C3=88NE?= Date: Tue, 14 Nov 2023 14:23:50 +0100 Subject: [PATCH] phase1: treat all branches equally for building MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Following discussion here: https://lists.openwrt.org/pipermail/openwrt-devel/2023-November/041769.html Signed-off-by: Thibaut VARÈNE --- phase1/master.cfg | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/phase1/master.cfg b/phase1/master.cfg index 9b749b4..2d6f304 100644 --- a/phase1/master.cfg +++ b/phase1/master.cfg @@ -249,7 +249,6 @@ def prioritizeBuilders(master, builders): i = 1 for bname in branchNames: bldrNamePrio[bname] = i - i += 1 def is_building(bldr): return bool(bldr.building) or bool(bldr.old_building) @@ -270,7 +269,7 @@ def prioritizeBuilders(master, builders): pos = prio + 50 - min(hiprio, 50) # higher priority (larger positive number) raises position break - # pos order: janitor/local (0), tag builds per branch order if any [1..50], !tag builds per branch order [51...] + # pos order: janitor/local (0), tag builds if any [1..50], !tag builds [51...] if not complete_at: date = datetime.min -- 2.30.2