On Mon, 2011-07-25 at 12:19 +0200, Patrick Ohly wrote:
On Sa, 2011-07-23 at 10:13 +0200, Robert Schetterer wrote:
> Hi, is there a chance to use syncevolution
> as a bridge between a syncml server and a caldav/carddav server and vice
> versa
> i.e horde or funambol server syncml and DAViCal etc
In theory, yes. In practice it hasn't been tried and there are likely to
be few obstacles which may require some coding to resolve. Are you
looking at this as a user or a programmer?
A setup as client of a SyncML server could use the CalDAV/CardDAV
backends for its sources. Problem:
1. Only one set of credentials can be stored in the sync config.
SyncML and CalDAV/CardDAV server must share the same
username/password for this to work.
2. The CalDAV/CardDAV backends might not read these credentials
correctly. Currently they expect them in
"target-config@<context>" and I don't know whether the code
would pick them up from "funambol@default".
3. The "database" property of the CalDAV/CardDAV sources must be
set to the full URL of the collection. There's no support in
SyncEvolution for reporting valid URLs.
Points 1 and 2 might be solved by introducing a new feature: if the
current config name is "foo@bar", then the CalDAV/CardDAV sources could
retrieve their sync properties (syncURL, credentials) from
"target-config@bar" instead. Then credentials can be different for
SyncML and CalDAV/CardDAV.
I solved this (
https://bugs.meego.com/show_bug.cgi?id=23764) in the
upcoming 1.3 release by checking database/databaseUser/databasePassword
in the CalDAV/CardDAV backends.
Robert, if you want, then I can make binaries available. See also my
email to Jane ("Need to sync twice when using Ubuntu development
release").
--
Best Regards, Patrick Ohly
The content of this message is my personal opinion only and although
I am an employee of Intel, the statements I make here in no way
represent Intel's position on the issue, nor am I authorized to speak
on behalf of Intel on this matter.