sqlite metadata for rpm-md

Bug #244889 reported by Anders F Björklund
2
Affects Status Importance Assigned to Milestone
Smart Package Manager
New
Wishlist
Anders F Björklund

Bug Description

Later versions of Fedora has moved from the .xml.gz metadata to use .sqlite.bz2 instead. Smart might support the new database format for yum metadata as well as the old

Related branches

Changed in smart:
importance: Undecided → Wishlist
Revision history for this message
Anders F Björklund (afb) wrote :

Loading pathlist/changelog data from .sqlite is faster than .xml,
but for parsing primary into native format could be even slower.

Revision history for this message
Rehan Khan (rasker) wrote :

Tested this branch:

Started with no cache and no repo data.

Update worked fine.
Updating sqlite db -> cache worked fine but is slow. (perhaps some psyco optimisation or a c sqlite python module? yum seems to work at a reasonable speed, I guess using the yum-metadata-parser, could this be leveraged?).
Install package/reinstall package/remove package all worked fine.
close/reopen smart also works fine.

(Well, after the initial sqlite -> cache import the sqlite data is not directly used)

I did not test update a second run of update yet as I will have to wait for new repo data.

Revision history for this message
Anders F Björklund (afb) wrote :

Mostly working

Changed in smart:
assignee: nobody → afb
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.