[packagekit] APT backend and xapian
palfrey at tevp.net
Mon Oct 29 16:55:53 PDT 2007
On 29/10/2007, Richard Hughes <hughsient at gmail.com> wrote:
> > it might be a good idea to provide some way to
> > switch between them at compile time.
One critical question here would be: how? Current thought is splitting
the current apt backend code into two halves: search and not-search.
The not-search half will include all the code common to all the apt
idea, including the pk_backend struct thingie, and will depend on the
existence of a small set of the commands - the search ones - being
defined somewhere else. The search half will be fulfilled by one of
several different files (initially just one for the pure-apt
searching) which provide the search functions. Also, there needs to be
a configure option to pick which of the other files gets added to the
list of sources to be compiled in.
I should have some time to work on this at the weekend, but if anyone
else wants to do it before then, please feel free. Or if anyone has
More information about the PackageKit