[maemo-developers] ANNOUNCE: eds-sync released as open-source

From: Patrick Ohly Patrick.Ohly at gmx.de
Date: Mon Jul 9 22:33:03 EEST 2007
On Tue, 2007-06-05 at 10:45 +0100, Ross Burton wrote:
> On Mon, 2007-06-04 at 21:30 +0200, Patrick Ohly wrote:
> > I suppose that only happens if eds-sync is installed and configured?
> > That's not the case on my device, so I would still have to check for
> > TODELETE and execute that?
> 
> eds-sync is installed and configured on every standard 770 and N800.
> However if you don't create any IM accounts then you won't need to take
> any special actions.

Further discussion offline revealed that what should have happened
without IM accounts configured is that contacts get deleted directly.
However, in my experience the address book in OS2006 does not behave
like that, it always just marks contacts as deleted. Because eds-sync is
not active in my case, the contacts are never really deleted.

As a workaround I have added code to SyncEvolution which deletes such
contacts before syncing.

> > If SyncEvolution was started to synchronize and the device goes online
> > for that, isn't there a race condition between eds-sync doing its magic
> > and SyncEvolution accessing the address book?
> 
> Yes.

This race condition needs to be avoided manually by going online and
giving eds-sync enough time to complete its own synchronization before
running SyncEvolution.

-- 
Bye, Patrick Ohly
--  
Patrick.Ohly at gmx.de
http://www.estamos.de/

More information about the maemo-developers mailing list