wiki:BluePrint/UpgradeConfig

Version 5 (modified by synotna, 10 years ago) ( diff )

--

Update

BluePrint for improving how to update Eden.

Config

Currently merging new config options to existing deployments must be done by hand. This should be possible automatically.

Requirements

  • Merge current settings with default config into new config
  • Preserve comments

ConfigParser

Python's built-in ConfigParser does not support preserving comments.

ConfigObj

ConfigObj documentation ConfigObj on PyPI

  • INI style config files, example
  • Used by bazaar, chandler, matplotlib, ipython, elisa

Config

Config documentation

  • Not sure if merge function supports preserving comments

Further alternatives

Further alternatives are covered by the ConfigParser Shootout (crica 2004-2006)

Note: See TracWiki for help on using the wiki.