Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2018-03-22 15:21:22 +0100
committerErich Eckner <git@eckner.net>2018-03-22 15:21:22 +0100
commit3edfb5d8d42567807b949ddac48efbb680ed4d9c (patch)
tree4f5d4566a911ea2e47f51edf7446ecb281938572
parentc772be57eca3a2176ac3931c02fb582f85c0d575 (diff)
bin/build-master-status-from-mysql: do not check consistency of database to build-list
-rwxr-xr-xbin/build-master-status-from-mysql21
1 files changed, 0 insertions, 21 deletions
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