summaryrefslogtreecommitdiff
path: root/bin/why-dont-you
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2018-05-25 13:40:36 +0200
committerErich Eckner <git@eckner.net>2018-05-25 13:40:36 +0200
commit8aeca7194277ab52126bb3358635743be2ed7e2d (patch)
tree9ddf06fcf276eeb6f563def98985826aaeb4ff14 /bin/why-dont-you
parent64277df1805bb165184267cab3668166da780b1e (diff)
downloadbuilder-8aeca7194277ab52126bb3358635743be2ed7e2d.tar.xz
lib/mysql-functions: make mysql_join_binary_packages_repositories and mysql_join_repositories_binary_packages obsolete
Diffstat (limited to 'bin/why-dont-you')
-rwxr-xr-xbin/why-dont-you6
1 files changed, 4 insertions, 2 deletions
diff --git a/bin/why-dont-you b/bin/why-dont-you
index 7117bed..e35e0bd 100755
--- a/bin/why-dont-you
+++ b/bin/why-dont-you
@@ -62,7 +62,8 @@ case "${action}" in
printf ' FROM `package_sources` AS `tb_ps`'
mysql_join_package_sources_build_assignments 'tb_ps' 'tb_ba'
mysql_join_build_assignments_binary_packages 'tb_ba' 'tb_bin'
- mysql_join_binary_packages_repositories 'tb_bin' 'tb_rep'
+ mysql_join_binary_packages_binary_packages_in_repositories 'tb_bin' 'tb_bir'
+ mysql_join_binary_packages_in_repositories_repositories 'tb_bir' 'tb_rep'
printf ' WHERE `tb_rep`.`name`="build-list"'
printf ') AS `to_build`'
printf ' ON `to_build`.`pkgbase`=`pkgbases`.`pkgbase`'
@@ -74,7 +75,8 @@ case "${action}" in
printf ' FROM `package_sources` AS `dep_ps`'
mysql_join_package_sources_build_assignments 'dep_ps' 'dep_ba'
mysql_join_build_assignments_binary_packages 'dep_ba' 'dep_bin'
- mysql_join_binary_packages_repositories 'dep_bin' 'dep_rep'
+ mysql_join_binary_packages_binary_packages_in_repositories 'dep_bin' 'dep_bir'
+ mysql_join_binary_packages_in_repositories_repositories 'dep_bir' 'dep_rep'
# now we have some (=3) additional joins,
# because we are interested in dependency relations to `to_build`
mysql_join_binary_packages_install_target_providers 'dep_bin'