On Thu, 2014-04-10 at 06:59 +0000, Emiliano Heyns wrote:
> On 10/04/2014 01:20:27, "Graham Cobb" <[email protected]> 
> wrote:
> 
> >I think a diagram (or even a UML description) would help. In the
> >absence of a diagram, let me see if I have grasped this...
> >
> >Imagine a context (call it @Ctx) which contains three sources (S1, S2,
> >S3)
> Why would these not be named S1@Ctx, in keeping with how you name the 
> peers/sync configs? S1 can't exist separate from its hosting context, 
> and it can't live in more than one.

You are right, in all of these boxes the context is relevant. I guess it
was left out because it was already said that all of these are in that
context.

> >and two sync configs representing peers (P1@Ctx, P2@Ctx). Then
> >there are a a bunch of objects as in this matrix:
> In which, just to see if I understand this correctly, P1@Ctx describes 
> how peer P1 can access S1/2/3.

The full line for P1@Ctx describes how P1 syncs: the Xmn boxes describe
how it access the respective source (basically the "sync" mode) and the
last column has the sync properties for the peer.

> >    | S1 | S2 | S3 |
> >---+----+----+----+----
> >P1 | X11| X12| X13|P1 sync config properties
> >---+----+----+----+----
> >P2 | X21| X22| X23|P2 sync config properties
> >---+----+----+----+----
> >    |S1 |S2 |S3 |
> >    |shrd|shrd|shrd|
> >    |prop|prop|prop|
> >
> If this is correct, this is an enormously helpful visualization. If you 
> would be able to add the target-config to it, that would make the 
> picture complete for me.

>From the perspective of the configuration system, "target-config" is
just another sync config and thus another line in the diagram. Nothing
stops you from setting a "sync" property in one of the Xmn boxes. But
these values are not used and therefore don't make sense there. Perhaps
this can be visualized like this:

                | S1 | S2 | S3 |
----------------+----+----+----+-----------------------------
             P1 | X11| X12| X13|P1 sync config properties
----------------+----+----+----+-----------------------------
             P2 | X21| X22| X23|P2 sync config properties
----------------+----+----+----+-----------------------------
"target-config" |    |    |    |target sync config properties
----------------+----+----+----+-----------------------------
                |S1  |S2  |S3  |
                |shrd|shrd|shrd|
                |prop|prop|prop|

-- 
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.



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

Reply via email to