index : builder | |
Archlinux32 build system | gitolite user |
summaryrefslogtreecommitdiff |
author | Erich Eckner <git@eckner.net> | 2018-03-22 15:21:22 +0100 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2018-03-22 15:21:22 +0100 |
commit | 3edfb5d8d42567807b949ddac48efbb680ed4d9c (patch) | |
tree | 4f5d4566a911ea2e47f51edf7446ecb281938572 /bin/build-master-status-from-mysql | |
parent | c772be57eca3a2176ac3931c02fb582f85c0d575 (diff) |
-rwxr-xr-x | bin/build-master-status-from-mysql | 21 |
diff --git a/bin/build-master-status-from-mysql b/bin/build-master-status-from-mysql index 081baec..c6df53b 100755 --- a/bin/build-master-status-from-mysql +++ b/bin/build-master-status-from-mysql @@ -22,23 +22,6 @@ mysql_cleanup # shellcheck disable=SC2016 { - printf 'SELECT DISTINCT `package_sources`.`pkgbase`,`package_sources`.`git_revision`,`package_sources`.`mod_git_revision`,`upstream_repositories`.`name`' - printf ' FROM `package_sources`' - mysql_join_package_sources_upstream_repositories - mysql_join_package_sources_build_assignments - mysql_join_build_assignments_binary_packages - mysql_join_binary_packages_repositories - printf ' WHERE `repositories`.`name`="build-list"' -} | \ - mysql_run_query | \ - tr '\t' ' ' | \ - sort > \ - "${tmp_dir}/build-list.mysql" -sort "${work_dir}/build-list" > \ - "${tmp_dir}/build-list.file" - -# shellcheck disable=SC2016 -{ printf 'SELECT DISTINCT `package_sources`.`pkgbase`' printf ' FROM `package_sources`' mysql_join_package_sources_build_assignments @@ -56,10 +39,6 @@ sort "${work_dir}/deletion-list" > \ { mysql_sanity_check || true diff -u \ - "${tmp_dir}/build-list.file" \ - "${tmp_dir}/build-list.mysql" || \ - true - diff -u \ "${tmp_dir}/deletion-list.file" \ "${tmp_dir}/deletion-list.mysql" || \ true |