summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2018-08-09 20:41:44 +0200
committerErich Eckner <git@eckner.net>2018-08-09 20:46:59 +0200
commit80f80e1fafe5acaa13023942b767c97df51dc7be (patch)
tree87b801718db2b6671ff793bd681ee1cf09b16050 /bin
parent7788456ce70b5c8d4156b556ca1241d0b915f7c2 (diff)
downloadbuilder-80f80e1fafe5acaa13023942b767c97df51dc7be.tar.xz
bin/return-assignment: only consider packages on the build-list (a build_assignment might have already built binary_packages attached to it - think of the toolchain)
Diffstat (limited to 'bin')
-rwxr-xr-xbin/return-assignment3
1 files changed, 3 insertions, 0 deletions
diff --git a/bin/return-assignment b/bin/return-assignment
index 9ccb80e..ec9ec56 100755
--- a/bin/return-assignment
+++ b/bin/return-assignment
@@ -486,6 +486,9 @@ fi
printf ',`t`.`id`,`t_a`.`name`,`t`.`name`'
printf ' FROM `build_assignments`'
mysql_join_build_assignments_binary_packages
+ mysql_join_binary_packages_binary_packages_in_repositories
+ printf ' AND `binary_packages_in_repositories`.`repository`=%s' \
+ "${repository_ids__any_build_list}"
mysql_join_binary_packages_architectures
mysql_join_build_assignments_package_sources
mysql_join_package_sources_upstream_repositories