Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/bin/db-update
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2018-07-26 10:49:17 +0200
committerErich Eckner <git@eckner.net>2018-07-26 10:49:17 +0200
commit687d964e3b8d10a56714fef95b9e8f3e678325fe (patch)
tree77f5e7a056b18f99312a7b53d8e8ef49a4a8b83f /bin/db-update
parent261567c3a0ce3b2211dec99b29652a635f0230f9 (diff)
bin/db-update: only mark packages in testing as tested after ${max_testing_duration}
Diffstat (limited to 'bin/db-update')
-rwxr-xr-xbin/db-update4
1 files changed, 4 insertions, 0 deletions
diff --git a/bin/db-update b/bin/db-update
index 0f261fa..3c67a00 100755
--- a/bin/db-update
+++ b/bin/db-update
@@ -125,6 +125,10 @@ if ! ${no_action}; then
printf 'SELECT `binary_packages_in_repositories`.`package`,'
printf 'MIN(`binary_packages_in_repositories`.`last_moved`) AS `first_last_moved`'
printf ' FROM `binary_packages_in_repositories`'
+ mysql_join_binary_packages_in_repositories_repositories
+ # shellcheck disable=SC2154
+ printf ' WHERE `repositories`.`stability`=%s' \
+ "${repository_stability_ids__testing}"
printf ' GROUP BY `binary_packages_in_repositories`.`package`'
printf ') AS `binary_packages_in_repositories`'
printf ' ON `binary_packages_in_repositories`.`package`=`binary_packages`.`id`'