Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re^3: Check the dependencies of modules you want to install

by syphilis (Canon)
on Oct 24, 2012 at 03:50 UTC ( #1000548=note: print w/ replies, xml ) Need Help??


in reply to Re^2: Check the dependencies of modules you want to install
in thread Check the dependencies of modules you want to install

I don't think I can do it with just CPANDeps' XML, I would likely have to poll many sources to get that information.

Does the "depth" field tell us anything useful in regard to a module's position in the dependency chain ?

I certainly wouldn't advocate pulling in more sources, as the nice feature of this script is the promptness with which it provides the information.
The only other thing it fails to detect is the case where the version of the dependency that is already installed is not sufficiently recent. (To remedy this would also require significant additional overhead.)
Anyway, like I said, I'll be making good use of it as is ;-)

I opened up one of the XML files in my browser, and found this near the beginning of the file:

This is an experimental XML interface. It's structure and location may change. If you want them to change, please ask. Please try to avoid kicking the shit out of my server, it's only little and doesn't like being bullied.
So there's a couple of things of which we need to be mindful.

Cheers,
Rob


Comment on Re^3: Check the dependencies of modules you want to install
Download Code
Re^4: Check the dependencies of modules you want to install
by thomas895 (Hermit) on Oct 24, 2012 at 04:39 UTC

    Does the "depth" field tell us anything useful in regard to a module's position in the dependency chain ?
    I actually did not notice that when I read over the XML. Hmm, I'll think about adding that, somehow.

    The only other thing it fails to detect is the case where the version of the dependency that is already installed is not sufficiently recent.
    Now that I can try to fix. I will update this node when I make a fix to that...
    Update: Nope, I would have to go scanning Makefiles etc., CPAN Deps doesn't provide the version number :-(

    ~Thomas~ 
    "Excuse me for butting in, but I'm interrupt-driven..."

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1000548]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (16)
As of 2014-09-23 16:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (232 votes), past polls