Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/bin/db-update
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2017-09-12 15:06:00 +0200
committerErich Eckner <git@eckner.net>2017-09-12 15:06:00 +0200
commit79ee1532e6b4bc23a23398f7d60442feddb85b72 (patch)
tree85504bd815d98d0f0f494d26d531090ec699725d /bin/db-update
parent9c54adc41ea3840a39202ccb95d0ef5b79908521 (diff)
bin/why-dont-you bin/db-update: ignore build-time dependencies for moving built packages between repos
Diffstat (limited to 'bin/db-update')
-rwxr-xr-xbin/db-update12
1 files changed, 6 insertions, 6 deletions
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"