Skip to content

Commit

Permalink
phase1: treat all branches equally for building
Browse files Browse the repository at this point in the history
Following discussion here:
https://lists.openwrt.org/pipermail/openwrt-devel/2023-November/041769.html

Signed-off-by: Thibaut VARÈNE <hacks@slashdirt.org>
  • Loading branch information
f00b4r0 authored and ynezz committed Nov 16, 2023
1 parent 34b4378 commit b372bb5
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions phase1/master.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand All @@ -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
Expand Down

0 comments on commit b372bb5

Please sign in to comment.