From: Graham C. <g+o...@co...> - 2013-08-27 21:32:43
|
On 26/08/13 18:38, Mark Ellis wrote: > For example, create a group to sync evolution and file. Evolution > commonly uses @ in it's uid scheme. Sync this group, anything that > comes from evo to file has @ replaced with _ in the resulting > filename. This has changed the uid, since file-sync stores the uid > in the filename. Run another sync, anything that had @ replaced > with _ gets sent as a deletion and an addition. Mark, I haven't touched the code of OpenSync for 5 years so I am sure your analysis is right. I thought I remembered that there was a table to map UIDs between plugins but I am probably just confused! If we need a reversible mapping then let's just agree on the reserved_chars_allowed list to provide to g_uri_escape_string so that special characters don't get turned into hex codes unnecessarily. I suggest using " #$&(),?!@'". They are all characters that appear fairly often in subject lines of meetings or in names (both of which often get used in file names for file-sync). Graham |