lp:~vcs-imports/tracker/+git/tracker

Owned by VCS imports
Get this repository:
git clone https://git.launchpad.net/~vcs-imports/tracker/+git/tracker

Import details

Import Status: Reviewed

This repository is an import of the Git repository at https://gitlab.gnome.org/GNOME/tracker.git.

The next import is scheduled to run .

Last successful import was .

Import started on juju-98ee42-prod-launchpad-codeimport-0 and finished taking 50 seconds — see the log
Import started on juju-98ee42-prod-launchpad-codeimport-5 and finished taking 30 seconds — see the log
Import started on juju-98ee42-prod-launchpad-codeimport-4 and finished taking 30 seconds — see the log
Import started on juju-98ee42-prod-launchpad-codeimport-1 and finished taking 25 seconds — see the log
Import started on juju-98ee42-prod-launchpad-codeimport-1 and finished taking 40 seconds — see the log
Import started on juju-98ee42-prod-launchpad-codeimport-5 and finished taking 30 seconds — see the log
Import started on juju-98ee42-prod-launchpad-codeimport-4 and finished taking 40 seconds — see the log
Import started on juju-98ee42-prod-launchpad-codeimport-0 and finished taking 30 seconds — see the log
Import started on juju-98ee42-prod-launchpad-codeimport-1 and finished taking 40 seconds — see the log
Import started on juju-98ee42-prod-launchpad-codeimport-5 and finished taking 1 minute — see the log

Branches

Name Last Modified Last Commit
master 2024-05-12 13:08:47 UTC
Add Hindi translation

Author: Scrambled 777
Author Date: 2024-05-12 13:08:47 UTC

Add Hindi translation

tracker-3.7 2024-05-04 22:28:34 UTC
Update Portuguese translation

Author: Hugo Carvalho
Author Date: 2024-05-04 22:28:34 UTC

Update Portuguese translation

sam/http-example 2024-03-14 12:12:45 UTC
examples: HTTP example

Author: Sam Thursfield
Author Date: 2024-02-02 16:31:53 UTC

examples: HTTP example

sam/cors-header 2024-03-12 21:20:23 UTC
http: Set CORS header

Author: Sam Thursfield
Author Date: 2024-02-02 15:10:04 UTC

http: Set CORS header

This allows one webpage to query from an endpoint running on a
different host or port.

This is an unauthenticated endpoint for development use only
so we do not make any attempts to secure it.

tracker-3.5 2024-03-10 16:34:02 UTC
Update Italian translation

Author: Gianvito Cavasoli
Author Date: 2024-03-10 16:34:02 UTC

Update Italian translation

tracker-3.6 2024-02-26 16:44:46 UTC
Merge branch 'wip/mschraal/backport-418-fix-3.6' into 'tracker-3.6'

Author: Carlos Garnacho
Author Date: 2024-02-26 16:44:46 UTC

Merge branch 'wip/mschraal/backport-418-fix-3.6' into 'tracker-3.6'

backport of 2 fixes for #418

See merge request https://gitlab.gnome.org/GNOME/tracker/-/merge_requests/652

wip/revert-strftime 2024-02-24 02:46:30 UTC
Revert "core: Use direct strftime() on SparqlPrintValue"

Author: Jeremy BĂ­cha
Author Date: 2024-02-24 02:39:34 UTC

Revert "core: Use direct strftime() on SparqlPrintValue"

This reverts commit c2006110204f9798c96b5238b1325970aa7239b8.

Fixes: #398

wip/carlosg/sparql-shell 2024-02-12 08:04:30 UTC
cli: Add "shell" subcommand

Author: Carlos Garnacho
Author Date: 2021-08-12 13:30:16 UTC

cli: Add "shell" subcommand

As the command says, this creates a "shell" connecting to a given
SPARQL endpoint (by default, in-memory DB), so that multiple queries
can be executed on it.

This shell is rather basic, allowing to either quit (via Ctrl-Q or
3 Ctrl-C presses), or execute the given SPARQL query (via Ctrl-X).
When displaying a cursor content, output is redirected to a pager
(by default "less") for display purposes, returning back to the
SPARQL shell after quitting. It also has some rudimentary history
support, allowing the use of PgUp and PgDown to navigate through the
prior command list. This list only holds up for the running session
though and is not saved in disk.

The editor handles multiline and text that is larger than the
available screen size, and handles the minimal set of keys that
is expected for navigation.

When dealing with errors, the full error message is displayed, and
the editor cursor is moved to the location of the syntax error
(if any, and available).

There's some possible areas of improvement:
- Handling of unicode
- Allowing updates as well as queries

But these may improve in the future, this feels already functional
and helpful.

fix_419 2023-12-06 08:40:14 UTC
db-interface-sqlite: Don't leak a regex on each strip_punctuation call

Author: =?utf-8?q?Luk=C3=A1=C5=A1_Tyrychtr?=
Author Date: 2023-12-06 08:40:14 UTC

db-interface-sqlite: Don't leak a regex on each strip_punctuation call

The regex is created on each call, but not destroyed, so it leaks.

Fixes #419

wip/carlosg/test 2023-07-04 11:42:58 UTC
test

Author: Carlos Garnacho
Author Date: 2023-07-04 11:31:51 UTC

test

tracker-2.3 2023-02-08 16:45:23 UTC
Merge branch 'ricotz/vala' into tracker-2.3

Author: Sam Thursfield
Author Date: 2023-02-08 16:45:23 UTC

Merge branch 'ricotz/vala' into tracker-2.3

https://gitlab.gnome.org/GNOME/tracker/-/merge_requests/573

