Issue94

Title dump defaults
Priority feature Status unread
Superseder Nosy List Gurnis, leif
Assigned To leif Topics Pyre

Created on 2007-03-22.21:42:13 by leif, last changed 2007-03-22.21:42:13 by leif.

Messages
msg301 (view) Author: leif Date: 2007-03-22.21:42:13
A while back, Gurnis requested that CitcomS defaults should be listed in one
file. The idea emerged that any Pyre app should be able to dump its defaults (to
a .cfg file, for example).

Back in July of 2006, I wrote an experimental implementation of this called
collectDefaults():

r4020

I don't know if it still works, but there's no reason it couldn't.

Finally, while working on Opal/Django recently, it occurred to me that the
"defaults dumper" could insert the documentation strings from meta['tip'] into
the .cfg file dump as comments.

PyLith-0.8 could really benefit from this.  The package currently has .cfg files
(formerly .keyval files) -- with documentation comments -- sprinkled throughout
the 'examples' directories.  These files are mostly just copies of one another.
 It occurred to me before that they should be generated from a single template;
now I'm thinking that they be generated by the framework.
History
Date User Action Args
2007-03-22 21:42:13leifcreate