This site has been retired. For up to date information, see handbook.gnome.org or gitlab.gnome.org.


[Home] [TitleIndex] [WordIndex

1. Supported ontology changes

The ontology is a predefined schema for data, that is well-defined and shared between applications. It can be considered an API, and as such we try to keep it as stable as possible.

But it happens that the ontologies can have a bug or an addition has to be made. Tracker "compiles" the ontology into a relational database, and modifying the schema is non-trivial and not always possible.

Here you can find a list of the possible ontology changes and the support status in Tracker's implementation.

The possible status are:

The possible Automated test status are:

Change

Status

Comments

Automated test

--disable-journal

Add new class

Done

YES

YES

Add new property

Done

YES

YES

Add new .ontology file

Done

But not supported for apps

YES

Add a tracker:domainIndex

Done

YES

YES

Remove a tracker:domainIndex

Done

YES

YES

Remove a class

Done

Still on DB unless journal replay is forced

YES

YES

Remove a property

Done

Still on DB unless journal replay is forced

YES

YES

Remove .ontology file

?

Superclass: add/remove superclass of a class

Done

YES (EF removing the subClassOf relation)

NO

Superclass: change superclass of a class

?

NO

Superclass: add 2nd superclass of a class

?

NO

Change superproperty of a property

?

NO

Change property's range int/double to string

Done

YES (card. 1)

YES

Change property's range string to int/double

Done

YES (card. 1)

YES

Change property's range date to string

Done

YES (card. 1)

YES

Change property's range string to date

Done

YES (card. 1)

NO

Change property's range any to resource

?

Change property's resource to any

?

Change property's domain to superclass

Done

Move a property to a superclass

YES (promotion/relegation with 1 and n cardinality)

NO

Change tracker:fullTextIndex in a property

?

YES

Change tracker:notify in a property

Done

YES

YES

Change tracker:writeback in a property

Done

YES

Change tracker:indexed in a property

Done

YES

YES

Change nrl:maxCardinality in a property

Done

YES but only from 1 to N)

YES but only from 1 to N


2024-10-23 10:59