ricotz/vala 2023-02-05 20:17:09 UTC
libtracker-data: Add missing cheader attributes of delegate symbols in vapi

Author: Rico Tzschichholz
Author Date: 2023-02-05 20:17:09 UTC

libtracker-data: Add missing cheader attributes of delegate symbols in vapi

sam/meson-0.60 2023-02-04 16:17:07 UTC
build: Meson >= 0.60 is required

Author: Sam Thursfield
Author Date: 2022-12-06 18:12:25 UTC

build: Meson >= 0.60 is required

Earlier versions fail as follows:

    ../src/libtracker-miner/meson.build:46:0: ERROR: Invalid use of addition: can only concatenate list (not "DependencyHolder") to list

tracker-3.4 2023-01-20 15:06:25 UTC
Add Belarusian translation

Author: Vasil Pupkin
Author Date: 2023-01-20 15:06:25 UTC

Add Belarusian translation

tracker-3.3 2023-01-06 11:01:49 UTC
Add Abkhazian translation

Author: Nart Tlisha
Author Date: 2023-01-06 11:01:49 UTC

Add Abkhazian translation

wip/carlosg/remote-module-extension 2022-03-20 22:56:53 UTC
libtracker-sparql: Use G_MODULE_SUFFIX on remote module loading

Author: Carlos Garnacho
Author Date: 2022-03-20 22:46:58 UTC

libtracker-sparql: Use G_MODULE_SUFFIX on remote module loading

Other platforms use different suffixes for these dynamically loaded
modules. We should use G_MODULE_SUFFIX to handle the suffixes for
the platforms supported by GLib.

Fixes: https://gitlab.gnome.org/GNOME/tracker/-/issues/357

tracker-3.2 2022-02-04 10:53:22 UTC
Merge branch 'wip/carlosg/ensure-notifier-order' into tracker-3.2

Author: Sam Thursfield
Author Date: 2022-02-04 10:53:22 UTC

Merge branch 'wip/carlosg/ensure-notifier-order' into tracker-3.2

Backport of https://gitlab.gnome.org/GNOME/tracker/-/merge_requests/482

wip/carlosg/ontlogy-tests-no-skip 2021-08-08 11:27:41 UTC
tests: Mark some ontology-changes functional test tests as expected failure

Author: Carlos Garnacho
Author Date: 2021-08-08 11:22:26 UTC

tests: Mark some ontology-changes functional test tests as expected failure

These test for ontology changes that are currently documented as not supported,
we might perhaps do something about them in the future, but expecting failure
in those tests is more useful than simply skipping them.

wip/sam/test-sqlite 2021-07-19 11:30:51 UTC
ci: Add sqlite-compatibility job

Author: Sam Thursfield
Author Date: 2021-07-19 11:30:40 UTC

ci: Add sqlite-compatibility job

sam/ci-docs 2021-06-28 08:46:42 UTC
ci: Build documentation when testing

Author: Sam Thursfield
Author Date: 2021-05-26 15:39:05 UTC

ci: Build documentation when testing

Fixes https://gitlab.gnome.org/GNOME/tracker/-/issues/310

We avoid building the docs on Alpine Linux as that doesn't work,
probably due to missing dependencies. See an example in:
https://gitlab.gnome.org/GNOME/tracker/-/jobs/1322163

wip/sthursfield/debian10-hacks 2021-06-16 12:03:59 UTC
HACK: Disable test that requires GLib 2.62

Author: Sam Thursfield
Author Date: 2021-06-16 12:03:59 UTC

HACK: Disable test that requires GLib 2.62

Enables building on Debian 10.

tracker-3.1 2021-06-15 18:55:11 UTC
Update Slovak translation

Author: Dusan Kazik
Author Date: 2021-06-15 18:55:11 UTC

Update Slovak translation

wip/carlosg/gi-docgen 2021-06-07 00:38:11 UTC
WIP: depend on gi-docgen branch

Author: Carlos Garnacho
Author Date: 2021-06-06 23:44:32 UTC

WIP: depend on gi-docgen branch

Used for multiple --content-dir arguments

wip/carlosg/ci-playground2 2021-05-21 13:31:19 UTC
squash!

Author: Carlos Garnacho
Author Date: 2021-05-21 10:24:53 UTC

squash!

sam/website-docs 2021-05-14 18:41:43 UTC
website: Update docs page

Author: Sam Thursfield
Author Date: 2021-05-14 18:41:43 UTC

website: Update docs page

Remove Tracker 2.x info.

wip/rishi/tracker-sparql-connection-peer-to-peer 2021-04-06 21:47:51 UTC
libtracker-sparql: Accept NULL D-Bus names for peer-to-peer connections

Author: Debarshi Ray
Author Date: 2021-03-31 22:28:10 UTC

libtracker-sparql: Accept NULL D-Bus names for peer-to-peer connections

If a GDBusConnection is not a message bus connection, then allow
specifying a NULL D-Bus name (well-known or unique). This will be
useful for child worker processes of an application to connect to the
main process over peer-to-peer D-Bus and talk to a TrackerEndpoint
exported by it.

https://gitlab.gnome.org/GNOME/tracker/-/merge_requests/390

tracker-3.0 2021-04-02 21:24:49 UTC
Release 3.0.4

Author: Carlos Garnacho
Author Date: 2021-04-02 21:12:48 UTC

Release 3.0.4

sam/website-link 2020-11-24 16:33:04 UTC
website: Fix broken link from faq -> overview

Author: Sam Thursfield
Author Date: 2020-11-24 16:33:04 UTC

website: Fix broken link from faq -> overview

