|
From: Luiz A. D. de L. <lui...@gm...> - 2011-07-13 01:11:57
|
Hello Chris, Thanks for your answer. I forgot to say that this once worked in 0.39. Maybe this is a regression. Could you confirm the problem in your build tree? I use two simple vcard like this (with different names): BEGIN:VCARD EMAIL:te...@te... FN:teste N:teste;;;; UID:AQwmWWYIkq VERSION:2.1 END:VCARD and osynctool --addgroup testme2 osynctool --addmember testme2 file-sync file1 osynctool --addmember testme2 file-sync file2 osynctool --configure testme2 1 osynctool --configure testme2 2 The first I use path that contains my vcard and the second one points to a empty dir. If I force the objtype to be "contact" in my plain format, it works. I'm not sure but I don't see a reason why and objtype need to change and why it relies on the target format objtype instead of the change objtype. In osync_format_env_convert, it could save the objtype of the input data and apply to the converted one. Thanks, --- Luiz Angelo Daros de Luca, Me. lui...@gm... 2011/7/12 Chris Frey <cd...@fo...>: > On Tue, Jul 12, 2011 at 05:35:37PM -0400, Chris Frey wrote: >> This format is used by the vformat plugin, in order to register >> detector converters. These detectors look inside plain data to >> determine if it contains valid vformat data, such as vevents, etc. > > It looks like you (Luiz) are using the file sync plugin as a simplest > case test case. > > I wonder if it is possible to disable all this detector / converter > stuff, so that plain data remains plain data forevermore. :-) > > It seems that it could be a shocking development, if a person tries > to sync, and somehow a binary blob that he is syncing, and that he > assumes will never change (perhaps he sha1sums his file data), > suddenly changes simply because it had vformat data, and went through > the wash/rinse cycle of the xmlformat plugin. > > Daniel: Is is possible for the user to disable converter detectors? > Is there any drawback to this that I'm not seeing? > > Thanks! > - Chris > > > ------------------------------------------------------------------------------ > AppSumo Presents a FREE Video for the SourceForge Community by Eric > Ries, the creator of the Lean Startup Methodology on "Lean Startup > Secrets Revealed." This video shows you how to validate your ideas, > optimize your ideas and identify your business strategy. > http://p.sf.net/sfu/appsumosfdev2dev > _______________________________________________ > Opensync-devel mailing list > Ope...@li... > https://lists.sourceforge.net/lists/listinfo/opensync-devel > |