index : builder | |
Archlinux32 build system | gitolite user |
summaryrefslogtreecommitdiff |
-rwxr-xr-x | bin/why-dont-you | 15 |
diff --git a/bin/why-dont-you b/bin/why-dont-you index 7b28cac..4f053ab 100755 --- a/bin/why-dont-you +++ b/bin/why-dont-you @@ -216,10 +216,11 @@ case "${action}" in > "${tmp_dir}/error" # shellcheck disable=SC2016 { - printf 'SELECT' - printf ' `binary_packages_in_repositories`.`id`,' - printf ' IF(%s,1,0),' "${test_filter}" - printf ' IF(`binary_packages`.`has_issues`,1,0)' + printf 'SELECT ' + printf '`binary_packages_in_repositories`.`id`,' + printf 'CONCAT(`architectures`.`name`,"/",`binary_packages`.`pkgname`),' + printf 'IF(%s,1,0),' "${test_filter}" + printf 'IF(`binary_packages`.`has_issues`,1,0)' printf ' FROM `binary_packages_in_repositories`' mysql_join_binary_packages_in_repositories_repositories mysql_join_repositories_architectures @@ -243,16 +244,16 @@ case "${action}" in printf ');\n' } \ | mysql_run_query 'unimportant' \ - | while read -r bpir tested issues; do + | while read -r bpir label tested issues; do rm -f "${tmp_dir}/error" if [ "${tested}" = '0' ]; then printf '"%s" is not tested.\n' \ - "${pkgname}" + "${label}" continue fi if [ "${issues}" = '1' ]; then printf 'There are unresolved bugs reported against "%s".\n' \ - "${pkgname}" + "${label}" continue fi printf '%s\n' "${bpir}" \ |