Re: [Tracker] [Use case] Distribution Packages Management



On Wed, 2010-02-10 at 11:18 +0200, Debarshi Ray wrote:
We won't add tracker dependencies to other packages manager, we won't
also for ours entropy....

Ok, but the PackageKit damon (ie. packagekitd) runs as root. So it is
not a good idea to bloat the daemon by asking it to talk to Tracker,
either, if that is what you had in mind.

The application that runs PackageKit's dialogs doesn't run as root, it's
that code that should do the queries directly to tracker-store, not by
first going to packagekitd.

A difficulty that I see is that the user must have read access to each
package system's database, for his miner to successfully read it and
pump it into RDF. But for example apt-cache can read from the db as
user, so apt and dpkg are good, I guess. I think YUM & RPM also allows
this.

I remember that among the questions at FOSDEM was that app developers
want a query interface to packagekit, to make queries against the
metadata of the packages.

That could indeed be implemented with tracker-store as RDF store and
SPARQL service.

But again, do it clientside in packagekit's libraries. No need to go
through root-process packagekitd for this.

-- 
Philip Van Hoof, freelance software developer
home: me at pvanhoof dot be 
gnome: pvanhoof at gnome dot org 
http://pvanhoof.be/blog
http://codeminded.be




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]