summaryrefslogtreecommitdiff
path: root/bin/db-update
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2017-09-13 14:28:59 +0200
committerErich Eckner <git@eckner.net>2017-09-13 14:28:59 +0200
commitab6335819fd13daf88e628d9fc4f9b44bec13af0 (patch)
tree3994e0d4d46ce583ae410aaa46ec61d216416858 /bin/db-update
parent8a8d2d7644c275cea599ac91d2d83154c91547a9 (diff)
downloadbuilder-ab6335819fd13daf88e628d9fc4f9b44bec13af0.tar.xz
clean up meta-data naming mess: {needs; depends} -> {run-depends, build-depends} (content differs, too)
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 430946c..6b97432 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 needs A and
-# b) no done package B which is not being moved needs A
+# a) nothing on the build-list run-depends on A and
+# b) no done package B which is not being moved run-depends on A
# TODO:
@@ -532,16 +532,16 @@ while [ -s "${tmp_dir}/new-keep-packages" ]; do
sed '
s|^|'"${work_dir}"'/package-infos/|
- s|$|.needs|
+ s|$|.run-depends|
' "${tmp_dir}/keep-packages" | \
xargs -r grep -HF '' | \
sed '
s|^.*/||
- s|\.needs:| |
+ s|\.run-depends:| |
' | \
sort -u | \
sort -k2,2 > \
- "${tmp_dir}/keep-packages.needs"
+ "${tmp_dir}/keep-packages.run-depends"
sed '
s|^|'"${work_dir}"'/package-infos/|
@@ -558,7 +558,7 @@ while [ -s "${tmp_dir}/new-keep-packages" ]; do
join -j 2 -o 1.1 \
"${tmp_dir}/done-packages.builds" \
- "${tmp_dir}/keep-packages.needs" | \
+ "${tmp_dir}/keep-packages.run-depends" | \
sort -u > \
"${tmp_dir}/new-keep-packages"