diff options
author | Erich Eckner <git@eckner.net> | 2019-04-10 15:47:46 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2019-04-10 15:47:46 +0200 |
commit | 04d3b7d825b790478a0789a91836363839e136dd (patch) | |
tree | 3552fa6e4803f53368efbe975bbefcf4580f4b6a | |
parent | 9730bf179910dbfed4a90676a51d1dc2560b5995 (diff) | |
download | builder-04d3b7d825b790478a0789a91836363839e136dd.tar.xz |
bin/get-assignment: add todo
-rwxr-xr-x | bin/get-assignment | 2 |
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 |