comparison roundup/configuration.py @ 3099:519b92df37dc

handle ~/.my.cnf files for MySQL defaults [SF#1096031]
author Richard Jones <richard@users.sourceforge.net>
date Thu, 13 Jan 2005 05:02:19 +0000
parents 9d2c5d7c6f85
children 57b60bda9473
comparison
equal deleted inserted replaced
3097:7b3f1a610d9c 3099:519b92df37dc
1 # Roundup Issue Tracker configuration support 1 # Roundup Issue Tracker configuration support
2 # 2 #
3 # $Id: configuration.py,v 1.23 2004-11-18 14:02:25 a1s Exp $ 3 # $Id: configuration.py,v 1.24 2005-01-13 05:02:18 richard Exp $
4 # 4 #
5 __docformat__ = "restructuredtext" 5 __docformat__ = "restructuredtext"
6 6
7 import getopt 7 import getopt
8 import imp 8 import imp
482 "Database user name that Roundup should use.", 482 "Database user name that Roundup should use.",
483 ['MYSQL_DBUSER']), 483 ['MYSQL_DBUSER']),
484 (NullableOption, 'password', 'roundup', 484 (NullableOption, 'password', 'roundup',
485 "Database user password.", 485 "Database user password.",
486 ['MYSQL_DBPASSWORD']), 486 ['MYSQL_DBPASSWORD']),
487 (NullableOption, 'read_default_file', '~/.my.cnf',
488 "Name of the MySQL defaults file.\n"
489 "Only used in MySQL connections."),
490 (NullableOption, 'read_default_group', 'roundup',
491 "Name of the group to use in the MySQL defaults file (.my.cnf).\n"
492 "Only used in MySQL connections."),
487 ), "Settings in this section are used" 493 ), "Settings in this section are used"
488 " by Postgresql and MySQL backends only" 494 " by Postgresql and MySQL backends only"
489 ), 495 ),
490 ("logging", ( 496 ("logging", (
491 (FilePathOption, "config", "", 497 (FilePathOption, "config", "",

Roundup Issue Tracker: http://roundup-tracker.org/