On Mon, 2008-10-20 at 20:07 +0200, Jürg Billeter wrote: > as a preparation to support decomposed database tables in Tracker, I've > been looking into how we could abstract database access so that the > database schema can change without affecting the code in trackerd and > tracker-indexer. > > I'm proposing to introduce an additional (private) library that acts as > a high-level database interface, so it sits between libtracker-db and > trackerd/tracker-indexer. That library, let's call it libtracker-data > for now, is the only place where SQL queries get constructed. > > As a first step, we should probably just move relevant functions or > function parts from trackerd and tracker-indexer to the new library and > refactor and extend the library later. Looking at the current code, the > API of libtracker-data would be composed of the following parts:
I've put a test version of libtracker-data online at http://www.gnome.org/~juergbi/tracker.git/ The new and moved functions are in src/libtracker-data/tracker-data-* Any comments or suggestions? Jürg _______________________________________________ tracker-list mailing list tracker-list@gnome.org http://mail.gnome.org/mailman/listinfo/tracker-list