Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/bin/bootstrap-mysql
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2018-06-04 12:47:41 +0200
committerErich Eckner <git@eckner.net>2018-06-04 12:47:41 +0200
commit06f4bfcd17fa2a5df933e30c1a54b854b743a1b6 (patch)
treea9335b4c60e95b97296edf05ca573823dd23ad2f /bin/bootstrap-mysql
parent00a9012fbfd718674b6570a89c2983914dd0f53c (diff)
bin/bootstrap-mysql: moved packages may not have issues and must be tested (or moved from staging)
Diffstat (limited to 'bin/bootstrap-mysql')
-rwxr-xr-xbin/bootstrap-mysql7
1 files changed, 7 insertions, 0 deletions
diff --git a/bin/bootstrap-mysql b/bin/bootstrap-mysql
index 20e3225..6b64d96 100755
--- a/bin/bootstrap-mysql
+++ b/bin/bootstrap-mysql
@@ -93,6 +93,13 @@ fi
printf ' AND `repository_moves`.`from_repository`=`binary_packages_in_repositories`.`repository`'
# correct stability: "testing"/"staging" - as chosen
printf ' WHERE `repository_stabilities`.`name`=`from_stability`'
+ printf ' AND ('
+ printf '`from_stability`="staging"'
+ # "testing" packages must be tested
+ printf ' OR `binary_packages`.`is_tested`'
+ printf ')'
+ # no open issues
+ printf ' AND NOT `binary_packages`.`has_issues`'
printf ';\n'
# these packages are considered for being replaced:
# for each moved package