[Gpe-list] gpesyncd uids
robert at cheramy.net
Tue Mar 16 20:34:51 CET 2010
I'm working on a syncing program for gpe-calendar (todo and contacts
should come next). My aim is to sync (in both ways) gpe-calendar between
my Nokia n810 and my PC.
I plan to use gpesyncd , which is just what I need.
The command uidlist will return a list of pairs (uid,
The trouble is, the uid which is returned is the sqlite primary key
which is not the "universal" UID returned by get .
The internal primary key will never be the same on two devices, so it is
useless for syncing. So I need to modify gpesyncd for my needs, and I
have following options (in order of preference) :
a) modify all commands so it will return the "universal" uid. This may
break other synchronisation scripts (opensync ... but does it work anyway?)
b) add new commands (uidlist2, get2, set2...)
c) add a command line option to switch the behaviour of gpesync between
"sqlite" ID and "uinversal" UID.
What do you think ?
Thanks for your feedback,
2. An example will be easier to understand :
"uidlist vtodo" returns
"get vtodo 121" returns
PRODID:-//GNOME//NONSGML MIME Directory Library 0.4.2//EN
SUMMARY: Code a syncing script
*UID:1248819152.21140 at Nokia-N810-23-14*
More information about the Gpe-list