index : builder | |
Archlinux32 build system | gitolite user |
summaryrefslogtreecommitdiff |
-rwxr-xr-x | bin/return-assignment | 10 |
diff --git a/bin/return-assignment b/bin/return-assignment index fada308..3e62003 100755 --- a/bin/return-assignment +++ b/bin/return-assignment @@ -1103,10 +1103,14 @@ cut -d' ' -f4,5 "${tmp_dir}/repository-ids" | \ printf ' FROM `dependencies`' mysql_join_dependencies_binary_packages '' 'built_bp' printf '%s;\n' "${join_part}" - # TODO: set version and install_target_providers, too + # TODO: set _correct_ version of install_target_providers printf 'INSERT IGNORE INTO `install_target_providers`' - printf ' (`package`,`install_target`)' - printf ' SELECT `new_bp`.`id`,`install_target_providers`.`install_target`' + printf ' (`package`,`install_target`,`version`,`install_target_is_group`)' + printf ' SELECT `new_bp`.`id`' + printf ',`install_target_providers`.`%s`' \ + 'install_target' \ + 'version' \ + 'install_target_is_group' printf ' FROM `install_target_providers`' mysql_join_install_target_providers_binary_packages '' 'built_bp' printf '%s;\n' "${join_part}" |