[packagekit] Caching of repository metadata (esp. Yum)

Richard Hughes hughsient at gmail.com
Thu Nov 27 05:13:36 PST 2008


On Wed, 2008-11-26 at 21:01 +0100, Sebastian Heinlein wrote:
> > * FORCE = Force network refresh, error out if unavailable
> > * ALLOW = Allow network activity if required (default)
> > * CACHE = Word completely from cache, error out if invalid
> 
> I don't see why I should care about the freshness of the cache on the
> client side.

I see your point. If the daemon knows there is no network access, then
it should try to work from a cache and fail with an error if it can't.
We should probably tell the spawned backends somehow -- maybe with an
environment variable like we do the proxy settings.

Richard





More information about the PackageKit mailing list