caching in general (was Re: [Fedora-livecd-list] caching repository?)

Jesse Keating jkeating at redhat.com
Wed Jan 16 22:28:47 UTC 2008


On Wed, 16 Jan 2008 14:35:28 -0500
Bill Nottingham <notting at redhat.com> wrote:

> Speaking of, we already have:
> 
> - livecd-creator --cache
> - /var/cache/pungi
> - /var/cache/yum/<repository>
> - InstantMirror
> 
> Is there any work/thought on makeing these not duplicate each other
> so much?

I've thought some about it.  We don't want to stomp on the
system /var/cache/yum, don't want to accidentally clear a cache when it
shouldn't, or lock the system yum from doing anything while you're
composing.

We'd have to implement our own locking to make sure other processes
don't stomp on other compose processes going (something I don't really
handle well in pungi as it is).

Pungi itself uses yum caching code for max code reuse.  Comes in handy
for using yum's downloading code too as I get the cache verification
for free.

At some point livecd and pungi could potentially merge into one code
base, that does different parts after creating yum objects and logging
objects and such.  Processing the kickstart file and getting packages
out of the repos is roughly the same, it's what we do with those
packages that are different.

-- 
Jesse Keating
Fedora -- All my bits are free, are yours?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.fedoraproject.org/pipermail/livecd/attachments/20080116/71cbb4fc/attachment.bin 


More information about the livecd mailing list