Ticket #700 (closed enhancement: fixed)
Abort sync when resolving conflicts
| Reported by: | kaarposoft | Owned by: | dgollub |
|---|---|---|---|
| Priority: | normal | Milestone: | OpenSync 0.40 |
| Component: | OpenSync | Version: | 0.37 |
| Severity: | normal | Keywords: | |
| Cc: |
Description
Implement osync_engine_abort() to abort sync when mapping conflicts.
I am developing a new plugin for OpenSync?: http://kaarposoft.dk/bluezync/
When doing a slow sync, the GUI presents the user with a list of all conflicts. For each conflict, the user can select what to do, and the plugin calls one of: osync_engine_mapping_solve, osync_engine_mapping_duplicate, osync_engine_mapping_ignore_conflict, or osync_engine_mapping_use_latest as appropriate.
However, presented with a large amount of conflicts, the user may also select "CANCEL ALL". This means, that the user wants to cancel the synchronization altogether. How do I communicate this fact to OpenSync? ??
I cannot just ignore each conflict in turn, because that would update the non-conflicting entries, and set the anchor for fast-sync next time.
osync_engine_abort() should do the job I guess. But it didn't get yet implemented - could you create a ticket for that and assign it to me and the OpenSync? component?