sam/show-debug 2020-11-24 16:25:47 UTC
build: Show debug and optimisation flags in summary

Author: Sam Thursfield
Author Date: 2020-11-24 16:02:17 UTC

build: Show debug and optimisation flags in summary

These can be confusing as Meson provides `--buildtype=`, `-Ddebug=`
and `-Doptimization=` which can override each other.

sam/web-overview 2020-10-02 17:11:39 UTC
website/overview: Add some more projects that use Tracker

Author: Sam Thursfield
Author Date: 2020-10-02 17:11:39 UTC

website/overview: Add some more projects that use Tracker

sam/common-file-utils 2020-09-21 15:55:41 UTC
Move file-utils from libtracker-common into libtracker-data

Author: Sam Thursfield
Author Date: 2020-09-21 15:35:06 UTC

Move file-utils from libtracker-common into libtracker-data

We only use these in one place, so we can move them there.

This should fix https://gitlab.gnome.org/GNOME/tracker-miners/-/issues/140
in which the file-utils symbols conflict with those defined in
libtracker-miners-common.

The unit tests are gone, I'm not sure how to avoid that since we need
to avoid exporting these functions.

sam/index-file-sync 2020-07-07 23:04:02 UTC
Remove --wait-for argument of tracker-sandbox

Author: Sam Thursfield
Author Date: 2020-03-22 19:51:26 UTC

Remove --wait-for argument of tracker-sandbox

This was a workaround for https://gitlab.gnome.org/GNOME/tracker/issues/122
which is no longer needed once
https://gitlab.gnome.org/GNOME/tracker-miners/-/merge_requests/168 is
merged.

oscp 2020-06-29 19:24:08 UTC
Link to nrl: documentation

Author: Sam Thursfield
Author Date: 2020-06-29 19:23:53 UTC

Link to nrl: documentation

This is more important since
https://gitlab.gnome.org/GNOME/tracker/-/merge_requests/274

sam/circular-dep-fix 2020-06-24 18:46:34 UTC
libtracker-sparql: Build libtracker-bus before libtracker-sparql

Author: Sam Thursfield
Author Date: 2020-06-24 18:46:34 UTC

libtracker-sparql: Build libtracker-bus before libtracker-sparql

We have a dependency cycle otherwise which can cause build failures
when tracker-notifier.c is built before the tracker-bus.h header is
generated by `valac`.

sam/share-sandboxes 2020-05-23 11:34:08 UTC
trackertestutils: Add a way to run multiple commands in one sandbox

Author: Sam Thursfield
Author Date: 2020-05-23 11:34:08 UTC

trackertestutils: Add a way to run multiple commands in one sandbox

The new `--dbus-session-bus` argument can be used to run a command
inside an existing sandbox. This is useful when developing and
debugging.

sam/README 2020-04-20 17:42:54 UTC
Update README for 3.0

Author: Sam Thursfield
Author Date: 2020-04-20 17:41:54 UTC

Update README for 3.0

tracker-1.4 2020-04-18 08:49:36 UTC
Update Chinese (China) translation

Author: wsxy162
Author Date: 2020-04-18 08:49:36 UTC

Update Chinese (China) translation

tracker-1.12 2020-04-18 08:48:44 UTC
Update Chinese (China) translation

Author: wsxy162
Author Date: 2020-04-18 08:48:44 UTC

Update Chinese (China) translation

abderrahim/build-fix 2020-04-07 16:24:25 UTC
tracker-store: fix build with vala master

Author: Abderrahim Kitouni
Author Date: 2020-04-07 16:24:25 UTC

tracker-store: fix build with vala master

sam/wiki-to-website 2020-04-05 18:55:08 UTC
website: Include manpages

Author: Sam Thursfield
Author Date: 2020-04-05 11:19:50 UTC

website: Include manpages

The man pages are converted to XHTML using asciidoc and docbook,
then postprocessed in Python using BeautifulSoup to include them
in the mkdocs website output.

sam/coverity-fix 2020-04-01 21:55:20 UTC
libtracker-data: Remove double error check

Author: Sam Thursfield
Author Date: 2020-04-01 21:55:20 UTC

libtracker-data: Remove double error check

Fixes Coverity CID 1492037

This was introduced 10 years ago in commit c8032aea6e and nobody noticed
until now!

sam/test-utils 2020-03-23 01:51:31 UTC
trackertestutils: Add some utils needed in tracker-miner tests

Author: Sam Thursfield
Author Date: 2020-03-21 17:16:47 UTC

trackertestutils: Add some utils needed in tracker-miner tests

sam/info-fix 2020-02-25 00:04:33 UTC
cli: Fix breakage in `tracker info`

Author: Sam Thursfield
Author Date: 2020-02-24 21:47:25 UTC

cli: Fix breakage in `tracker info`

We call tracker_sparql_get_prefixes() from `tracker info`. The
function tries to use the CLI args from tracker-sparql.c which are
uninitialized in this case, leading to spurious "Specify one --database,
--dbus-service or --remote-service option" errors.

sam/tracker-3.0-functional-tests 2020-02-17 21:01:14 UTC
Update TRACKER_PARSER_VERSION

Author: Sam Thursfield
Author Date: 2020-02-08 18:30:05 UTC

Update TRACKER_PARSER_VERSION

I'm unable to push this branch otherwise:

    remote: Parser changes found without bump to TRACKER_PARSER_VERSION, not pushing
    remote: Revision(s) affected:
    remote: c733dc33c5766b67a87222219056466cb5ea9a74
    remote: error: hook declined to update refs/heads/sam/tracker-3.0-functional-tests
    To ssh://gitlab.gnome.org/GNOME/tracker
     ! [remote rejected] HEAD -> sam/tracker-3.0-functional-tests (hook declined)

