summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2018-03-22 13:46:26 +0100
committerErich Eckner <git@eckner.net>2018-03-22 13:46:26 +0100
commitda313910bc4dd8478855c9320541c71bd258c948 (patch)
tree41a130cb6870c574dc3bd39028fe9e7079ed7d5e
parent999bf6f69012624033211d94bd731a06f4385f47 (diff)
downloadbuilder-da313910bc4dd8478855c9320541c71bd258c948.tar.xz
bin/db-update -p may now also move untested packages (and break consistency)
-rwxr-xr-xbin/db-update6
1 files changed, 0 insertions, 6 deletions
diff --git a/bin/db-update b/bin/db-update
index 5b0d56f..6ecf9c9 100755
--- a/bin/db-update
+++ b/bin/db-update
@@ -185,12 +185,6 @@ for source_stability in 'testing' 'staging'; do
mysql_join_repositories_repository_stabilities 'subst_r' 'subst_rs'
printf ' AND `subst_rs`.`name`="%s"' \
"${source_stability}"
- # TODO: we may relax this condition, if we a) got rid of state files
- # or b) improved keeping them in sync (*.testing -> /dev/null is not
- # implemented, only .tested -> /dev/null)
- if [ ! "${source_stability}" = 'staging' ]; then
- printf ' AND `subst_bp`.`is_tested`'
- fi
mysql_join_binary_packages_dependencies
mysql_join_dependencies_dependency_types
printf ' AND `dependency_types`.`relevant_for_binary_packages`'