From: Danny B. <dan...@sc...> - 2005-08-19 18:41:34
|
Question on how to proceed with this. I'd like to use SynCE and OpenSync to back up my PDA. Not only the PIM data (the agenda, contacts, tasks), but also some of the file structures in its memory, or on the memory card. What's the best way to do this ? One end is probably the file plugin to opensync, I'm wondering about the other end. Should that be an extension to the 0.01 synce plugin by MirKuZ (i.e. extend it to do not only tasks, agenda, .. but also files); or should it be a separate plugin like MirKuZ's that just deals with files ? Thanks for the advice, Danny --=20 Danny Backx ; danny.backx - at - scarlet.be ; http://danny.backx.info |
From: Armin B. <arm...@de...> - 2005-08-19 19:36:22
Attachments:
signature.asc
|
Danny Backx wrote: > Question on how to proceed with this. > > I'd like to use SynCE and OpenSync to back up my PDA. Not only the PIM > data (the agenda, contacts, tasks), but also some of the file structures > in its memory, or on the memory card. > > What's the best way to do this ? One end is probably the file plugin > to opensync, I'm wondering about the other end. Should that be an > extension to the 0.01 synce plugin by MirKuZ (i.e. extend it to do not > only tasks, agenda, .. but also files); or should it be a separate > plugin like MirKuZ's that just deals with files ? > Hi, the best and easiest approach would be to extend mirkuz plugin to allow the synchronization of files. You just tell opensync that you are able to synchronize files in the get_info function and implement the necessary functions to handle this. The rest will be handled by opensync. Note: you cannot however synchronize files and PIM data in the same sync group, you need 2 groups for this. The reason is that opensync would never know if you wanted to synchronize a vcard it gets from the file-sync plugin to the file storage of the device or to the addressbook. > Thanks for the advice, > > Danny |
From: Danny B. <dan...@sc...> - 2005-08-20 10:31:55
|
Hmm, I don't understand the 2 groups issue fully. Some other plugins (e.g. evolution2) have multiple parts in their configuration, for addresses, calendar entries, and tasks. Are you saying it is not workable to extend MirKuZ's SynCE plugin, with those three but also a fourth entry (one in which we say which directory a computer should synchronize the filesystem of my PDA) ? Or is this because most plugins have address/calendar/tasks triplets and it would make configuration easier if filesystem were separate ? Thanks, Danny On Fri, 2005-08-19 at 21:36 +0200, Armin Bauer wrote: >=20 > Danny Backx wrote: > > Question on how to proceed with this. > >=20 > > I'd like to use SynCE and OpenSync to back up my PDA. Not only the PIM > > data (the agenda, contacts, tasks), but also some of the file structure= s > > in its memory, or on the memory card. > >=20 > > What's the best way to do this ? One end is probably the file plugin > > to opensync, I'm wondering about the other end. Should that be an > > extension to the 0.01 synce plugin by MirKuZ (i.e. extend it to do not > > only tasks, agenda, .. but also files); or should it be a separate > > plugin like MirKuZ's that just deals with files ? > >=20 >=20 > Hi, >=20 > the best and easiest approach would be to extend mirkuz plugin to allow > the synchronization of files. You just tell opensync that you are able > to synchronize files in the get_info function and implement the > necessary functions to handle this. The rest will be handled by opensync. >=20 > Note: you cannot however synchronize files and PIM data in the same sync > group, you need 2 groups for this. The reason is that opensync would > never know if you wanted to synchronize a vcard it gets from the > file-sync plugin to the file storage of the device or to the addressbook. >=20 > > Thanks for the advice, > >=20 > > Danny --=20 Danny Backx ; danny.backx - at - scarlet.be ; http://danny.backx.info |
From: Armin B. <arm...@de...> - 2005-08-20 13:03:10
Attachments:
signature.asc
|
Danny Backx wrote: > Hmm, I don't understand the 2 groups issue fully. > > Some other plugins (e.g. evolution2) have multiple parts in their > configuration, for addresses, calendar entries, and tasks. > > Are you saying it is not workable to extend MirKuZ's SynCE plugin, > with those three but also a fourth entry (one in which we say which > directory a computer should synchronize the filesystem of my PDA) ? no, im saying that you should extend mirkuz plugin to allow synchronization of files. This is by far the most easy and best approach. > > Or is this because most plugins have address/calendar/tasks triplets > and it would make configuration easier if filesystem were separate ? > Imagine the following situation: You have the synce device which can synchronize either contacts (as vcards) or files. The other side is the file-sync plugin. Now lets assume that there is one file in the directory of the file-sync plugin which contains a vcard. Either you want to synchronize this vcard in the file to the addressbook of the device or you want to synchronize the whole file into a directory of the device. Both are equal and there is no way for opensync to decide which synchronization would be correct. Since i could not find a way to solve this dilemma, i decided that it would be best to not allow such a synchronization at all. But you can of course still sync all PIM data (notes, contacts, calendar, tasks, email etc) in a single group. Hope this helps :) > Thanks, > > Danny > > On Fri, 2005-08-19 at 21:36 +0200, Armin Bauer wrote: > >>Danny Backx wrote: >> >>>Question on how to proceed with this. >>> >>>I'd like to use SynCE and OpenSync to back up my PDA. Not only the PIM >>>data (the agenda, contacts, tasks), but also some of the file structures >>>in its memory, or on the memory card. >>> >>>What's the best way to do this ? One end is probably the file plugin >>>to opensync, I'm wondering about the other end. Should that be an >>>extension to the 0.01 synce plugin by MirKuZ (i.e. extend it to do not >>>only tasks, agenda, .. but also files); or should it be a separate >>>plugin like MirKuZ's that just deals with files ? >>> >> >>Hi, >> >>the best and easiest approach would be to extend mirkuz plugin to allow >>the synchronization of files. You just tell opensync that you are able >>to synchronize files in the get_info function and implement the >>necessary functions to handle this. The rest will be handled by opensync. >> >>Note: you cannot however synchronize files and PIM data in the same sync >>group, you need 2 groups for this. The reason is that opensync would >>never know if you wanted to synchronize a vcard it gets from the >>file-sync plugin to the file storage of the device or to the addressbook. >> >> >>>Thanks for the advice, >>> >>> Danny |