[Yum-devel] Re: [yum-git] 7 commits - yum/sqlitesack.py

Jeremy Katz katzj at redhat.com
Wed Feb 13 14:35:30 UTC 2008


On Wed, 2008-02-13 at 09:22 -0500, James Antill wrote:
> commit 402765ec693e3e7c7bdd0a7148ffe34f1c9bf58a
> Author: James Antill <james at and.org>
> Date:   Wed Feb 13 00:46:12 2008 -0500
> 
>     Add check for filelists/primary pkgId corruption before using filelists

While maybe useful, if we get here, we've already lost and giving an
exception just means that the user is left with no way to do anything
about it.  Also, I suspect it has something of a speed hit.  Why don't
we just do the fix on createrepo (or in yum-metadata-parser, if we want
to do it on sqlite db creation)

Jeremy




More information about the Yum-devel mailing list