New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Reverse dependencies #193
Comments
That sounds like a fantastic idea! Why don't you start by forking Pinto. Once it takes a bit more shape, then we can decide if we want it in the core. If you haven't already figured this out, there are two basic parts for any command:
Use the code for existing commands as a starting point. Certain commands may also require a |
If I may make a suggestion, the same command could also report forward-dependencies too. I think |
Excellent idea! Happy to give pointers if you are interested in this :-) |
Spent some time looking into this. It is kind of a lot of work. The first step is I need to patch CPAN::ReverseDependencies to add some features. For example:
That last one in particular might be a problem. If the local stack has a version pinned, the reverse dep might not apply. |
@kablamo I don't think you need CPAN::ReverseDependencies at all (if I understand your intentions correctly). Pinto already knows the whole dependency tree for everything in the repository. You just have to walk the tree and print stuff out. |
@thaljef thanks for pointing that out. Not sure what I was thinking. Thats obvious in retrospect. I'll take a look again when I get a chance. |
Hi, I'd like a command that shows me the reverse dependencies for a pkg. Specifically: something that is the intersection of CPAN::ReverseDependencies and
pinto list
.Do you think it makes sense to add a subcommand to pinto for that? Or should I make this a separate pkg on cpan?
The text was updated successfully, but these errors were encountered: