| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
This is currently unused, but might be used for future expansion points (e.g.
hint the desire for pretty RDF)
|
|
|
|
|
| |
Use this new TrackerSparqlConnection method to extract data from a
SPARQL endpoint.
|
|
|
|
|
|
| |
Nix replaces programs with shell scripts wrappers that execute
the original files (renamed to .${original_program_name}-wrapped).
We do not want those files to be listed in help page.
|
|
|
|
|
|
|
|
|
| |
We were checking for the error here, but Coverity seems to insist
that we are not freeing the possibly returned string. This is
obviously not true, since NULL will be returned on error. Check
on both things to appease Coverity.
CID: #1501121
|
|
|
|
|
|
|
|
| |
Check for the return value of this function, since coverity seems
to like it checked (and does not understand the error is only filled
in case of error).
CID: #1501105
|
|
|
|
|
|
|
| |
This function might fail (says Coverity), so check the error
value.
CID: #1501106
|
|
|
|
| |
CID: #1501126
|
|
|
|
|
|
| |
Adds "first_time" field to TrackerDBManager class.
Removes "first_time" argument from tracker_db_manager_new() as we can access it through tracker_db_manager_is_first_time()
Later, the first_time field will be checked before deleting the newly created db when error occures during the creation process
|
|
|
|
|
| |
This is a failable operation, so add a GError parameter and propagate
errors happening inside instead of warning in place.
|
|\
| |
| |
| |
| | |
tracker: Fix i18n macros usage
See merge request GNOME/tracker!429
|
| | |
|
| |
| |
| |
| |
| | |
This is redundant, and Fedora has made it a requirement to drop
unnecessary rpaths.
|
|/ |
|
| |
|
|
|
|
| |
CID: #1501118
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
Let "tracker3 endpoint" expose HTTP endpoints as well as D-Bus ones.
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
| |
This special mode opens the old Tracker2 database, and tries to
extract data, pretty much in the same fashion than "tracker export"
command introduced recently in 2.3.x.
So far, this submode only supports exporting of starred files. The
--keyfile argument is also supported, to ease manipulation of this
data on the consumer side.
|
|
|
|
|
|
| |
Meson issue https://github.com/mesonbuild/meson/issues/671 was fixed
years ago and we can use tracker_common_dep anywhere we like without
fear of combinatorial explosion.
|
|
|
|
|
|
|
| |
Otherwise, the connection competes with whoever really owns the database,
and goes through the rather slow file locking and busy handling methods.
We should strive to keep the database writable by a single process, so
make sure we use a readonly connection if we are only doing queries.
|
| |
|
|
|
|
| |
This is closer to tracker-miners, so was moved there.
|
|
|
|
| |
This is similar to "tracker3 info", but without file and uri specific.
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
Make it use the right tracker3 tool for autocompletion, and add some
more autocompletion sugar: Add more options that handle dirs or filenames,
and add completion for DBus names implementing endpoints.
|
|
|
|
| |
This lists all SPARQL endpoints that are visible on DBus.
|
| |
|
|
|
|
| |
Autoptr variables must get initialized properly.
|
| |
|
|\
| |
| |
| |
| | |
cli: Use name `tracker3` consistently
See merge request GNOME/tracker!277
|
| |
| |
| |
| |
| | |
Previously the usage info would refer to the program as `tracker`, very
confusing if it's installed as `tracker3`.
|
|\ \
| | |
| | |
| | |
| | |
| | |
| | | |
Last API changes (?)
Closes #218 and #226
See merge request GNOME/tracker!274
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
NRL is about defining the data structure, all our additional properties
somehow belong in that same domain. This also moves all tracker:*
properties and classes out of the base ontology (except for the tracker
namespace itself, sadly, as it's needed for functions).
All users have been updated to the new namespace for these properties
and classes.
Fixes: https://gitlab.gnome.org/GNOME/tracker/-/issues/226
|
| |/
| |
| |
| | |
Fixes: https://gitlab.gnome.org/GNOME/tracker/-/issues/218
|
|/
|
|
|
|
| |
This corresponds with the package name we expect distros to use.
Fixes https://gitlab.gnome.org/GNOME/tracker/-/issues/228
|
|
|
|
|
|
|
|
|
| |
This option includes graphs in the exported output.
In this mode the output is no longer Turtle format but
[TriG](https://www.w3.org/TR/trig/) format. This means
`tracker export --show-graphs | tracker import` won't
work, so this mode is disabled by default.
|
| |
|
|\
| |
| |
| |
| | |
Various cleanups and improvements to tracker-data-update.c
See merge request GNOME/tracker!230
|
| | |
|
| |
| |
| |
| | |
If no database path is passed, create an in-memory database.
|
|/ |
|
|\
| |
| |
| |
| |
| |
| | |
Rework debug logging for 3.0
Closes #178
See merge request GNOME/tracker!219
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Users should now use G_MESSAGES_DEBUG=Tracker to see debug messages
on the console.
The TRACKER_VERBOSITY only worked if tracker_log_init() had been called,
which can't be done when libtracker-sparql is being used from an
application outside of Tracker.
|
|/
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Our ontology URLs now use a namespace that we manage, at
http://tracker.api.gnome.org/. This domain won't expire and can
redirect anywhere we want, so that it can always link to the
correct documentation for the ontologies.
We are going to continue using the Nepomuk name in the ontologies
that were developed by the Nepomuk project, despite changing the
URL. This way we acknowledge that we have downstream changes to
the Nepomuk ontologies but still provide a link to the original
shared vocabularies.
Fixes https://gitlab.gnome.org/GNOME/tracker/-/issues/162 and https://gitlab.gnome.org/GNOME/tracker/-/issues/104
|
|
|
|
|
|
| |
Fixes this kind of error at configure time:
ln: failed to create symbolic link '/home/sam/src/tracker-miners/build/subprojects/tracker/src/tracker/subcommands/endpoint': File exists
|
| |
|
|
|
|
| |
It is changing to Tracker3 version.
|