Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/bin/prioritize-build-list
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2019-06-15 19:35:04 +0200
committerErich Eckner <git@eckner.net>2019-06-15 19:35:04 +0200
commitd1100aebc3513a6e3044944afcca7b4e567378c2 (patch)
tree1954cbf770599e1f7b4942877a0c3d1fbc89de8e /bin/prioritize-build-list
parentc6c725b287e2edddc78047f6ef66d6adbdd9cedc (diff)
bin/prioritize-build-list -d should not increase priority of failed builds
Diffstat (limited to 'bin/prioritize-build-list')
-rwxr-xr-xbin/prioritize-build-list1
1 files changed, 1 insertions, 0 deletions
diff --git a/bin/prioritize-build-list b/bin/prioritize-build-list
index b306286..8dd3f23 100755
--- a/bin/prioritize-build-list
+++ b/bin/prioritize-build-list
@@ -143,6 +143,7 @@ if ${dependencies}; then
printf ' ON `sub_q`.`build_assignment`=`build_assignments`.`id`'
printf ' SET `build_assignments`.`priority`=`sub_q`.`priority`'
printf ' WHERE `build_assignments`.`priority`<`sub_q`.`priority`'
+ printf ' AND NOT `build_assignments`.`is_broken`'
printf ';\n'
printf 'SELECT row_count();\n'
} | \