http://bugzilla.meego.com/show_bug.cgi?id=1208

           Summary: syncevo-phone-config, template system: use single-file
                    templates
    Classification: MeeGo Projects
           Product: SyncEvolution
           Version: unspecified
          Platform: Netbook
        OS/Version: IA
            Status: ASSIGNED
          Severity: normal
          Priority: Undecided
         Component: SyncEvolution
        AssignedTo: [email protected]
        ReportedBy: [email protected]
         QAContact: [email protected]
                CC: [email protected],
                    [email protected]
   Estimated Hours: 0.0


The current approach with multiple files per template has drawbacks:
- cannot be pasted into Wiki
- adding a template to the system from the Wiki is lot of work

The 
http://syncevolution.org/wiki/phone-compatibility-template page suggest a shell
script to convert a multi-file template into a simple text, using the format

# comment
# .....
=== <filename 1> ===
# comment 
<key> = <value>
....
=== <filename 2> ===
....

This format has the advantage that === ... === cannot occur inside normal .ini
files (the key/value part).

This is close enough to .ini format that we can still use that file suffix.

We should make this the default output of syncevo-phone-config and also enhance
the template reader code:
- replace the format used by the template reader with the single-file format;
  I suggest "replacing" intentionally to avoid ambiguities whether a file
  contains one more key/value sets.
- also search in a user's ~/.config/syncevolution-templates directory

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

Reply via email to