On Tue, 19 Feb 2008 15:09:54 -0500 Warren Togami <[EMAIL PROTECTED]> wrote:
> What do you use to expire the metadata? That sounds very useful. I
> would like to keep a single cachedir mainly for the RPMS and not
> necessarily the metadata.
I use a yum call to clean the metadata and sqlite data.
self.ayum.cleanMetadata() # clean metadata that might be in the cache
from previous runs
self.ayum.cleanSqlite() # clean metadata that might be in the cache
from previous runs
Some things to consider, don't allow multiple runs of livecd-creator to
use the same cache at the same time. This could be... interesting. So
a locking system is needed. I don't actually have a locking system in
pungi yet, I've been playing fast and loose with it.
--
Jesse Keating
Fedora -- All my bits are free, are yours?
signature.asc
Description: PGP signature
-- Fedora-livecd-list mailing list [email protected] https://www.redhat.com/mailman/listinfo/fedora-livecd-list
