[Yum-devel] RFD - Change sqlite schema to preserve requires pre attribute
seth vidal
skvidal at linux.duke.edu
Wed Jun 28 15:36:52 UTC 2006
On Wed, 2006-06-28 at 11:24 -0400, Paul Nasrat wrote:
> We have pre= on some requires but don't capture that within the sqlite
> cache. I'd like to suggest a schema change to requires table of primary
> to add this:
>
> CREATE TABLE requires (
> name TEXT,
> flags TEXT,
> epoch TEXT,
> version TEXT,
> release TEXT,
> pkgKey TEXT ,
> pre BOOL DEFAULT FALSE);
>
> Obviously both the python and the C metadata parsers would need to be
> adjusted to work with this. A patch to make the python cache code do
> this follows. Does this seem reasonable?
>
this looks fine to me.
-sv
More information about the Yum-devel
mailing list