http://bugzilla.moblin.org/show_bug.cgi?id=8049





--- Comment #5 from yongsheng zhu <[email protected]>  2009-11-23 
19:29:55 PST ---

> The current format description is:
> 
>         <doc:doc><doc:description>The array contains report dictionaries. The
> dictionary keys are generated by joining a list of hardcode strings and report
> categories. The separator is the charactor "-". The list of strings is:
> "source", "[source name]", "stat", "[ItemLocation]", "[ItemState]" and
> "[ItemResult]". The dictionary values are directly converted from numbers in
> sync reports. The value will be "0" if there is no data in sync reports.
>         </doc:description></doc:doc>
> 
> I find this description hard to understand. [source name] is obvious, but what
> is [ItemLocation], [ItemState], [ItemResult]? This needs to be specified here.
> How are these values concatenated to form a key? A Backus-Nauer description of
> the key strings would be useful.
Ok, It's not so obvious.
> The last sentence could be misunderstood. It could be read as "the hash will
> contain a value 0 if there is no data in the sync report", which is the
> opposite of the current implementation. I suggest to rephrase as "entries not
> explicitly set otherwise in the hash have the value zero".

Current implementation means "the hash will contain a value 0 if there is no
data in the sync report".
The table I used in the dbus server I think is to cover all possible
combinations according to previous implementation. A entry is set no matter
whether there is no data in the sync report.

I'll refine the description.

-- 
Configure bugmail: http://bugzilla.moblin.org/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

Reply via email to