From 3edfb5d8d42567807b949ddac48efbb680ed4d9c Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Thu, 22 Mar 2018 15:21:22 +0100 Subject: bin/build-master-status-from-mysql: do not check consistency of database to build-list --- bin/build-master-status-from-mysql | 21 --------------------- 1 file changed, 21 deletions(-) (limited to 'bin') 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 @@ -20,23 +20,6 @@ fi # shellcheck disable=SC2119 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`' @@ -55,10 +38,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" || \ -- cgit v1.2.3-70-g09d2