[Tracker] nfo:hasMediaStream max cardinality change



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Martyn,

You have to be more careful about ontology changes:

https://git.gnome.org/browse/tracker/commit/?id=6b2dff6e18bd9a9d4238557b2dce2565fea49491

Maxcardinality changes are not supported by our ontology change coping
mechanism:

https://wiki.gnome.org/Projects/Tracker/Documentation/SupportedOntologyChanges

This works when the journal is used from 1 to N, but it doesn't work
when you disable the journal.

We could implement 1 to N with a disabled journal, but right now this
isn't implemented yet in that case.

With enabled journal it will work because we just replay the journal
over the new situation. One element will or can be seen and that just
works in a cardinality N case, of course (and that's why it works).

I think you should mention this nfo:hasMediaStream cardinality change
in the release notes and I think you should increment the major
version numbering when making API changes like this (or implement the
cardinality upgrading from 1 to N in the disabled-journal case).

Kind regards,

Philip
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.20 (MingW32)

iQEcBAEBAgAGBQJT5IyCAAoJEEP2NSGEz4aD8n0H/R04Mm2rwZ9myRmIGWdOkxei
ONeSKxXAHrSepNYLvZ78yiVWqxnePeaozx5EYSvlcS17fqNJRM1clX2xVNnJzKdB
ES3rBlFqLpw3PplC+VMMQDpn9A1SM2DyCUECZ1dZhm4zJ4/YgPvBj7GYm6RsL2fZ
SRve0wZ16RC3Tpo0uwlLKZZqy14w2aOOyOaVPq8Zh/YwrVLviXEV5UgFu2MJ5J2R
QQM8l0MtMymkx2GLJtFvTAkbjwuur99BhnHnh+GaIr/MTMGqehLjCJb80KU16Eqp
HY6bgwFm4ghxPnnq3kRcH2lAeJ+d1XUmj+73eDs+PQtPDvDE+avHfssYnzAfbeU=
=48ol
-----END PGP SIGNATURE-----


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