0a91cd7...
by
Sam Thursfield <email address hidden>
flatpak: Build tracker-miners inside the Flatpak
This is needed so that the org.freedesktop.Tracker3.Miner.Files settings
schema is available, and so that the tests that depend on Tracker can
pass as part of the CI build.
8ee7594...
by
Sam Thursfield <email address hidden>
cc79656...
by
Sam Thursfield <email address hidden>
tag-manager: Store starred files in a private database
Until now, starred file information was stored in the tracker-miner-fs
database. This has some downsides, firstly the data is deleted if
someone runs `tracker reset --hard`, secondly it isn't possible to
do this from inside a Flatpak sandbox with Tracker 3.0.
This commit changes the NautilusTagManager to set up a private
database inside XDG_DATA_HOME/nautilus/tags. This stores the starred
file information. The database is managed with Tracker, which allows us
to continue using the rename-tracking that tracker-miner-fs provides.
The same limitations apply as before that only files in indexed
locations can be starred.
fedff50...
by
Sam Thursfield <email address hidden>
tag-manager: Update to use TrackerSparqlStatement
In some cases we can TrackerSparqlStatement to avoid building queries
with printf(). This approach is also faster for local connections.
d8eeaa3...
by
Sam Thursfield <email address hidden>
Port to Tracker 3
Mostly the port is straightforward, we connect to tracker-miner-fs
explicitly over D-Bus instead of the centralized tracker-store daemon
we connected to previously.
The search-engine-tracker test is now isolated from the user's real
Tracker index using the `tracker-sandbox` script provided by Tracker.
There are more changes in nautilus-tag-manager.c because the
TrackerNotifier API changed, it no longer queries the URIs for
us so we need to query these ourselves, and maintain a table
of ID->URI mappings in addition to the URI->ID mapping that we
already maintained.
aaa8cc4...
by
Sam Thursfield <email address hidden>
Add NAUTILUS_DEBUG=TagManager flag
2dc1782...
by
Sam Thursfield <email address hidden>
tests: Make Tracker search test return error code on failure
Previously the test could appear to succeed even if the search
didn't work as expected.
17d5519...
by
Sam Thursfield <email address hidden>