Quoting "Jason R. Mastaler" <[EMAIL PROTECTED]>: > Stephen Warren <[EMAIL PROTECTED]> wrote on tmda-users: > > ... > > I'm only using TMDA-1.1 on a test user at present, so I have 1.0 and > > That way, I can have: > > > > /etc/tmdarc-1.1 > > /etc/tmdarc (for 1.0 - still used for 1.1 if above not present) > > Hmm. This seems like overkill to me. There are ways to handle > multiple versions with one config file. For example, in config: > > from TMDA.Version import TMDA as tmda_version > if tmda_version > '1.1': > # your 1.1.x-only vars here > > Most users are only going to be running one or the other anyway. > > Another option might be to add a '-g' command-line option to > tmda-filter similar to '-c' that overrides the standard location of > the global config file in /etc/tmdarc.
I thought about another command-line option to specify GLOBAL_TMDARC. However, I figured that the sysadmin might not want users to be able to do this. At present, users can over-ride anything they want in their own TMDARC, but one could envision a future where GLOBAL_TMDARC can include some settings that the sysadmin doesn't want to be over-ridden (and also a new config directive to tell TMDA to enforce this - like Apache's AllowOverride). With a -g option in tmda-filter, one could bypass this. P.S. Suffering from lack of thought/sleep when I sent the original to the wrong list! -- Stephen Warren, Software Engineer, Parama Networks, San Jose, CA [EMAIL PROTECTED] http://www.wwwdotorg.org/ _________________________________________________ tmda-workers mailing list ([EMAIL PROTECTED]) http://tmda.net/lists/listinfo/tmda-workers
