Re: [Tracker] Enable a new ontology - DwC



Le 15/02/2014 21:34, Philip Van Hoof a écrit :
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

$(BIN)/tracker-control -ks # this removes all your data
$(LIBEXEC)/tracker-store -v 3



I think you can also use

tracker-control --set-log-verbosity=debug

and then look at the log files in ~/.local/share/tracker after restarting the store (tracker-control -ks)


Alan Pater schreef op 15/02/2014 1:56:
I need some details on how to see what tracker is doing. I've built
a package with 94-dwc.ontology but as far as I can see it is not
doing anything.

Specifically, what commands should I be running t see what is going
on?



On Wed, Feb 12, 2014 at 3:57 AM, Philip Van Hoof
<philip codeminded be> wrote: Alan Pater schreef op 12/02/2014
2:35:
I am creating an ontology for Darwin Core (DwC) XMP
metadata.

What steps are needed to enable a new ontology in tracker?

- git branch dwc-ontology - git checkout dwc-ontology - Write the
ontology in our Turtle format. Call it 94-dwc.ontology - Ensure
that nao:lastModified is correct in the tracker:Ontology stuff and
that it's at the top of the file right underneath the @prefix
lines.

- Write a 94-dwc.description file - Put it in data/ontologies -
Adapt Makefile.am (add to config_DATA) - make && make install -
Restart tracker-store with -v 3, you should see your ontology being
added and created. - Test thoroughly with tracker-sparql. Noticing
that making changes afterwards is not always possible; depending on
what kind of changes you make you might have to add ontology
change coping infrastructure (which is a horror in complexity). -
git add 94-dwc.description 94-dwc.ontology Makefile.am - git
commit - git format-patch master

Kind regards,

Philip

_______________________________________________ tracker-list
mailing list tracker-list gnome org
https://mail.gnome.org/mailman/listinfo/tracker-list


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.20 (MingW32)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQEcBAEBAgAGBQJS/89hAAoJEEP2NSGEz4aDE7oH/A20GUl64GNRN1tzem52ozeK
Hq3chIPNVLIpvgF7QAEOrWnVfmJ5ciRi7q6G1mUXETbr9PfoaWcVYM0UhjX8rcRE
QaGsv8V8vmg6v3BddbME+T7vM5uj6S9PUbkeDd6lbY1BSW9irCfq2e4O7RX8D9yA
oGFjyB51m+leBrM7Xo2N/lCwKxFZ4mOh2+vMOhMnDadgylAp+1qYOcYVkiB7yShT
unQH+yIkU5qBCQlIRZtxTKp8ckEoESI1vtL8TdNVB7Ka8zJgiZUpPHFYt0VFisGr
s64/8PsF30vCg+mQI7l6GQAwRORYeRPJP3yV/DnpVVNsoarcbgfmVkvUjee+kzc=
=RpKE
-----END PGP SIGNATURE-----
_______________________________________________
tracker-list mailing list
tracker-list gnome org
https://mail.gnome.org/mailman/listinfo/tracker-list




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]