Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2018-08-16 17:53:50 +0200
committerErich Eckner <git@eckner.net>2018-08-16 17:53:50 +0200
commitc02adc5857c4e34cb0920482d5093bdf5b13ddb7 (patch)
tree2e64f97967c7975c707e1dbe12c3104a1a27f2e3 /bin
parent4bf8a71f644b03652cb1f26f9470f42c58fd7b40 (diff)
bin/find-obsolete-packages: ignore _all_ packages w/o upstream sources in our database - they're intentionally additional
Diffstat (limited to 'bin')
-rwxr-xr-xbin/find-obsolete-packages7
1 files changed, 3 insertions, 4 deletions
diff --git a/bin/find-obsolete-packages b/bin/find-obsolete-packages
index 1a35ec1..096411e 100755
--- a/bin/find-obsolete-packages
+++ b/bin/find-obsolete-packages
@@ -102,18 +102,17 @@ fi
p
p
'
- printf '%s\n' \
- 'archlinux32-keyring' \
- 'archlinux32-keyring-transition' | \
- sed 'p'
# shellcheck disable=SC2016
{
printf 'SELECT DISTINCT `binary_packages`.`pkgname`'
printf ' FROM `binary_packages`'
mysql_join_binary_packages_binary_packages_in_repositories
mysql_join_binary_packages_in_repositories_repositories
+ mysql_join_binary_packages_build_assignments
+ mysql_join_build_assignments_package_sources
printf ' WHERE `repositories`.`is_on_master_mirror`'
printf ' AND NOT `binary_packages_in_repositories`.`is_to_be_deleted`'
+ printf ' AND `package_sources`.`uses_upstream`'
} | \
mysql_run_query
} | \