[buildbot] phase1: treat all branches equally for building

LEDE Commits lede-commits at lists.infradead.org
Thu Nov 16 03:48:31 PST 2023


ynezz pushed a commit to buildbot.git, branch master:
https://git.openwrt.org/b372bb5c19282e0eaa0b25f6717ed70afc2e74c5

commit b372bb5c19282e0eaa0b25f6717ed70afc2e74c5
Author: Thibaut VARÈNE <hacks at slashdirt.org>
AuthorDate: Tue Nov 14 14:23:50 2023 +0100

    phase1: treat all branches equally for building
    
    Following discussion here:
    https://lists.openwrt.org/pipermail/openwrt-devel/2023-November/041769.html
    
    Signed-off-by: Thibaut VARÈNE <hacks at slashdirt.org>
---
 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




More information about the lede-commits mailing list