sam/slow-tests 2020-01-28 00:56:00 UTC
WIP: delete Ubuntu and Alpine

Author: Sam Thursfield
Author Date: 2020-01-28 00:56:00 UTC

WIP: delete Ubuntu and Alpine

Ubuntu fails to package Valgrind somehow, and alpine suffers
a test failure under valgrind due to a float rounding issue.

sam/remove-libuuid 2019-12-04 20:05:53 UTC
Update Meson requirement to 0.50.0

Author: Sam Thursfield
Author Date: 2019-12-04 19:57:57 UTC

Update Meson requirement to 0.50.0

Meson 0.50.0 was released on 10th March 2019. We should
now be able to depend on it.

In particular, Freedesktop SDK now contains 0.51.0[1] so
this shouldn't break gnome-build-meta like last time (13948fda052e).

Fixes the following warnings:

    WARNING: Project specifies a minimum meson_version '>=0.47' but uses features which were added in newer versions:
     * 0.49.0: {'/ with string arguments'}
     * 0.50.0: {'install arg in configure_file'}

1. https://gitlab.com/freedesktop-sdk/freedesktop-sdk/blob/master/elements%2Fcomponents%2Fmeson.bst

sam/comment 2019-11-27 13:55:24 UTC
libtracker-miner: Add a comment

Author: Sam Thursfield
Author Date: 2019-11-27 11:09:21 UTC

libtracker-miner: Add a comment

Every time I look at this code I have forgotten how it works, so let's
document it.

sam/tracker-2.3-developer-experience 2019-10-02 20:12:11 UTC
Add TRACKER_MINER_SERVICES_DIR environment variable

Author: Sam Thursfield
Author Date: 2019-09-29 15:23:49 UTC

Add TRACKER_MINER_SERVICES_DIR environment variable

This is needed to make certain Tracker commands work when running
Tracker from the build tree, without installing it (as we do for
the functional-tests and with the new run-uninstalled script).

Without it, `tracker daemon status` and `tracker index` will look
for .service files in $prefix/share/tracker/miners which may fail.

sam/run-uninstalled-fixes 2019-09-29 15:29:44 UTC
Add TRACKER_MINER_SERVICES_DIR environment variable

Author: Sam Thursfield
Author Date: 2019-09-29 15:23:49 UTC

Add TRACKER_MINER_SERVICES_DIR environment variable

This is needed to make certain Tracker commands work when running
Tracker from the build tree, without installing it (as we do for
the functional-tests and with the new run-uninstalled script).

Without it, `tracker daemon status` and `tracker index` will look
for .service files in $prefix/share/tracker/miners which may fail.

trackerutils-arch-independent 2019-09-17 12:49:55 UTC
meson: Add option to define whether to install and where test utils

Author: Marco Trevisan (Treviño)
Author Date: 2019-09-17 12:22:44 UTC

meson: Add option to define whether to install and where test utils

Since commit 8ae99192 we provide tracker test utils python modules.
These are installed by default in tracker internal libdir, and as per meson
default this is an arch-dependent path, while the test utils aren't.

So in some distributions, not to provide such files in multiple packages for
each architecture, we'd need to install those files somewhere else that is not
arch-dependent.

Unfortunately meson doesn't provide such path by default (which ideally would be
/usr/lib/tracker-${abi-version}), and I think isn't correct either to install
such files into the datadir, so in order to make this path customizable and at
the same time to make it possible to locate, provide a meson option and build a
pkg config file for it, providing the python path variable that should be used.

sam/README-updates 2019-09-15 19:39:29 UTC
README.md: Fix example query of miner data

Author: Sam Thursfield
Author Date: 2019-09-15 19:39:29 UTC

README.md: Fix example query of miner data

Since the SPARQL 1.1 branch landed, we need to specify the graph that
we want to query from.

This makes the query longer and uglier, which is something we will
need to improve.

tintou/doc-update 2019-09-03 10:18:46 UTC
libtracker-sparql: Replace the SPARQL building example with a new example

Author: Corentin Noël
Author Date: 2019-09-03 10:18:46 UTC

libtracker-sparql: Replace the SPARQL building example with a new example

sam/tracker-resource-avoid-invalid-sparql 2019-08-26 12:58:48 UTC
libtracker-sparql: Warn when serializing a resource with 0 properties

Author: Sam Thursfield
Author Date: 2019-08-26 12:58:48 UTC

libtracker-sparql: Warn when serializing a resource with 0 properties

We can't describe an RDF resource without knowing at least one property
about it. If we have 0 properties, it is due to a programmer error or
a bug. We now warn in this case, where previously we would just generate
invalid SPARQL and trigger an error further down the line.

tracker-2.2 2019-08-07 10:54:34 UTC
Fixup mistake in a46c3eec522fc2790c58c5ff479bb5b9c3b66074

Author: Sam Thursfield
Author Date: 2019-08-07 10:54:03 UTC

Fixup mistake in a46c3eec522fc2790c58c5ff479bb5b9c3b66074

sam/ci-sanitize 2019-05-04 17:19:05 UTC
Enable AddressSanitizer and UndefinedBehaviourSanitizer in CI

Author: Sam Thursfield
Author Date: 2018-07-08 12:59:56 UTC

Enable AddressSanitizer and UndefinedBehaviourSanitizer in CI

wip/carlosg/downgrade-meson-version 2019-05-01 12:32:26 UTC
Revert "build: Require Meson >= 0.50"

