index : builder | |
Archlinux32 build system | gitolite user |
summaryrefslogtreecommitdiff |
author | Erich Eckner <git@eckner.net> | 2017-09-12 15:06:00 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2017-09-12 15:06:00 +0200 |
commit | 79ee1532e6b4bc23a23398f7d60442feddb85b72 (patch) | |
tree | 85504bd815d98d0f0f494d26d531090ec699725d /bin | |
parent | 9c54adc41ea3840a39202ccb95d0ef5b79908521 (diff) |
-rwxr-xr-x | bin/db-update | 12 | ||||
-rwxr-xr-x | bin/why-dont-you | 4 |
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" diff --git a/bin/why-dont-you b/bin/why-dont-you index 593ad1b..64f914c 100755 --- a/bin/why-dont-you +++ b/bin/why-dont-you @@ -67,10 +67,10 @@ case "${action}" in fi dependent_packages=$( - grep -lxF "${pkg}" "${work_dir}/package-infos/"*".depends" | \ + grep -lxF "${pkg}" "${work_dir}/package-infos/"*".needs" | \ sed ' s|^.*/|| - s|\.depends$|| + s|\.needs$|| ' ) |