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

Last commit made on 2024-02-26
Get this branch:
git clone -b tracker-3.6 https://git.launchpad.net/~vcs-imports/tracker/+git/tracker

Branch merges

Branch information

Name:
tracker-3.6
Repository:
lp:~vcs-imports/tracker/+git/tracker

Recent commits

3e93d0f... by Carlos Garnacho

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

3735358... by Carlos Garnacho

libtracker-sparql: Move FTS initialization to an earlier stage

With SQLite >= 3.44.x, the check_integrity pragma may involve existing
virtual tables and their xIntegrity vmethod. This includes FTS5 tables,
so we need to set up the FTS5 tokenizer at an earlier stage, so that
possible integrity checks happening on startup have everything set up.

Closes: https://gitlab.gnome.org/GNOME/tracker/-/issues/418

26c69a8... by Carlos Garnacho

libtracker-sparql: Decouple FTS initialization from ontologies

Since we just need the FTS properties for fts:offsets being called
at runtime, we can pass the TrackerDataManager (that we know early
in startup) and let it figure out the FTS properties from there
when it's actually needed.

This is just the refactor to make that possible, there's no
functional changes in this commit.

3a00ad4... by Efstathios Iosifidis

Update Greek translation

0884087... by Carlos Garnacho

Merge branch 'wip/data-manager-tests' into 'master'

Extend data manager tests

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

cd3cb0a... by Carlos Garnacho

HACKING: Add mention to database format updates

Mention the requisites in place to add and handle database
format updates.

1aba5a8... by Carlos Garnacho

core: Perform high-level integrity checks differently

Currently this is handled through a TrackerDBManager signal that
gets emitted too soon for the TrackerDataManager to connect any
high-level behavior to it.

Handle this via a getter, so that the data manager can perform its
own checks at the desired place in its own initialization paths.

6e40249... by Carlos Garnacho

core: Refactor code

The two branches checking loading an ontology file after checking
it is brand new or had a changed nrl:lastModified are pretty much
identical. Refactor the code so that it is the same code handling
both situations.

d65ba9d... by Carlos Garnacho

core: Remove dead code

This code path is vestigial code from pre-3.0, at the time the
Graph table was added. All 3.x versions have this table, so there's
no need to handle its non-existence.

0646878... by Carlos Garnacho

tests: Add set of database initialization tests

Test some corner cases here:
- Locale changes triggering FTS/index rebuilds
- Startup after an unclean shutdown
- Updating from various older 3.x database versions