I am not too familiar with how Multisync handles things, but I did try one thing which sort-of did what I wanted. What I did was to force the Palm plugin to always assume every record changed when doing a sync. That seemed to do most of the things I wanted when paired with the Evolution plugin. But, a backup plugin sync of Evolution plugin, I noticed that the modification time of every record was being changed every time I synced the Palm device to Evolution. That didn't seem exactly right to me.

-Sim

Armin Bauer wrote:

On Mon, 2004-05-10 at 22:36, Sim Harbert wrote:


Basically the lastSyncPC is supposed to be some sort of unique ID for each PC that you want to sync with. Then, the sync software can check to see if it is the same as what it expects. If it is different, then a "slow sync" would need to be performed to make sure that all changes are accounted for.




Sounds logical :)




Jpilot handles this, and I looked at the code a tiny bit yesterday. I am not sure how the unique code is generated, since I didn't look at that part of the code, but it has a seemingly random number for that.

The big problem is that trying to figure out what changed on the Palm device gets very tricky when you can't rely on the modification flags for the records. That is easy to see in the Jpilot code, which gets very complicated when the lastSyncPC ID doesn't match and it goes into "slow sync" mode. I am not really sure how to solve it easily.



We already have this part implemented... (It is called "resync" in multisync. So it should be pretty fast to write this. I will take care of this (and some other stuff with the palm plugin) soon (e.g. when i find some time :)



A full solution would probably have to involve making a Palm plugin copy of all the records so that they can be compared to the Palm device ones if needed. Once the changes are determined there, they would be synced to the other Multisync plugin. I guess that is a lot more code...

Or, I suppose I could try to just sync to one system...

Even if the "full sync" mode isn't added to the Multisync plugin, it would probably be a good idea to warn the user that syncing with multiple desktop applications may result in strange behavior.

-Sim





-------------------------------------------------------
This SF.Net email is sponsored by Sleepycat Software
Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver higher performing products faster, at low TCO.
http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3
_______________________________________________
Multisync-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/multisync-users

Reply via email to