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-08-23 10:53:15 +0200
committerErich Eckner <git@eckner.net>2019-08-23 10:53:15 +0200
commit8406b4f122ee93f8f5fd4e08f3c22c6238a62eb0 (patch)
treede583f545f611466e58a706d7fc62d8aebb17d35
parenta86437f021758f8b1d9a726ed4a23a210d76d890 (diff)
bin/get-assignment: elaborate on TODO
-rwxr-xr-xbin/get-assignment10
1 files changed, 10 insertions, 0 deletions
diff --git a/bin/get-assignment b/bin/get-assignment
index 27fe387..5ef88b1 100755
--- a/bin/get-assignment
+++ b/bin/get-assignment
@@ -338,6 +338,16 @@ next_building=$(
printf ' JOIN `considered_build_assignments_3` AS `e_cba`'
printf ' ON `e_cba`.`id`=`e_ba`.`id`'
printf ' WHERE `late`.`pkgbase`=`package_sources`.`pkgbase`'
+# this might be handy - but we need to mark in `toolchain_order` whether
+# the blocking needs any or all early packages built (first vs. second
+# half of toolchain_order)
+# printf ' AND NOT EXISTS ('
+# printf 'SELECT 1 FROM `binary_packages` AS `e_bp`'
+# mysql_join_binary_packages_binary_packages_in_repositories 'e_bp' 'e_bpir'
+# mysql_join_binary_packages_in_repositories_repositories 'e_bpir' 'e_r'
+# printf ' WHERE `e_bp`.`build_assignment`=`e_ba`.`id`'
+# printf ' AND `e_r`.`is_on_master_mirror`'
+# printf ')'
printf ') AS `exists_blocked`,'
printf 'EXISTS ('
printf 'SELECT 1'