Changes between Version 5 and Version 6 of BluePrint/UpgradeConfig
- Timestamp:
- 02/14/16 19:39:40 (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
BluePrint/UpgradeConfig
v5 v6 1 = Update = 2 BluePrint for improving how to update Eden. 3 == Config == 1 = Upgrading the Configuration = 2 4 3 Currently merging new config options to existing deployments must be done by hand. This should be possible automatically. 5 4 6 5 '''Requirements''' 7 * Merge current settings with default config into new config6 * Merge current settings with new default config into new config 8 7 * Preserve comments 9 8 10 9 === !ConfigParser === 11 Python's built-in ConfigParser does not support preserving comments.10 Python's built-in !ConfigParser does not support preserving comments. 12 11 13 12 === !ConfigObj === … … 23 22 * Not sure if merge function supports preserving comments 24 23 24 === JSON or XML === 25 26 * Advantage is that these are well-known formats, and both are readable from Python. 27 * For comments, allow a "comment" field. 28 25 29 === Further alternatives === 26 Further alternatives are covered by the [http://wiki.python.org/moin/ConfigParserShootout ConfigParser Shootout] (c rica 2004-2006)30 Further alternatives are covered by the [http://wiki.python.org/moin/ConfigParserShootout ConfigParser Shootout] (circa 2004-2006)