Author: Carlos Garnacho
Author Date: 2019-05-01 12:14:01 UTC

Revert "build: Require Meson >= 0.50"

This reverts commit 17777040c63b7bc8586fa77bfa1219c0d96a9dd9.

This version is still too new for gnome-build-meta and flatpaks,
let's try to do without it.

tracker-2.1 2019-04-30 22:20:58 UTC
ci: Use CI image which contains Python 2

Author: Sam Thursfield
Author Date: 2019-04-30 22:20:58 UTC

ci: Use CI image which contains Python 2

Tracker's 'master' branch no longer requires Python 2, so we will
remove it from the CI images.

There is a 'legacy-python2' tag which older branches can use. This
branch is now using that tag.

See: https://gitlab.gnome.org/GNOME/tracker-oci-images/merge_requests/2

sam/uncrustify 2019-04-19 12:49:09 UTC
Update parser version after style changes

Author: Sam Thursfield
Author Date: 2019-04-19 12:48:29 UTC

Update parser version after style changes

This shouldn't be necessary since we haven't made any changes in
functionality, but our commit hook requires this change.

wip/tintou/fix-doc 2019-03-27 12:57:02 UTC
docs: Update the documentation to latest tracker version

Author: Corentin Noël
Author Date: 2019-03-26 14:42:49 UTC

docs: Update the documentation to latest tracker version

wip/carlosg/trigger-filter-parent-on-monitor-events 2019-03-02 23:52:13 UTC
libtracker-miner: Drop TrackerMonitor API to get/set the indexing tree

Author: Carlos Garnacho
Author Date: 2019-03-02 23:52:13 UTC

libtracker-miner: Drop TrackerMonitor API to get/set the indexing tree

This is unused now.

wip/carlosg/double-precision 2019-03-02 19:52:02 UTC
tests: Add test for double precision in deletes

Author: Carlos Garnacho
Author Date: 2019-03-02 17:14:48 UTC

tests: Add test for double precision in deletes

https://bugzilla.gnome.org/show_bug.cgi?id=659600

wip/mschraal/meson-log-domain 2019-02-17 21:55:50 UTC
build: Set tracker as the log domain

Author: Marinus Schraal
Author Date: 2018-11-15 00:05:24 UTC

build: Set tracker as the log domain

An oversight of the meson port.

wip/jfelder/audio-writeback 2019-02-12 13:58:11 UTC
ontology: Set tracker:writeback on more audio specific properties

Author: Saiful B. Khan
Author Date: 2019-02-12 13:56:53 UTC

ontology: Set tracker:writeback on more audio specific properties

This is to support writeback for some of the more common tags
applicable to music files. The new writeback module that uses
gstreamer for setting tags allows these additional fields apart
from the existing writeable ones.

https://bugzilla.gnome.org/show_bug.cgi?id=792200

hashtable-ordering-2.1 2019-02-11 15:43:56 UTC
libtracker-data: Don't rely on hash table iteration order being stable

Author: Iain Lane
Author Date: 2019-02-11 15:42:14 UTC

libtracker-data: Don't rely on hash table iteration order being stable

This is the same problem that was fixed by
c58f7aa419e2c3a69fa7fe583a1fd5e0b9bd0839 on master. Instead of relying
on hash table iteration being stable, pass the GVariantBuilder down and
add directly to it in the right order.

wip/carlosg/unrestricted-predicates 2019-02-05 23:15:39 UTC
libtracker-data: Add quotes around string literal

Author: Carlos Garnacho
Author Date: 2019-02-01 15:09:02 UTC

libtracker-data: Add quotes around string literal

If the query is not cacheable, we were adding string literals unquoted.
Oops.

wip/carlosg/property-paths 2018-12-26 12:21:38 UTC
tests: Add a bunch of property path tests

Author: Carlos Garnacho
Author Date: 2018-12-25 19:35:46 UTC

tests: Add a bunch of property path tests

Alternative, recursive, optional paths are tested, and combinations
of those.

wip/mschraal/python3-port 2018-12-02 14:36:40 UTC
generators: Port to Python 3

Author: Marinus Schraal
Author Date: 2018-12-02 14:32:24 UTC

generators: Port to Python 3

wip/carlosg/fix-tracker-search 2018-11-17 15:28:53 UTC
tests: Add test for coalesce behavior with URNs

Author: Carlos Garnacho
Author Date: 2018-11-17 14:57:40 UTC

tests: Add test for coalesce behavior with URNs

wip/carlosg/issue-56 2018-11-13 22:33:01 UTC
libtracker-data: Also set up blank node map on InsertData

Author: Carlos Garnacho
Author Date: 2018-11-13 22:26:04 UTC

libtracker-data: Also set up blank node map on InsertData

The blank node map must be set up there, both for the URN storage
aspect and the GVariant generation one.

Closes: https://gitlab.gnome.org/GNOME/tracker/issues/56

wip/carlosg/automatic-store-shutdown 2018-11-13 11:17:51 UTC
tracker-store: Automatically shutdown on inactivity

Author: Carlos Garnacho
Author Date: 2018-11-11 12:18:38 UTC

tracker-store: Automatically shutdown on inactivity

If the right conditions apply, tracker-store will shut down
after 30s of inactivity (no clients doing updates/selects).
Bringing it back again is relatively cheap, so let's see how
this flies.

For the cases it won't, tracker-store has a --disable-shutdown
switch (also useful for testing from terminal), also running on
other buses than the session one will disable it, since both
shutting down and later restart pose questions and risks.

In theory, this will make tracker-store disappear 99% of the
time, since database updates are sparse. There's also the
possibility of clients running with TRACKER_SPARQL_BACKEND=bus
or resorting to bus connection (eg. flatpak apps), that will
make selects go through tracker-store.

