Hi,

I have few questions as well,

On Fri, Apr 4, 2014 at 2:22 PM, Patrick Ohly <[email protected]> wrote

syncevolution --configure \
              printChanges=0 \
              loglevel=3 \
              syncURL=none \
target-config@google Remember that the command line is doing sanity checks when creating new
configs to catch typos, so we have to confirm explicitly that this new
config is meant to be created without a syncURL.

Now we need to enable access to the main-google-addressbook. It would be inactive otherwise. This is useful when configuring a peer in a context which has many different sources defined, but you only want the peer to
have access to a certain subset of them. Any "sync" value other than
"none" is okay here.

syncevolution --configure \
              sync=two-way \
              target-config@google main-google-addressbook

Can this be done with a single command line?

syncevolution --configure \
             printChanges=0 \
             loglevel=3 \
             syncURL=none \
             target-config@google main-google-addressbook

I omitted "sync=tow-way" parameter because it can be defined when we pair the sources....or can it?


The next step is to set up the actual connection between @default and
@google. We want to choose sources explicitly, so disable all sources
which might be defined in the @default context:

syncevolution --configure \
              syncURL=local://@google \
              peerIsClient=1 \
              sync=none \
              google@default

Then pair the sources. We are doing that for only one pair of sources
here, but it could also be done for more.

syncevolution --configure \
              sync=two-way \
              uri=main-google-addressbook \
              google@default my-vcard-source



So basically in first configuration, "sync=none" disables all sources in the @default (including my-vcard-source) & in 2nd configuration, it, again, enables nothing but "my-vcard-source" (via sync=two-way) & pairs it with main-google-addressbook. This is kind of a roundabout way to me. And why do we have to do everything with @default context? What if I configure without it:

1. syncevolution --configure \
             syncURL=local://@google \
             peerIsClient=1 \
             google my-vcard-source

2. syncevolution --configure \
             sync=two-way \
             uri=main-google-addressbook \
             google my-vcard-source

3. syncevolution google my-vcard-source

Here, as any other sources are not defined, they will simply remain inactive during the sync. Aren't they?


And now sync:

syncevolution --sync slow google@default
syncevolution google@default

Lets say I also have a second source enabled in the @default context: my-vcard-source2

So this command: "syncevolution google@default my-vcard-source2" will only sync my-vcard-source2. Right?

Thanks.
_______________________________________________
SyncEvolution mailing list
[email protected]
https://lists.syncevolution.org/mailman/listinfo/syncevolution

Reply via email to