From 79ee1532e6b4bc23a23398f7d60442feddb85b72 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Tue, 12 Sep 2017 15:06:00 +0200 Subject: bin/why-dont-you bin/db-update: ignore build-time dependencies for moving built packages between repos --- bin/db-update | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'bin/db-update') diff --git a/bin/db-update b/bin/db-update index 18592fd..98a324f 100755 --- a/bin/db-update +++ b/bin/db-update @@ -5,8 +5,8 @@ # to the respective stable repository # 1] Condition for moving a package A from staging to testing is that: -# a) nothing on the build-list depends on A and -# b) no done package B which is not being moved depends on A +# a) nothing on the build-list needs A and +# b) no done package B which is not being moved needs A # TODO: @@ -518,16 +518,16 @@ while [ -s "${tmp_dir}/new-keep-packages" ]; do sed ' s|^|'"${work_dir}"'/package-infos/| - s|$|.depends| + s|$|.needs| ' "${tmp_dir}/keep-packages" | \ xargs -r grep -HF '' | \ sed ' s|^.*/|| - s|\.depends:| | + s|\.needs:| | ' | \ sort -u | \ sort -k2,2 > \ - "${tmp_dir}/keep-packages.depends" + "${tmp_dir}/keep-packages.needs" sed ' s|^|'"${work_dir}"'/package-infos/| @@ -544,7 +544,7 @@ while [ -s "${tmp_dir}/new-keep-packages" ]; do join -j 2 -o 1.1 \ "${tmp_dir}/done-packages.builds" \ - "${tmp_dir}/keep-packages.depends" | \ + "${tmp_dir}/keep-packages.needs" | \ sort -u > \ "${tmp_dir}/new-keep-packages" -- cgit v1.2.3-70-g09d2