skaji / cpm

fast CPAN client
https://metacpan.org/dist/App-cpm
Other
170 stars 36 forks source link

Feature request: Dependency graph #183

Open Shawak opened 4 years ago

Shawak commented 4 years ago

I am requesting a dependency graph feature, so you can actually see what modules depend on what submodules and so on. There are dependency graphs on metacpan (so you can single check each module), but we are using a custom darkpan which doesn't have this feature.

Having this feature built-in into cpm so you can use it with multiple resolvers would be pretty cool. Output could either be ascii art or html.

skaji commented 4 years ago

Sounds interesting. But, I'm not sure cpm itself should have such feature.

Shawak commented 4 years ago

It would be quite useful to cleanup cpanfiles and get rid of modules with a lot of dependencies to decrease build times (especially for modules on custom darkpans etc.). I though about writing it myself but cpm already has a lot of the code which is required to build a dependency graph anyways which is how I came up with the idea.