index : builder | |
Archlinux32 build system | gitolite user |
summaryrefslogtreecommitdiff |
-rwxr-xr-x | bin/return-assignment | 5 |
diff --git a/bin/return-assignment b/bin/return-assignment index b0c12d7..01ea4cd 100755 --- a/bin/return-assignment +++ b/bin/return-assignment @@ -833,7 +833,7 @@ trigger_mirror_refreshs printf 'COMMIT;\n' if [ "${lib_link%:*}" = 'pl' ]; then - printf 'INSERT IGNORE INTO `install_target_providers` (`package`,`install_target`,`version`)' + printf 'INSERT IGNORE INTO `install_target_providers` (`package`,`install_target`,`install_target_is_group`,`version`)' else printf 'INSERT IGNORE INTO `dependencies` (`dependent`,`depending_on`,`dependency_type`,`version_relation`,`version`)' fi @@ -843,6 +843,8 @@ trigger_mirror_refreshs printf '`dependency_types`.`id`,' printf '`%s`.`relation`,' \ "${lib_link%:*}" + else + printf '0,' fi printf '`versions`.`id`' printf ' FROM `install_targets`' @@ -971,6 +973,7 @@ trigger_mirror_refreshs printf ' FROM `dependencies`' mysql_join_dependencies_binary_packages '' 'built_bp' printf '%s;\n' "${join_part}" + # TODO: set version and install_target_providers, too printf 'INSERT IGNORE INTO `install_target_providers`' printf ' (`package`,`install_target`)' printf ' SELECT `new_bp`.`id`,`install_target_providers`.`install_target`' |