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

Re^2: Mirror a package repository on the fly.

by 5mi11er (Deacon)
on May 23, 2008 at 19:54 UTC ( #688206=note: print w/ replies, xml ) Need Help??


in reply to Re: Mirror a package repository on the fly.
in thread Mirror a package repository on the fly.

Ok, figured out that I had to not use the new "mirrorlist" scheme, but the old "baseurl" scheme within the repo configuration file.

So, it appears to work, but is only caching some .xml files, not the downloads themselves. That doesn't make much sense to me, if it's able to save the .xml files, it should certainly be able to save the megabytes worth of actual package files.

Seems I'm talking to myself at this point, but if anyone is actually reading this and has any suggestions, I'm listening.

-Scott


Comment on Re^2: Mirror a package repository on the fly.
Re^3: Mirror a package repository on the fly.
by motobói (Beadle) on May 26, 2008 at 20:52 UTC
    Hello!
    I am glad you liked the code.
    Please post the command options you used and some log output.

    Where is your mirror root located?
    This is not quite clear in the pod, but doesn't matter which is your baseurl on yum.repos.d, as all files will be downloaded from the external mirror. This is something I'll change.

    The new scheme would be:

    * If the local repository do not have the file, get it upstream using the baseurl.
    * Besides this, respect 'no-cache' pragmas.

    I'll post some code tomorrow.

    --
    motobói.
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (6)
As of 2014-08-30 04:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (291 votes), past polls