wip/carlosg/sparql-parser-ng 2018-11-13 10:17:31 UTC
libtracker-sparql: Silence -Wformat-security warning

Author: Carlos Garnacho
Author Date: 2018-11-13 02:35:01 UTC

libtracker-sparql: Silence -Wformat-security warning

Since we no longer pass the string directly, we must also avoid the
escaping of the strftime format modifiers. Those aren't any longer at
risk of being mistaken for printf ones.

wip/carlosg/issue-40 2018-11-08 12:44:24 UTC
libtracker-data: Drop FTS table/view before ontology updates

Author: Carlos Garnacho
Author Date: 2018-11-08 11:40:36 UTC

libtracker-data: Drop FTS table/view before ontology updates

Sqlite >= 3.25.0 got stricter 'alter table ... rename ...' behavior
where the renaming affects all references to the table across the
database. This is at odds with our fts_view view on schema updates
due to ontology changes, as we first migrate (rename current table,
create new one, insert previous content, drop old table) all resource
tables before doing the FTS table/view updates. This causes rename
failures due to the fts_view referencing the renamed and dropped
tables.

Change the ontology update code so we delete the FTS table/view
before changing resource tables in case of FTS updates. This makes
the behavior correct both before and after the Sqlite change.

https://gitlab.gnome.org/GNOME/tracker/issues/40

wip/ernestask/43 2018-10-06 16:48:30 UTC
libtracker-sparql: Check for null pointers in finalize()

Author: Display Name
Author Date: 2018-10-06 16:48:30 UTC

libtracker-sparql: Check for null pointers in finalize()

tracker_notifier_finalize() may accidentally stumble upon a null pointer
or two, throwing warnings and making Nautilus CI pipelines fail.

Related: https://gitlab.gnome.org/GNOME/tracker/issues/43

wip/jtojnar/2.1-dist-fix 2018-10-01 00:28:10 UTC
build: Include map files in dist tarball

Author: Jan Tojnar
Author Date: 2018-09-29 02:52:33 UTC

build: Include map files in dist tarball

Fixes 2.1.5 build with Meson

wip/ricotz/type-args 2018-09-20 13:52:29 UTC
libtracker-sparql: Fix type-arguments issue in *intermediate-c.vapi

Author: Rico Tzschichholz
Author Date: 2018-09-20 13:52:29 UTC

libtracker-sparql: Fix type-arguments issue in *intermediate-c.vapi

wip/carlosg/meson-system-dirs 2018-09-10 18:59:11 UTC
build: override prefix on all system install locations

Author: Carlos Garnacho
Author Date: 2018-09-06 10:05:31 UTC

build: override prefix on all system install locations

Following https://www.bassi.io/articles/2018/03/15/pkg-config-and-paths/,
this includes dbus service, bash completion, gir and typelib paths.

Unfortunately, the path for systemd user units cannot be overriden, so
use a path made from our libdir path.

This allows for trouble free builds by just defining prefix. If installing
onto system paths was desirable on some setups, it might return through a
-Duse_system_paths boolean build option that disables the overrides, but
this is a preferrable default.

wip/carlosg/drop-autotools 2018-09-09 18:52:11 UTC
build: Drop autotools

Author: Carlos Garnacho
Author Date: 2018-09-03 11:00:12 UTC

build: Drop autotools

wip/carlosg/meson-fixes 2018-09-04 22:52:39 UTC
libtracker-control: Add linker script

Author: Carlos Garnacho
Author Date: 2018-09-04 22:14:23 UTC

libtracker-control: Add linker script

So we only export the desired symbols

34-build-failure-with-werror-format-security 2018-09-03 01:48:56 UTC
libtracker-data: Fix build with format-security flag

Author: Tim Lunn
Author Date: 2018-09-03 01:25:05 UTC

libtracker-data: Fix build with format-security flag

Closes:https://gitlab.gnome.org/GNOME/tracker/issues/34

wip/carlosg/insert-delete-triggers 2018-08-29 22:43:14 UTC
libtracker-data: Avoid refcount leaks on ontology updates

Author: Carlos Garnacho
Author Date: 2018-08-27 19:35:58 UTC

libtracker-data: Avoid refcount leaks on ontology updates

Make sure we add the new triggers after the "rename table, create
replacement one, dump data" dance we do on ontology changes. This will
avoid leaks as the last step there would increase refcount for all
involved resources.

There is only one situation where this does not work: Ontology changes
that remove properties with rdfs:Resource range will result in those
resources being leaked. This breaks differently but in similar ways for
single-valued and multivalued properties, in the first we fail to delete
elements from the old table, in the second we fail to delete the table
altogether.

This barely ever happens, so a FIXME has been added, we should cross this
bridge before doing any such modification in the ontology.

wip/carlosg/legalese-cardinality 2018-08-28 08:46:46 UTC
ontologies: Drop cardinality from legalese properties

Author: Carlos Garnacho
Author Date: 2018-08-28 08:42:57 UTC

ontologies: Drop cardinality from legalese properties

nie:copyright and nie:license were single valued and subproperties of the
common single valued properties nie:legal and dc:rights. Drop cardinality
restrictions on all of those, so we can have multiple values for each.

This happens to be in line with the last ever version of NIE ontology.

Closes: https://gitlab.gnome.org/GNOME/tracker/issues/33

sam/namespace-c++ 2018-08-11 22:08:25 UTC
libtracker-sparql: Don't use 'namespace' as a parameter name

