From d6c589c2db1a56bea53213355f05b2fdef585217 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Wed, 2 Aug 2017 11:14:58 +0200 Subject: bin/show-dependencies: recognize packages on the deletion-list --- bin/show-dependencies | 21 +++++++++++++++++---- 1 file changed, 17 insertions(+), 4 deletions(-) (limited to 'bin') diff --git a/bin/show-dependencies b/bin/show-dependencies index beb49b1..fbd15ce 100755 --- a/bin/show-dependencies +++ b/bin/show-dependencies @@ -133,6 +133,17 @@ for target_package in "$@"; do done >> \ "${tmp_dir}/knots" + ( + sort -u "${work_dir}/deletion-list" + tr ' ' '\n' < \ + "${tmp_dir}/build-order" | \ + sort -u + ) | \ + sort | \ + uniq -d | \ + xargs -r printf '3 deletion-list-package %s\n' >> \ + "${tmp_dir}/knots" + ( awk '{print $2}' "${tmp_dir}/known-split-packages" | \ sort -u @@ -142,7 +153,7 @@ for target_package in "$@"; do ) | \ sort | \ uniq -d | \ - xargs -r printf '3 split-package %s\n' >> \ + xargs -r printf '4 split-package %s\n' >> \ "${tmp_dir}/knots" ( @@ -153,7 +164,7 @@ for target_package in "$@"; do ) | \ sort | \ uniq -d | \ - xargs -r printf '4 package %s\n' >> \ + xargs -r printf '5 package %s\n' >> \ "${tmp_dir}/knots" ( @@ -165,7 +176,7 @@ for target_package in "$@"; do ) | \ sort | \ uniq -d | \ - xargs -r printf '5 group %s\n' >> \ + xargs -r printf '6 group %s\n' >> \ "${tmp_dir}/knots" tr ' ' '\n' < \ @@ -191,9 +202,11 @@ for target_package in "$@"; do elif [ "${what}" = 'package' ]; then color='#000000' elif [ "${what}" = 'split-package' ]; then - color='#808080' + color='#8080ff' elif [ "${what}" = 'group' ]; then color='#0000ff' + elif [ "${what}" = 'deletion-list-package' ]; then + color='#808080' else color='#ff80ff' fi -- cgit v1.2.3-70-g09d2