-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi everyone,
As many might have noticed in the changelog of 1.2.1 release we decided to revert the nrl:maxCardinality change made on 08-28. That's because this ontology change force a reindex and removal of your existing metadata. That's data loss for certain users, so not acceptable for the majority of distributors distributing Tracker. A week or so ago I started with adding support for this kind of ontology changes. Of course can't we ever in a reliable way support nrl:maxCardinality change from multiple to one: we'd lose type information if we'd only support it for CSV-like strings and for any other type we can't store the multiple old values in a single value solution. I don't aim to ever support this. I do aim to support the one to multiple use-case. People interested in this can go look here: https://git.gnome.org/browse/tracker/log/?h=maxcardinality-change-support Right now it will change the ontology's introspection and it'll allow free passage of the change without aborts or critical warnings. What doesn't yet work is in the catacombes of cruelty, angst and untold stories of brain torture, create_decomposed_metadata_tables, to detect that this particular change is taking place this time. And then do the rename of the table, create (without the columns of the old single value), ensure the multi-value table is already created and then finally copy the renamed table's single values to the multi-value table to end with dropping the renamed table. The code is there but it doesn't work. This I will probably debug until it works later this week. I silently hoping that somebody will beat me to it. I fear I will have to do this miserable create_decomposed_metadata_tables stuff one more time. Kind regards, Philip -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.20 (MingW32) iQEcBAEBAgAGBQJUIyp1AAoJEEP2NSGEz4aDRf0H/Ri6P1eNjsf0/IkfKN67QFY2 bHR4rrVthfeJFmraOcKXm5mIuW11w8qjuG0R2IyvCKLKQQl6Zr6Sy0VX/M2Sm+E5 Pv3VDE3sMqLKdRmGqWumRlSkpxF/+OaPIqUXwBWaCRp3CW4mZdqmE5Y9/ujsR07I KADKB96yKgA0L6LjsEEllp7moAyYafk0GjHxbgTY2vTSLjmw3foL0H3PTkWwknoR RAwat0YzYrnG31ZpRB7RIU20hWjUr2+jJnZVa2anSbxbRnNS47uFJoJcGQ1Q3RDD iGxciOJdkNsTIgvkFYdFFydtRDXy2ziEXHB83GOxXD/LVsqI+WwKG8w7bkPXAgQ= =/vpT -----END PGP SIGNATURE----- _______________________________________________ tracker-list mailing list tracker-list@gnome.org https://mail.gnome.org/mailman/listinfo/tracker-list