Author: Sam Thursfield
Author Date: 2018-08-11 22:07:11 UTC

libtracker-sparql: Don't use 'namespace' as a parameter name

This header was unusable from C++ code as 'namespace' is a reserved
keyword there.

Based on a patch by Santtu Lakkala from
https://bugzilla.gnome.org/show_bug.cgi?id=791510

wip/lantw/dont-hard-code-usr-bin-python2 2018-08-10 14:24:40 UTC
utils: Don't hard-code the path to python

Author: lantw44
Author Date: 2018-08-10 14:23:14 UTC

utils: Don't hard-code the path to python

It causes tracker to fail to build on FreeBSD because python is usually
installed in a different prefix, such as /usr/local, on FreeBSD.

wip/carlosg/resource-deletes 2018-08-03 10:12:26 UTC
libtracker-sparql: delete TrackerResource elements one by one

Author: Carlos Garnacho
Author Date: 2018-08-03 00:32:09 UTC

libtracker-sparql: delete TrackerResource elements one by one

Creating a single query for all values to delete can only work if
all values have a match. As soon as a value is already missing,
the query would just bail out as there's no real match.

We want to delete every value individually regardless of other
properties, so decompose the single delete into multiple individual
deletes.

Fixes "Unable to insert multiple values for subject..." warnings
as the insertion queries would rely on single-valued properties being
cleared beforehand.

https://gitlab.gnome.org/GNOME/tracker/issues/28

Closes: #28

wip/carlosg/fix-bijiben-flatpak 2018-07-26 09:32:45 UTC
libtracker-sparql-backend: Catch all errors on direct connection

Author: Carlos Garnacho
Author Date: 2018-07-26 09:28:48 UTC

libtracker-sparql-backend: Catch all errors on direct connection

We just used to catch Tracker.Error, so all other errors would
end up propagated upwards.

wip/carlosg/direct-rewrite 2018-07-21 15:31:09 UTC
tests: Adapt TrackerFileNotifier tests to internal behavioral change

Author: Carlos Garnacho
Author Date: 2018-07-21 15:26:24 UTC

tests: Adapt TrackerFileNotifier tests to internal behavioral change

Before commit 68381c1dd, ensure_parents() would stop before the indexing
root in the assumption that it was already notified upon, that commit made
it so those folders are ensured to be notified too.

This internal behavioral change is normally evened out by TrackerMinerFS,
but shows at the tests for the internal TrackerFileNotifier object as
there is nothing there to set the IRI for those files.

wip/sam/carlosg/direct-rewrite 2018-07-16 19:36:20 UTC
Update meson build system for libtracker-direct changes

Author: Sam Thursfield
Author Date: 2018-07-16 19:36:20 UTC

Update meson build system for libtracker-direct changes

sam/ci 2018-07-02 17:12:23 UTC
Enable GitLab CI

Author: Sam Thursfield
Author Date: 2018-06-17 16:22:07 UTC

Enable GitLab CI

This tests that Tracker can be built from source using Autotools and
Meson, and that all of the unit tests run successfully.

There are various improvements that could be made:

  * Pre-create a Docker image with the build dependencies installed, so
    that we don't wait for `dnf` on every build.
  * Fix the functional tests and enable them for every build.
  * Fix the unit tests to not depend on Tracker being installed in the
    host
  * Remove the Autotools build system altogether and use Meson for
    everything \o/

sam/app-domains 2018-06-30 14:03:47 UTC
Allow passing a full path to a domain rule

Author: Sam Thursfield
Author Date: 2018-04-20 20:12:11 UTC

Allow passing a full path to a domain rule

This extends the TrackerDomainOntology class to handle domain rules
which are not installed into Tracker's configured prefix. The domain
name is now interpreted as a full path if the first character is `/`.

Some code was using the input domain rule to determine the name of the
domain. This breaks when the input domain rule is a full path. The
domain rule contains the domain name, so this isn't a problem but in
order to make things work I had to change the behaviour of
tracker_domain_ontology_get_domain() as previously it would append
".Tracker1" onto whatever the domain rule told us the name of the
domain was. Now it does not do that, so it can be used to get the
name of the domain itself as well as the names that the Tracker daemons
running inside that domain should use.

The motivation for this change is that it allows unprivileged users to
make use of the domain ontologies feature. Previously it could only be
used by those who had permissions to install the .rule file into /usr.

Some extra work is still needed to make the feature easy to use for
unpriviliged users, as there also need to be D-Bus service files
created for the domain. This can be done as an unpriviliged user by
starting a separate D-Bus instance and looks for .service files in
a different place, but it's not ideal to require that effort.

wip/rishi/non-native 2018-01-29 22:36:28 UTC
libtracker-miner: foo

Author: Debarshi Ray
Author Date: 2018-01-20 18:17:34 UTC

libtracker-miner: foo

wip/carlosg/libtracker-miner-cleanups 2017-10-25 18:12:27 UTC
libtracker-miner: Rename function to be more obvious

Author: Carlos Garnacho
Author Date: 2017-10-25 18:12:27 UTC

libtracker-miner: Rename function to be more obvious

We don't add a "file", but a whole RootData that may be recursively
crawled. Also, make the crawl_directories_start() from this function,
since that's the next thing to do in every calling place.

tracker-1.10 2017-10-02 14:12:03 UTC
libtracker-extract: Fix insertion of white balance value

Author: Debarshi Ray
Author Date: 2017-09-21 10:27:54 UTC

libtracker-extract: Fix insertion of white balance value

https://bugzilla.gnome.org/show_bug.cgi?id=787774

wip/carlosg/resource-leak-fix 2017-08-05 19:52:00 UTC
libtracker-data: Perform trimming of unused resource URNs on shutdown

