Following discussion here:
https://lists.openwrt.org/pipermail/openwrt-devel/2023-November/041769.html
Signed-off-by: Thibaut VARÈNE <hacks@slashdirt.org>
i = 1
for bname in branchNames:
bldrNamePrio[bname] = i
- i += 1
def is_building(bldr):
return bool(bldr.building) or bool(bldr.old_building)
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