FS#61336 - [pacman-contrib] pactree - Add switch for optional dependencies

Attached to Project: Arch Linux
Opened by Richard Neumann (rne) - Thursday, 10 January 2019, 09:41 GMT
Last edited by Daniel M. Capella (polyzen) - Tuesday, 28 July 2020, 23:48 GMT
Task Type Feature Request
Category Arch Projects
Status Closed
Assigned To Johannes Löthberg (demize)
Daniel M. Capella (polyzen)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 3
Private No


Description: I suggest to add a new option to pactree to (also) list optional dependencies.

Additional info:
Introduce e.g. an argument "--optional" resp. "-o" to make pactree also (recursively) include optional dependencies of a package.
Analogously change behaviour on "--reverse" to also list packages that optionally depend on a respective package iff "--optional" was supplied.

Steps to reproduce:
This task depends upon

Closed by  Daniel M. Capella (polyzen)
Tuesday, 28 July 2020, 23:48 GMT
Reason for closing:  Fixed
Additional comments about closing:  https://git.archlinux.org/pacman-contrib .git/commit/?id=b6d08b40d0cf3eb65871d0e5 3d40a42a5f4b015a
Comment by Ralph Corderoy (RalphCorderoy) - Sunday, 17 March 2019, 12:11 GMT
The optional packages could perhaps be marked in some unambiguous way,
e.g. appending " ?" to the package name with the question mark borrowing
from its 'zero or one' meaning in extended regexps.
Comment by Will Song (incertia) - Tuesday, 28 July 2020, 20:37 GMT