Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rwxr-xr-xbin/get-assignment2
1 files changed, 2 insertions, 0 deletions
diff --git a/bin/get-assignment b/bin/get-assignment
index 27a266a..abb4c96 100755
--- a/bin/get-assignment
+++ b/bin/get-assignment
@@ -320,6 +320,7 @@ next_building=$(
mysql_join_binary_packages_in_repositories_repositories
printf ' AND `repositories`.`is_on_master_mirror`'
mysql_join_repositories_architectures
+# TODO: this seems wrong - an "any" package will never match here!
printf ' AND `architectures`.`name`=from_base64("%s")' \
"${arch}"
mysql_join_binary_packages_in_repositories_binary_packages
@@ -474,6 +475,7 @@ count_pending=$(
mysql_join_binary_packages_in_repositories_repositories
printf ' WHERE `repositories`.`name`="build-list"'
printf ' AND `build_assignments`.`is_blocked` IS NULL'
+# TODO: there should be some architecture check here, too
printf ';\n'
} | \
mysql_run_query