From 06f4bfcd17fa2a5df933e30c1a54b854b743a1b6 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Mon, 4 Jun 2018 12:47:41 +0200 Subject: bin/bootstrap-mysql: moved packages may not have issues and must be tested (or moved from staging) --- bin/bootstrap-mysql | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'bin/bootstrap-mysql') 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 -- cgit v1.2.3-70-g09d2