index : builder | |
Archlinux32 build system | gitolite user |
summaryrefslogtreecommitdiff |
author | Erich Eckner <git@eckner.net> | 2019-12-19 10:47:45 +0100 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2019-12-19 10:47:45 +0100 |
commit | 3bd980fbe58eb8e2b6cf74102069f00e284ce712 (patch) | |
tree | eddcb8520f41781d12b93bdd4a513f9c08fd8100 /bin | |
parent | 6e2f019530f75f45538a70642a66a5f1b57f3e37 (diff) |
-rwxr-xr-x | bin/nit-picker | 21 |
diff --git a/bin/nit-picker b/bin/nit-picker index e073439..16ac5c6 100755 --- a/bin/nit-picker +++ b/bin/nit-picker @@ -171,7 +171,13 @@ while pgrep -x ii >/dev/null \ printf 'SELECT DISTINCT' printf ' "package-blob",' - printf '`binary_packages`.`build_assignment`,' + printf 'CONCAT(' + printf '`binary_packages`.`build_assignment`,"-",' + printf '`binary_packages`.`epoch`,":",' + printf '`binary_packages`.`pkgver`,"-",' + printf '`binary_packages`.`pkgrel`,".",' + printf '`binary_packages`.`sub_pkgrel`' + printf '),' printf '`repositories`.`architecture`' printf ' FROM `binary_packages`' mysql_join_binary_packages_binary_packages_in_repositories @@ -527,8 +533,17 @@ while pgrep -x ii >/dev/null \ printf '`repository_stabilities`.`name`' printf ' FROM `binary_packages`' mysql_join_binary_packages_build_assignments - printf ' AND `build_assignments`.`id`=%s' \ - "${parameters% *}" + printf 'AND CONCAT(' + printf '`binary_packages`.`build_assignment`,"-",' + printf '`binary_packages`.`epoch`,":",' + printf '`binary_packages`.`pkgver`,"-",' + printf '`binary_packages`.`pkgrel`,".",' + printf '`binary_packages`.`sub_pkgrel`' + printf ')=from_base64("%s"),' \ + "$( + printf '%s' "${parameters% *}" \ + | base64 -w0 + )" mysql_join_build_assignments_package_sources mysql_join_binary_packages_binary_packages_in_repositories mysql_join_binary_packages_in_repositories_repositories |