After a discussion on the perl-qa list, and being blessed with a few hours free time, I wrote a shiny thing, which, given a module name on the CPAN, will find all its dependencies, and their dependencies yea even unto the Nth generation, and display a nice shiny report on their CPAN-testers results.
I expect it to be useful for authors trying to decide what to depend on (you don't want to depend on stuff that itself has fragile dependencies) and also for people trying to figger out why the hell some random module won't install.
To see half the CPAN, try pointing it at Angerwhale.
update: it now calculates the likelihood of a trouble-free install, and has been made much faster by having a local copy of the CPAN testers database and moving to mod_perl
Needs some caching? (Score:1)
Any query page is very slow to load, even after querying the same module a second time right away.
Re: (Score:2)
- It's on the cheapest hosting provider I could find;
- It uses CGI
It's intended mainly as a proof-of-concept. Hopefully someone will pick it up and integrate it into the cpan-testers site and do all the boring work of making it mod_perl-safeVery cool (Score:1)
Crypt::OpenPGP will be optional Real Soon Now.
And BTW, I think Plagger and Jifty both have more dependencies.
Re: (Score:1)
Circs (Score:1)
That's pretty rad. Is there anything that will detect & show circular dependencies?
-Ken
some ideas that come to mind (Score:2)
Compute this once per night/weekend for all the modules in the CPAN to draw pretty graphs.
Add an option of ignoring modules that begin with Test:: and are included only because of modules beginning with Test::
Re: (Score:2)
Just as efficient as the module authors... (Score:1)
Even if you just focus on build/run-depends you'll notice many inconsistencies
Sure it's a nice to have - but unfortunately not as reliable as we might hope.
The most effective way... would be correct dependencies or collecting them manually... or better: allow to mark wrong dependencies so we have a way to identify them and file proper
This is marvellous (Score:1)
This is a very nifty thing you have built.
One can look at barbie's statistics on modules that fail http://perl.grango.org/wdists.html [grango.org] and http://perl.grango.org/wpcent.html [grango.org] and then rebound off domm's Kwalitee pages that provides the crucial list of which modules/dists depend on a flakey module.
This would then allow people to hone in on unloved, critical modules and see if the author is no longer interested in them and take over maintenance (or maybe the author doesn't realise these tools exist these da
Re: (Score:2)
Re: (Score:1)
Net::SSH::Perl FTW! (Score:2)
That only shows 18 because it can't figure out all the dependencies. The final tally was over 30, iirc. And that was only if you were lucky enough to get Math::Pari to build.
Update ... (Score:2)