[Yum-devel] Should sqlite replace the current pickle caches

seth vidal skvidal at phy.duke.edu
Fri Feb 25 05:46:49 UTC 2005


>It's probably best to keep the pickle stuff there to fall back on until 
>we know sqlite is solid. If sqlite is not installed or the user chooses 
>not to use it, yum should fall back to using pickles but make it clear 
>that the user is missing out. The config option should definitely 
>default to sqlite.
>
>If we want to keep pickle support for the long term, we could refactor 
>that code to use the new MDParser class to avoid overlapping metadata 
>parsing functionality.

I think making sure we have a class that can:
 1. deal with some changes to the metadata
 2. is generic enough to support multiple runtime storage types

we'd be better off.

-sv





More information about the Yum-devel mailing list