Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re^2: Building a local 'ppm' repository (Windows)

by LittleGreyCat (Scribe)
on Nov 05, 2008 at 13:02 UTC ( [id://721634]=note: print w/replies, xml ) Need Help??


in reply to Re: Building a local 'ppm' repository (Windows)
in thread Building a local 'ppm' repository (Windows)

"Your post reminded me of a problem which I have been trying to solve involving extracting URL's pointing to a specific filetype (say a gz archive) from a web page. It turns out that at CPAN there is a page which contains an alphabetical list of all modules, with a hyperlink to the tar.gz file of each module. "

Back on the subject after a long break!

Unfortunately, the repository for use by 'ppm' requires a layer above the '.tar.gz' files - a directory of '.ppd' files which describe the packages.

Therefore I have to create this structure locally to have a local repository.

I haven't yet found a simpler way than downloading the '.zip' files each of which which contains a '.ppd' file plus a '.tar.gz' file with a subsidiary path name.

Thanks for the code, though - it could form a basis for downloading all the '.zip' files from the ActiveState website.

This would in turn allow the creation of an 'all_in_one' utility to download all the '.zip' files from the website, unpack them into the repository, and create the 'package.lst' file.

The local repository could then be copied to CD and distributed as an off-line 'ppm' repository.

Cheers

Dave R

Nothing succeeds like a budgie with no teeth.
  • Comment on Re^2: Building a local 'ppm' repository (Windows)

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others taking refuge in the Monastery: (7)
As of 2024-04-18 10:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found