index : builder | |
Archlinux32 build system | gitolite user |
summaryrefslogtreecommitdiff |
author | Erich Eckner <git@eckner.net> | 2019-09-06 14:11:18 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2019-09-06 14:11:18 +0200 |
commit | c7aac6ab9b86ee03ccdf5646656ebf9867dbbf96 (patch) | |
tree | f1fbb6c40ffec667f16046b8743a88cd4e56e123 | |
parent | 9f22cf7d457946eb700c2c2fc76501d3d27a97f9 (diff) |
-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}" |