Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2019-04-10 15:47:46 +0200
committerErich Eckner <git@eckner.net>2019-04-10 15:47:46 +0200
commit04d3b7d825b790478a0789a91836363839e136dd (patch)
tree3552fa6e4803f53368efbe975bbefcf4580f4b6a
parent9730bf179910dbfed4a90676a51d1dc2560b5995 (diff)
bin/get-assignment: add todo
-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