summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2018-11-02 15:25:34 +0100
committerErich Eckner <git@eckner.net>2018-11-02 15:25:34 +0100
commit6f8f8f8b09fec1a1922804642b1eb1cf3931fdd7 (patch)
tree61ded98c867d64e11ddfe9a38390d7a23ec78152
parentf8b80182094fc6a1a82622a20f6334dfaf9187c7 (diff)
downloadbuilder-6f8f8f8b09fec1a1922804642b1eb1cf3931fdd7.tar.xz
bin/seed-build-list: change TODO
-rwxr-xr-xbin/seed-build-list6
1 files changed, 1 insertions, 5 deletions
diff --git a/bin/seed-build-list b/bin/seed-build-list
index 93a1771..7c3cf9d 100755
--- a/bin/seed-build-list
+++ b/bin/seed-build-list
@@ -327,6 +327,7 @@ fi
fi
# auto-detect pkgbases
if ${auto}; then
+#TODO: there is some architecture logic missing here
printf 'SELECT DISTINCT "pkgbase",1,`package_sources`.`pkgbase`,`upstream_repositories`.`name` FROM ('
printf 'SELECT DISTINCT `binary_packages`.`id`,'
printf '`binary_packages`.`build_assignment`'
@@ -362,11 +363,6 @@ fi
printf ' AND `dependency_types`.`relevant_for_binary_packages`'
mysql_join_dependencies_install_target_providers_with_versions '' 'itp_dummy'
# some dependencies are not provided by the least stable packages
-# TODO: this logic is flawed: we check, that no install_target_provider is superseeded
-# by a less stable package with the same name, but we need to check, that each install_target
-# is provided by a not-superseeded install_target_provider - e.g. by the least stable one
-# of all with the same name
-printf 'you should not use this - it won'"'"'t do, what you expect'
printf ' WHERE NOT EXISTS ('
printf 'SELECT 1 FROM `install_target_providers`'
mysql_join_install_target_providers_binary_packages '' 'subst_bp'