Re: New module proposal: tracker



On Fri, 2009-11-06 at 17:57 +0000, Bastien Nocera wrote:
> On Fri, 2009-11-06 at 18:53 +0100, Philip Van Hoof wrote:
> > On Fri, 2009-11-06 at 09:28 -0600, Shaun McCance wrote:
> > > > 
> > > > Surely apps should ship pre-indexed help files? Or at least do the
> > > > indexing at install time when installing from tarballs.
> > > 
> > > All right.  Is there a suitable open format for that?  
> > 
> > Yes, the format for pre-installed content is Turtle. You have a command-
> > line tool and a DBus API to instruct tracker-store to import such a
> > Turtle file.
> > 
> > You can for example in the postinst of a package do this.
> 
> There's a tracker-store listening system-wide?

Hmm, that's a good point. 

I guess you'll have to iterate over all users and foreach

 su $user -c tracker-sparql -q -u $qry

I understand that this is not nice :(. But indeed, tracker-store isn't
system-wide, instead it's per user.


-- 
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]