From: Fred L. D. Jr. <fd...@ac...> - 2003-07-09 22:12:40
|
I've attached a sample config file for syncmail; it's really a strawman, though I don't expect it to be terribly controversial. This relates to my feature request issue #768243: http://sourceforge.net/tracker/?func=detail&aid=768243&group_id=47611&atid=450019 The file is a simple .ini file. There are two kinds of sections: a global section, and branch sections. Command line options override the global section. For changes to the trunk, only the global section is relevant. For changes on a branch, as many as three sections may be relevant: 1. a section for the specific branch, with a section header of the form [branch branch-name] 2. a section for any branch, with a section header of the form [branch] 3. the global section By default, a config file named CVSROOT/syncmail.conf will be used, if present. A --config/-C command line option can be used to specify a different file, or --no-config can be used to disable use of the config file. This will allow different CVS modules to be configured in appropriate ways. I don't know just when I'll implement this, but it probably won't be too far off. I welcome suggestions. -Fred -- Fred L. Drake, Jr. <fdrake at acm.org> PythonLabs at Zope Corporation |