osync_engine_mapping_ignore_conflict and osync_bool osync_engine_mapping_use_latest

View: New views
2 Messages — Rating Filter:   Alert me  

osync_engine_mapping_ignore_conflict and osync_bool osync_engine_mapping_use_latest

by Henrik /KaarPoSoft-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Dear all,

It seems that osync_engine_mapping_ignore_conflict and osync_bool
osync_engine_mapping_use_latest can only be used if the plugin works in
a certain way.

See also http://opensync.org/ticket/1185

Can anybody explain what a plugin has to do in order to support those
two conflict solutions?

Thanks in advance,
Henrik

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Opensync-devel mailing list
Opensync-devel@...
https://lists.sourceforge.net/lists/listinfo/opensync-devel

Re: osync_engine_mapping_ignore_conflict and osync_bool osync_engine_mapping_use_latest

by Daniel Gollub-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Tuesday 03 November 2009 01:18:24 pm Henrik /KaarPoSoft wrote:
> See also http://opensync.org/ticket/1185
>
> Can anybody explain what a plugin has to do in order to support those
> two conflict solutions?
>

I replied in the ticket-system.

Quick Summary:

To support conflict handler "ignore": plugins need to implement the plugin
sink function: "read" (!= get_changes)

To support conflict handler use_latest .. the format plugins need to implement
the "revision" function.

Best Regards,
Daniel

--
Daniel Gollub                        Geschaeftsfuehrer: Ralph Dehner
FOSS Developer                       Unternehmenssitz:  Vohburg
B1 Systems GmbH                      Amtsgericht:       Ingolstadt
Mobil: +49-(0)-160 47 73 970         Handelsregister:   HRB 3537
EMail: gollub@...          http://www.b1-systems.de

Adresse: B1 Systems GmbH, Osterfeldstraße 7, 85088 Vohburg
http://pgpkeys.pca.dfn.de/pks/lookup?op=get&search=0xED14B95C2F8CA78D


------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Opensync-devel mailing list
Opensync-devel@...
https://lists.sourceforge.net/lists/listinfo/opensync-devel

signature.asc (204 bytes) Download Attachment