| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
|
|
|
| |
These query the Miner FS, so they should go with it.
|
|
|
|
| |
It's not clear how this is different from query-async.py.
|
|
|
|
| |
libtracker-miner is private in Tracker 3.
|
|
|
|
| |
There's a more complete example in tracker-miners.git.
|
| |
|
|\
| |
| |
| |
| | |
ci: Add rawhide job
See merge request GNOME/tracker!355
|
|/ |
|
| |
|
| |
|
| |
|
|\
| |
| |
| |
| | |
libtracker-sparql: Fix newly introduced coverity warnings
See merge request GNOME/tracker!362
|
|/
|
|
|
| |
We shouldn't reach paths that those are unset, avoid the warning
anyway.
|
|\
| |
| |
| |
| | |
ontologies: Specify a unit for nfo:duration
See merge request GNOME/tracker!361
|
| |
| |
| |
| |
| |
| | |
Upstream Nepomuk doesn't specify a unit, but it's a useless value
without one. GStreamer extractor treats duration as seconds so
lets declare that as the standard.
|
|\ \
| | |
| | |
| | |
| | | |
Add TrackerEndpointHttp object
See merge request GNOME/tracker!358
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This combines with --http-port and HTTP endpoints. Allows running the
endpoint in a way that only connections via the loopback device are
allowed.
This might be useful for testing, without maybe leaking undesired
details on the outside.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This signal is meant for simple access control, and receives the GSocketAddress
corresponding to the remote connection. Users may connect a signal handler
to block the connection based on that data (e.g. allowing different scopes,
loopback connections, local networks, ...).
|
| | |
| | |
| | |
| | | |
Test it via the CLI atm, in order to exercise as much as possible.
|
| | |
| | |
| | |
| | | |
Let "tracker3 endpoint" expose HTTP endpoints as well as D-Bus ones.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Implement partially the server-side bits of
https://www.w3.org/TR/2013/REC-sparql11-protocol-20130321/, or at
least those bits that we handle in our remote connection side.
Most notably, we only handle select queries ATM, this means no
modifications, no authentication concerns, etc.
This implements the necessary bits to have TrackerEndpoint and
tracker_sparql_connection_remote_new() understand each other.
|
| | |
| | |
| | |
| | | |
So they can be used just giving the expected TrackerSerializerFormat.
|
| | |
| | |
| | |
| | |
| | | |
This object takes care of serializing cursors into
application/sparql-results+xml format.
|
| | |
| | |
| | |
| | |
| | | |
This object takes care of translating a cursor into
application/sparql-results+json output.
|
|/ /
| |
| |
| |
| |
| | |
This object is a subclass of GInputStream that takes a SPARQL
cursor on construction. It is meant to handle serialization of
SPARQL results into text formats.
|
|\ \
| | |
| | |
| | |
| | | |
build: fix build when using --buildtype=plain
See merge request GNOME/tracker!359
|
|/ /
| |
| |
| | |
Fixes ca0e860dbc43ad40c38fb05656995c20944b2238
|
| | |
|
|\ \
| | |
| | |
| | |
| | | |
TrackerBatch fixes
See merge request GNOME/tracker!357
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
We need to flush the TrackerData command buffer after deletions,
before the insertions and updates might poke the old values.
Cluster deletions together for a given TrackerResource, so we just
need to flush once between deletes and inserts.
Also, bypass property deletes/resets on bnode resources, since
those are being freshly inserted they won't have old data to delete.
|
| | |
| | |
| | |
| | |
| | |
| | | |
The UUID generation function already uses ':' as the separator,
adding it here too means we have "urn:bnode::..." prefix, the double
colons are undesired.
|
| | |
| | |
| | |
| | |
| | | |
There was no conversion from TrackerResource properties that have a
datetime type.
|
| | |
| | |
| | |
| | |
| | | |
We use resource identifiers as the hashtable key, but were looking
up on the resource pointer here. Oops.
|
|/ /
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
We currently are using APIs from 2 different levels, the
tracker_sparql_delete_statement function is very high level, and doesn't
get along with get_old_property_values() in the expected formats (most
glaring thing is expressing resources as IDs vs URI strings).
Use the lowlevel API all through, pretty much like
tracker_sparql_delete_statement() does, so resource properties are
properly deleted.
|
|/
|
|
|
| |
This is now looking in the wrong directory, we are already inside the
coverity-build directory there.
|
|\
| |
| |
| |
| | |
build: Enable debug if --buildtype=plain
See merge request GNOME/tracker!350
|
| | |
|
|\ \
| | |
| | |
| | |
| | |
| | |
| | | |
Strip punctuation
Closes #274
See merge request GNOME/tracker!352
|
|/ /
| |
| |
| |
| | |
function will match the regex of punctuation and replace it with empty
space
|
|\ \
| | |
| | |
| | |
| | | |
CI fixes for unprivileged images
See merge request GNOME/tracker!354
|
| | |
| | |
| | |
| | |
| | | |
We no longer have privileges to do these. Any necessary package should
be installed already in our image.
|
| | |
| | |
| | |
| | |
| | |
| | | |
Adapt to https://gitlab.gnome.org/GNOME/tracker-oci-images/-/merge_requests/28.
We no longer can (nor need to, really) switch users with `su`. Drop these
calls, and account for the changes of $CWD in the course of the issued commands.
|
|\ \ \
| |/ /
|/| |
| | |
| | | |
libtracker-data: Avoid deletion of empty rows in FTS table
See merge request GNOME/tracker!353
|
|/ /
| |
| |
| |
| |
| |
| |
| |
| | |
Starting with SQLite 3.34.0, this turns into a consistency error. Ensure
rows being deleted have actually some content before proceeding to deletion,
and ensure we don't process individual properties one by one in the course
of a whole rdfs:Resource deletion.
Fixes: https://bugs.archlinux.org/task/68903
|
|\ \
| | |
| | |
| | |
| | | |
Add missing <package> element to Tracker-3.0.gir
See merge request GNOME/tracker!351
|
|/ /
| |
| |
| | |
See: https://discourse.gnome.org/t/rust-bindings-for-tracker-3-from-gir/4968
|
|\ \
| | |
| | |
| | |
| | | |
Improve insert performance
See merge request GNOME/tracker!348
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
We let tracker_db_interface_create_statement() take varargs, even
though most often we have full SQL queries to give. Add a separate
tracker_db_interface_create_vstatement() function taking varargs,
and let this function go with the given SQL string as is.
This avoids needless string copies in fast paths, like executing a
TrackerSparqlStatement.
|