wiki:BluePrint/UpgradeConfig

Version 4 (modified by synotna, 13 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
Note: See TracWiki for help on using the wiki.