summaryrefslogtreecommitdiff
path: root/bin/build-master-status-from-mysql
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2018-03-22 15:45:47 +0100
committerErich Eckner <git@eckner.net>2018-03-22 15:45:47 +0100
commitba6f43ca62a719d075cd23ccba35dbbab5f43951 (patch)
tree21ff5f78092909dac12e0b36bb5599852d2ae47e /bin/build-master-status-from-mysql
parentb3023cfe9c2d4e8319885e22a575bd1a522b3f6c (diff)
downloadbuilder-ba6f43ca62a719d075cd23ccba35dbbab5f43951.tar.xz
decommission deletion-list
Diffstat (limited to 'bin/build-master-status-from-mysql')
-rwxr-xr-xbin/build-master-status-from-mysql20
1 files changed, 0 insertions, 20 deletions
diff --git a/bin/build-master-status-from-mysql b/bin/build-master-status-from-mysql
index c6df53b..962b12e 100755
--- a/bin/build-master-status-from-mysql
+++ b/bin/build-master-status-from-mysql
@@ -20,28 +20,8 @@ fi
# shellcheck disable=SC2119
mysql_cleanup
-# shellcheck disable=SC2016
-{
- printf 'SELECT DISTINCT `package_sources`.`pkgbase`'
- printf ' FROM `package_sources`'
- mysql_join_package_sources_build_assignments
- mysql_join_build_assignments_binary_packages
- mysql_join_binary_packages_repositories
- printf ' WHERE `repositories`.`name`="deletion-list"'
- printf ' OR `binary_packages`.`is_to_be_deleted`;\n'
-} | \
- mysql_run_query | \
- sort > \
- "${tmp_dir}/deletion-list.mysql"
-sort "${work_dir}/deletion-list" > \
- "${tmp_dir}/deletion-list.file"
-
{
mysql_sanity_check || true
- diff -u \
- "${tmp_dir}/deletion-list.file" \
- "${tmp_dir}/deletion-list.mysql" || \
- true
} | \
sed '
s,^-.*$,<font color="#FF0000">\0</font>,