[PATCH] pactree: Add support for getting optional dependencies

Johannes Löthberg johannes at kyriasis.com
Tue May 26 19:55:50 UTC 2020


Excerpts from Frederick Zhang's message of May 4, 2020 20:11:
> Patch by Johannes Löthberg [1] with minor modifications
> 
> [1] https://lists.archlinux.org/pipermail/pacman-dev/2016-February/020922.html
> 
> Signed-off-by: Frederick Zhang <frederick888 at tsundere.moe>
> ---
> 
> It probably got lost and was never merged according to the discussion I
> just had with Eli in pacman-dev.
> 
> Credits to Johannes. I made a few minor changes to make it compile.
> 

Hey,

Sorry for the late reply, been too busy...

The reason that it was never merged is that it doesn't work properly.  
The problem is that while it works fine for -so, when searching for 
local packages it should properly exclude optional dependencies that are 
not installed so they're not printed, rather than being printed as 
unresolvable.

-- 
Sincerely,
  Johannes Löthberg :: SA0DEM
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 1727 bytes
Desc: not available
URL: <https://lists.archlinux.org/pipermail/pacman-contrib/attachments/20200526/bee37653/attachment.sig>


More information about the pacman-contrib mailing list