Quantcast

Re: [macports-base] 02/03: Add 'rleaves' alias

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [macports-base] 02/03: Add 'rleaves' alias

Rainer Müller-4
On 2017-02-17 22:42, Dan Villiom Podlaski Christiansen wrote:
Dan Villiom Podlaski Christiansen (danchr) pushed a commit to branch master
in repository macports-base.

https://github.com/macports/macports-base/commit/b042c0e754098d7e7d6630e37f9db7ef9657a379

commit b042c0e754098d7e7d6630e37f9db7ef9657a379
Author: Dan Villiom Podlaski Christiansen [hidden email]
AuthorDate: Fri Feb 17 22:26:48 2017 +0100

    Add 'rleaves' alias
---
 doc/port.1        | 11 +++++++++++
 doc/port.1.txt    |  2 ++
 src/port/port.tcl | 21 +++++++++++++++++++++
 3 files changed, 34 insertions(+)
diff --git a/doc/port.1.txt b/doc/port.1.txt
index 5d2be2a..db56670 100644
--- a/doc/port.1.txt
+++ b/doc/port.1.txt
@@ -52,6 +52,8 @@ available port tree(s). These may be used in the same way as a 'portname'.
     - 'unrequested': installed ports that were installed only to satisfy
       dependencies
     - 'leaves': installed ports that are unrequested and have no dependents
+    - 'rleaves': installed ports that are unrequested and that no
+      requested ports depend on
Sorry, I missed this earlier in the pull request [1], but I would be fine with just changing the definition of leaves. The new 'rleaves' makes more sense to me. Is there actually a use case for the old 'leaves', where this pseudo-port cannot be replaced with 'rleaves'?

Rainer

[1] https://github.com/macports/macports-base/pull/20
Loading...