Mercurial > p > roundup > code
comparison roundup/configuration.py @ 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 | f47ca4541770 |
| children | 11811b313459 |
comparison
equal
deleted
inserted
replaced
| 2635:53c820fbfb9f | 2636:943f9d4592b8 |
|---|---|
| 1 # Roundup Issue Tracker configuration support | 1 # Roundup Issue Tracker configuration support |
| 2 # | 2 # |
| 3 # $Id: configuration.py,v 1.11 2004-07-27 01:18:25 richard Exp $ | 3 # $Id: configuration.py,v 1.12 2004-07-27 01:23:50 richard Exp $ |
| 4 # | 4 # |
| 5 __docformat__ = "restructuredtext" | 5 __docformat__ = "restructuredtext" |
| 6 | 6 |
| 7 import imp | 7 import imp |
| 8 import os | 8 import os |
| 444 (MailAddressOption, "email", "issue_tracker", | 444 (MailAddressOption, "email", "issue_tracker", |
| 445 "Email address that mail to roundup should go to."), | 445 "Email address that mail to roundup should go to."), |
| 446 )), | 446 )), |
| 447 ("rdbms", ( | 447 ("rdbms", ( |
| 448 (Option, 'name', 'roundup', | 448 (Option, 'name', 'roundup', |
| 449 "Name of the Postgresql or MySQL database to use."), | 449 "Name of the Postgresql or MySQL database to use.", |
| 450 ['MYSQL_DBNAME']), | |
| 450 (NullableOption, 'host', 'localhost' | 451 (NullableOption, 'host', 'localhost' |
| 451 "Hostname that the Postgresql or MySQL database resides on."), | 452 "Hostname that the Postgresql or MySQL database resides on.", |
| 453 ['MYSQL_DBHOST']), | |
| 452 (NullableOption, 'port', '5432' | 454 (NullableOption, 'port', '5432' |
| 453 "Port number that the Postgresql or MySQL database resides on."), | 455 "Port number that the Postgresql or MySQL database resides on."), |
| 454 (NullableOption, 'user', 'roundup' | 456 (NullableOption, 'user', 'roundup' |
| 455 "Postgresql or MySQL database user that Roundup should use."), | 457 "Postgresql or MySQL database user that Roundup should use.", |
| 458 ['MYSQL_DBUSER']), | |
| 456 (NullableOption, 'password', 'roundup', | 459 (NullableOption, 'password', 'roundup', |
| 457 "Password for the Postgresql or MySQL database user."), | 460 "Password for the Postgresql or MySQL database user.", |
| 461 ['MYSQL_DBPASSWORD']), | |
| 458 )), | 462 )), |
| 459 ("logging", ( | 463 ("logging", ( |
| 460 (FilePathOption, "config", "", | 464 (FilePathOption, "config", "", |
| 461 "Path to configuration file for standard Python logging module.\n" | 465 "Path to configuration file for standard Python logging module.\n" |
| 462 "If this option is set, logging configuration is loaded\n" | 466 "If this option is set, logging configuration is loaded\n" |
