Mercurial > p > roundup > code
changeset 2636:943f9d4592b8
Backwards-compatibility aliases for mysql config.
NFI how we can handle postgresql though, since the old-style configuration
for it was a single dict with the various values.
| author | Richard Jones <richard@users.sourceforge.net> |
|---|---|
| date | Tue, 27 Jul 2004 01:23:50 +0000 |
| parents | 53c820fbfb9f |
| children | 11811b313459 |
| files | roundup/configuration.py |
| diffstat | 1 files changed, 9 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/roundup/configuration.py Tue Jul 27 01:20:12 2004 +0000 +++ b/roundup/configuration.py Tue Jul 27 01:23:50 2004 +0000 @@ -1,6 +1,6 @@ # Roundup Issue Tracker configuration support # -# $Id: configuration.py,v 1.11 2004-07-27 01:18:25 richard Exp $ +# $Id: configuration.py,v 1.12 2004-07-27 01:23:50 richard Exp $ # __docformat__ = "restructuredtext" @@ -446,15 +446,19 @@ )), ("rdbms", ( (Option, 'name', 'roundup', - "Name of the Postgresql or MySQL database to use."), + "Name of the Postgresql or MySQL database to use.", + ['MYSQL_DBNAME']), (NullableOption, 'host', 'localhost' - "Hostname that the Postgresql or MySQL database resides on."), + "Hostname that the Postgresql or MySQL database resides on.", + ['MYSQL_DBHOST']), (NullableOption, 'port', '5432' "Port number that the Postgresql or MySQL database resides on."), (NullableOption, 'user', 'roundup' - "Postgresql or MySQL database user that Roundup should use."), + "Postgresql or MySQL database user that Roundup should use.", + ['MYSQL_DBUSER']), (NullableOption, 'password', 'roundup', - "Password for the Postgresql or MySQL database user."), + "Password for the Postgresql or MySQL database user.", + ['MYSQL_DBPASSWORD']), )), ("logging", ( (FilePathOption, "config", "",
