[packagekit] [PATCH] SQLite Package-Cache for PackageKit
Matthias Klumpp
matthias at tenstral.net
Fri May 25 11:40:30 PDT 2012
Hello!
The patch below adds (optional, but enabled by-default) support for
generating a SQLite db package cache on Refresh().
The plugin will later be extended. Having this feature is crucial for
implementing Software-Center-like applications using PackageKit.
The problem is that running GetDetails() is incredibly slow right now
on most backends, so Refresh() calls will take minutes. This could be
avoided by adding a new backend method to return all packages and
their details, so backends can do optimizations internally.
The feature is not yet finished, but it would be a good thing to have
it in PK master as soon as possible to get feedback, that's why I'm
writing this request for patch-review.
The new plugin will also take all jobs from the former
update-package-list and replace it.
Thanks you!
Cheers,
Matthias
-------------- next part --------------
A non-text attachment was scrubbed...
Name: package-cache.patch
Type: application/octet-stream
Size: 33485 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/packagekit/attachments/20120525/f3229c98/attachment-0001.obj>
More information about the PackageKit
mailing list