[Kde-pim] Synchronization support for Akonadi
Patrick Ohly
patrick.ohly at gmx.de
Thu Oct 22 09:54:46 BST 2009
On Thu, 2009-10-22 at 09:54 +0200, Tobias Koenig wrote:
> On Thu, Oct 22, 2009 at 08:51:16AM +0200, Patrick Ohly wrote:
> > I second that. In SyncEvolution, I originally used the change tracking
> > support provided by Evolution Data Server. It didn't quite fit the needs
> > of SyncML, so eventually I replaced it with change tracking based on the
> > REV (vCard) and LAST-MODIFIED (iCalendar) properties.
> The REV and LAST_MODIFIED attributes are fragile, not all applications
> reset them correctly when changing the objects...
In EDS, the backends are responsible for setting these properties, so
this works in that context.
> > If Akonadi has efficient retrieval of ID/modification stamp pairs for
> > all items in a database (and its my understanding that it has), then
> > that's all that is needed for SyncEvolution and plugs nicely into the
> > TrackingSyncSource.
> Yes, Akonadi could provide exact ID/modification stamp pairs for all items
> that are known to the system, indepentenly of their type.
A minor question related to this: is it possible to restore an older
copy of an item with the original modification stamp? It's not
essential, but useful.
This is relevant when synchronizing against different peers. One is
synchronized at time A. The other at time B, which leads to unwanted
changes that are rolled back to a backup made at time A. If this leads
to new modification stamps, then the first peer will be sent updates
although the content of the item hasn't changed. This can lead to fake
conflicts (when the same items were really edited on that peer) or at
least wastes some bandwidth.
SyncEvolution supports this kind of backup/restore. Unless an EDS API
patch is accepted, we can't restore the original modification stamps
there.
--
Bye, Patrick Ohly
--
Patrick.Ohly at gmx.de
http://www.estamos.de/
_______________________________________________
KDE PIM mailing list kde-pim at kde.org
https://mail.kde.org/mailman/listinfo/kde-pim
KDE PIM home page at http://pim.kde.org/
More information about the kde-pim
mailing list