Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much

•Re: Create minimal offline CPAN mirror

by merlyn (Sage)
on Aug 08, 2002 at 01:23 UTC ( #188501=note: print w/replies, xml ) Need Help??

in reply to Create minimal offline CPAN mirror

Can any one suggest a sane way to do this, obviously some munging of 02packages.details.txt is required.
Based on that comment, I hacked out an 85-line program for my next LM column that does just that. It fetches everything you'd need to install any module in the modules list using, and deletes anything old.

The current "mini-CPAN" size is just a bit under 300M. Easily fit on a CDROM. Cool.

The first time you run it, it sequentially fetches all of the modules, which is nicer on the source machine than doing them in parallel. After that, it fetches just what might have changed.

-- Randal L. Schwartz, Perl hacker

update: I posted this at Mirror only the installable parts of CPAN.
  • Comment on •Re: Create minimal offline CPAN mirror

Replies are listed 'Best First'.
Re: •Re: Create minimal offline CPAN mirror
by mattr (Curate) on Aug 08, 2002 at 11:10 UTC
    Cool!!! Mad props to Merlyn.

    The ultimate present for the japh who has got it all.
    And still plenty of room to spare on the CD!

    I starting wondering how long before CPAN doubles to almost fill that CD.. but couldn't find a graph of CPAN growth. Can anybody post copies of du-k.gz with the date of download on it? A small sample and we can build a curve. I just downloaded one and called it du-k.2002-0808.gz (though I think the browser or somebody decompressed it before I saw it).

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://188501]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (4)
As of 2017-12-15 07:02 GMT
Find Nodes?
    Voting Booth?
    What programming language do you hate the most?

    Results (419 votes). Check out past polls.