Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • tracker tracker
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 79
    • Issues 79
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 11
    • Merge requests 11
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • GNOMEGNOME
  • trackertracker
  • Issues
  • #192
Closed
Open
Issue created Mar 10, 2020 by Sam Thursfield@sthursfieldMaintainer

Store should remember the ontology path it was created with

Imagine I do the following:

tracker endpoint --database=/tmp/my-database --ontology-path=/tmp/my-custom-ontology
tracker sparql --database=/tmp/my-database ...

Q. What ontologies will the tracker sparql command use? A. The Nepomuk ontologies.

This is counter intuitive, if I create a store with a custom ontology then I probably want to always use that custom ontology.

This issue is noticable in the CI failures for !198 (merged) and !200 (merged). These tests are creating a database using an uninstalled copy of the Nepomuk ontologies, and then running CLI commands which fail as they try to use ontologies from $prefix which are not present.

I guess we should fix this by storing the ontology path with the database somehow, perhaps a minimal config file would make sense ? The other option would be to add the --ontology-path argument to every single command, which seems less convenient.

Assignee
Assign to
Time tracking