Opened 12 months ago

Last modified 10 months ago

#18718 new enhancement

[pkgman] Output dependency resolve as a tree

Reported by: NullAndVoid Owned by: nobody
Priority: normal Milestone: Unscheduled
Component: Kits/Package Kit Version: R1/beta4
Keywords: Cc:
Blocked By: #18720 Blocking:
Platform: All

Description

Using pkgman resolve-dependencies outputs a flattened list of all dependencies. This makes it impossible to utilize in order to figure out the dependency relationship that results in a particular package being resolved.

Add an option to output the dependency relationship as a tree, map or similar.

This came up when trying to figure out why Kate (a text editor) resolves a lot of dependencies that are not needed, such as audio- and video codecs.

https://discuss.haiku-os.org/t/ported-applications-and-dependencies/14384

Change History (2)

comment:1 by NullAndVoid, 12 months ago

Blocked By: 18720 added

comment:2 by waddlesplash, 10 months ago

PulkoMandy added a script to draw dependency graphs in hrev57477, which does something like what this is asking for, at least.

Note: See TracTickets for help on using tickets.