Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbin/get-assignment3
1 files changed, 3 insertions, 0 deletions
diff --git a/bin/get-assignment b/bin/get-assignment
index f670df1..804501b 100755
--- a/bin/get-assignment
+++ b/bin/get-assignment
@@ -175,6 +175,8 @@ next_building=$(
printf ' AND `architecture_compatibilities`.`fully_compatible`'
printf ' JOIN `architectures`'
printf ' ON `architecture_compatibilities`.`runs_on`=`architectures`.`id`'
+ printf ' LEFT'
+ mysql_join_package_sources_toolchain_order
printf ' WHERE ('
printf '`build_assignments`.`is_blocked` IS NULL'
if [ -n "${requested}" ]; then
@@ -186,6 +188,7 @@ next_building=$(
mysql_query_is_part_of_loop '`build_assignments`.`id`'
printf ' OR NOT '
mysql_query_has_pending_dependencies '`architectures`.`id`' '`build_assignments`.`id`'
+ printf ' OR `toolchain_order`.`pkgbase` IS NOT NULL'
printf ')'
printf ' AND `binary_packages_in_repositories`.`repository`=%s' \
"${repository_ids__any_build_list}"