index : builder | |
Archlinux32 build system | gitolite user |
summaryrefslogtreecommitdiff |
author | Erich Eckner <git@eckner.net> | 2020-02-27 08:55:36 +0100 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2020-02-27 08:55:36 +0100 |
commit | a46edda12d0dad4bc63e0e20bf1626a421fd77ef (patch) | |
tree | ea3c4306836aad682d9926e541c270a24405889e /bin | |
parent | 36c680fd5667d44b9c8fd168a483184490371a4f (diff) |
-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}" \ |