[Pkg-javascript-devel] Bug#1016587: Bug#1016587: Bug#1016587: pkgjs-depends: please add option to list inverse dependency trees

Yadd yadd at debian.org
Sat Aug 6 12:14:21 BST 2022


On 06/08/2022 09:35, Jonas Smedegaard wrote:
> Quoting Yadd (2022-08-06 08:45:30)
>> On 03/08/2022 18:30, Jonas Smedegaard wrote:
>>   > Package: pkg-js-tools
>>   > Version: 0.14.32
>>   > Severity: wishlist
>>   > Tags: upstream
>>   >
>>> pkgjs-depends resolves a dependency tree with the inspected package as
>>> root.
>>>
>>> This results in reused dependencies always being listed multiple times.
>>>
>>> I think it would be helpful to flip it around to resolve multiple trees,
>>> each with the "final leaf" as root and the inspected package (which
>>> would then be the final leaf) omitted.
>>>
>>> Please consider providing this as an option - or perhaps do it by
>>> default.
>>>
>>> It might also make sense to offer to output the internally computed
>>> graph structure (e.g. in graphviz "dot" format) to allow rendering the
>>> a multipgraph (which is hard to do in a console so more sensible to
>>> offload to other tools).
>>>
>>>    - Jonas
>>
>> Hi,
>>
>> I just implemented a --graph option (0.14.33). Will see how to fix this
>> issue later.
> 
> Thanks!
> 
> Thinking some more I am not so sure that an output reversing the order
> is sensible after all: I suggest simply closing this bugreport, now that
> the other suggestion (a graph output) has been implemented.
> 
> Thanks!
> 
>   - Jonas

For now, only missing dependencies are displayed in the graph. I'll 
improve this



More information about the Pkg-javascript-devel mailing list