[Tracker] questions



I had a couple of quick questions and comments about Tracker:

How come Tracker uses the low-level DBus interface? Exporting a
GObject over DBus would be *much* simpler (I've tried it :-),
especially for building parameters (GHashTable -> Python dict) and
doing signals (GObject signals get mapped to DBus signals) for the
eventual live query support. Also, this would automagically give us
certain nice things like introspection for free...

Currently, much of Tracker is case-*in*sensitive. This is fine for
things like service types and metadata types, but could the file name
itself possibly be case-sensitive? Tracker can't tell the difference
right now between two files named Video and video...

Also, the DBus interface seems redundant at times, especially when it
asks for a pair of service and uri. I might be missing something here
(i.e. correct me if I'm wrong), but shouldn't the uri be unique? Why
do we have to pass a service type along with it?

tracker_log opens and closes the tracker.log file each time something
is logged. Maybe using an existing framework like syslog or GLib's
logging facilities [1] would be easier and faster...

Anyways, let me know if something needs to be done, I have a bunch of
free time :-P

Cheers,
Samuel

[1] http://developer.gnome.org/doc/API/2.0/glib/glib-Message-Logging.html



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