http://bugs.meego.com/show_bug.cgi?id=6346
Summary: command line: different --source-property values for
each source (t...@addressbook)
Classification: MeeGo Projects
Product: SyncEvolution
Version: unspecified
Platform: All
Architecture: ---
Status: NEW
Severity: enhancement
Priority: Undecided
Component: SyncEvolution
AssignedTo: [email protected]
ReportedBy: [email protected]
QAContact: [email protected]
CC: [email protected],
[email protected]
Estimated Hours: 0.0
http://syncevolution.org/development/http-server-howto currently lists multiple
different invocations to configure the server:
syncevolution --configure \
--source-property type=file:text/vcard:3.0 \
--source-property uri= \
--source-property evolutionsource=file://${datapath}/addressbook \
${peer} addressbook
syncevolution --configure \
--source-property type=file:text/calendar:2.0 \
--source-property uri= \
--source-property evolutionsource=file://${datapath}/calendar \
${peer} calendar
syncevolution --configure \
--source-property type=file:text/calendar:2.0 \
--source-property uri= \
--source-property evolutionsource=file://${datapath}/todo \
${peer} todo
syncevolution --configure \
--source-property type=file:text/plain:1.0 \
--source-property uri= \
--source-property evolutionsource=file://${datapath}/memo \
${peer} memo
syncevolution --configure \
--source-property type=virtual:text/calendar:2.0 \
--source-property uri= \
--source-property evolutionsource=calendar,todo \
${peer} calendar+todo
This would be much nicer using the following syntax:
syncevolution --configure \
--source-property uri= \
--source-property t...@addressbook=file:text/vcard:3.0 \
--source-property evolutionsou...@addressbook=file://${datapath}/addressbook
\
--source-property t...@calendar=file:text/calendar:2.0 \
--source-property evolutionsou...@calendar=file://${datapath}/calendar \
...
${peer}
Usually caveats apply when implementing this:
- deal with @<source> where <source> contains an = sign
- print errors where @<source> does not match an existing or listed source,
to detect typos
--
Configure bugmail: http://bugs.meego.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
You are watching someone on the CC list of the bug.
_______________________________________________
Syncevolution-issues mailing list
[email protected]
http://lists.syncevolution.org/listinfo/syncevolution-issues