Author: Carlos Garnacho
Author Date: 2017-07-05 09:05:33 UTC

libtracker-data: Perform trimming of unused resource URNs on shutdown

On shutdown it will now delete all elements in the Resource table that
are not contained too in the Graph table (thus are graph URNs) and have
a refcounting of 0 (meaning that they are not used in any class/property
table).

As the migration to refcounted Resource table doesn't result in graph
URNs being added to the Graph table, database cleanup won't be performed
until the Graph table has been populated (presumably by miners indexing
anything)

wip/carlosg/domain-ontologies 2017-06-29 18:49:07 UTC
libtracker-common: Add a last resort envvar to load default domain ontology

Author: Carlos Garnacho
Author Date: 2017-06-29 15:17:01 UTC

libtracker-common: Add a last resort envvar to load default domain ontology

This can only be used if the default domain ontology file is not found, and
is now used on tests that do rely on the default tracker-store instance.

Also, add back the TRACKER_DB_ONTOLOGIES_DIR, under the same restrictions.

sam/introspection-fix 2017-06-23 18:59:09 UTC
Fix missing introspection data for libtracker-sparql (when using Meson)

Author: Sam Thursfield
Author Date: 2017-06-23 15:25:05 UTC

Fix missing introspection data for libtracker-sparql (when using Meson)

Up til now only the Tracker.SparqlConnection and Tracker.SparqlBuilder
resources were introspectable. This is because we only used the
introspection output from `valac`, but other bits of libtracker-sparql
have since been added that are written in C.

There seems to be no way to generate a single .gir for a combined C and
Vala codebase, so instead I have written a simple `g-ir-merge` script
which can combine two different namespaces into a single .gir.

This is currently tested and working with the Meson build instructions.
It would be possible to implement this for the Autotools build
instructions as well.

https://bugzilla.gnome.org/show_bug.cgi?id=782091

meson-final 2017-05-21 21:30:30 UTC
Meson build instructions for Tracker

Author: Sam Thursfield
Author Date: 2016-03-27 13:31:41 UTC

Meson build instructions for Tracker

See <http://mesonbuild.com/> for information about Meson.

Remaining issues:

  * There's no `make dist` equivalent. We currently produce release
    tarballs containing the output files of the Vala compiler. We need
    to think through whether we can stop doing that. Shipping the
    generated .c files does make the Vala preprocessor useless so
    it would be good if we can stop.

  * The Firefox, Thunderbird, Evolution and Nautilus plugins are not
    built

  * https://github.com/mesonbuild/meson/issues/671 -- means we can't
    depend on tracker_common_dep in most places and have to manually
    set link_with, include_directories and sources instead.

  * https://github.com/mesonbuild/meson/issues/1469 -- without this we
    have to install generated Vala headers using a script

  * https://github.com/mesonbuild/meson/issues/1229 -- means adding
    the #include guard to libtracker-sparql/tracker-generated-no-checks.h
    is a pain

Here's a rough speed comparison.

Meson:
        time sh -c 'meson .. --prefix=/opt/tracker-meson -D bash_completion=/opt/tracker-meson/share/bash-completion -Dsystemd_user_services=/opt/tracker-meson/lib/systemd/user -Ddbus_services=/opt/tracker-meson/share/dbus-1/services && ninja-build -j 4 && ninja-build install'

        real 1m8.194s
        user 2m16.962s
        sys 0m20.532s

Autotools:
        time sh -c './configure --prefix=/opt/tracker-autotools --with-bash-completion-dir=/opt/tracker-autotools/share/bash-completion --with-session-bus-services-dir=/opt/tracker-autotools/share/dbus-1/services --disable-nautilus-extension && make -j 4 && make install'

        real 2m37.750s
        user 4m37.214s
        sys 0m54.806s

        Plus 30+ seconds of ./autogen.sh first.

Note that Meson builds may fail if your source tree has generated files
from an Autotools build in there. If you see errors about duplicate
definitions, first try cleaning your source tree (use `git clean -dfx`,
but make sure you commit any work first!!)

domain-ontologies 2017-01-30 22:55:26 UTC
Domain-ontologies: allow more flexibility on locations. Example:

Author: Philip Van Hoof
Author Date: 2017-01-30 22:55:26 UTC

Domain-ontologies: allow more flexibility on locations. Example:

/opt/tracker/share# cat tracker/domain-ontologies/test.rule

[DomainOntology]
DataLocation=%HOME%/.cache/test/data
CacheLocation=%HOME%/.cache/test/cache
OntologyLocation=%SHAREDIR%/tracker/ontologies
Domain=test
DBusPath=/test
OntologyName=test

tracker-1.8 2017-01-19 12:10:57 UTC
libtracker-common: Whitelist waitid/waitpid/wait4

Author: Carlos Garnacho
Author Date: 2017-01-19 12:07:40 UTC

libtracker-common: Whitelist waitid/waitpid/wait4

https://bugzilla.gnome.org/show_bug.cgi?id=776117

wip/split/rss 2016-10-28 10:56:14 UTC
po: Remove files from POTFILES.in

Author: Carlos Garnacho
Author Date: 2016-10-28 00:19:56 UTC

po: Remove files from POTFILES.in

wip/split/miner-fs 2016-10-28 10:52:30 UTC
po: Update POTFILES.in

Author: Carlos Garnacho
Author Date: 2016-10-27 23:46:40 UTC

po: Update POTFILES.in

A lot of files went into other repos.

1100 of 145 results
This repository contains Public information 
Everyone can see this information.

Subscribers