Mercurial > p > roundup > code
annotate roundup/templates/classic/config.rc @ 604:13719594278b config-0-4-0-branch
I've re-worked the config structure a little so it's simpler
(one less file) and added a unit test so we can be sure it's working.
| author | Richard Jones <richard@users.sourceforge.net> |
|---|---|
| date | Wed, 06 Feb 2002 07:11:13 +0000 |
| parents | a5cd27d33516 |
| children |
| rev | line source |
|---|---|
|
604
13719594278b
I've re-worked the config structure a little so it's simpler
Richard Jones <richard@users.sourceforge.net>
parents:
480
diff
changeset
|
1 # |
|
13719594278b
I've re-worked the config structure a little so it's simpler
Richard Jones <richard@users.sourceforge.net>
parents:
480
diff
changeset
|
2 # Instance-specific configuration file. Note that this file has the |
|
13719594278b
I've re-worked the config structure a little so it's simpler
Richard Jones <richard@users.sourceforge.net>
parents:
480
diff
changeset
|
3 # following variables defined by default: |
|
13719594278b
I've re-worked the config structure a little so it's simpler
Richard Jones <richard@users.sourceforge.net>
parents:
480
diff
changeset
|
4 # |
|
13719594278b
I've re-worked the config structure a little so it's simpler
Richard Jones <richard@users.sourceforge.net>
parents:
480
diff
changeset
|
5 # 'instance_home': the home dir |
|
13719594278b
I've re-worked the config structure a little so it's simpler
Richard Jones <richard@users.sourceforge.net>
parents:
480
diff
changeset
|
6 # 'http_port': '80', |
|
13719594278b
I've re-worked the config structure a little so it's simpler
Richard Jones <richard@users.sourceforge.net>
parents:
480
diff
changeset
|
7 # 'database': '%(instance_home)s/db', |
|
13719594278b
I've re-worked the config structure a little so it's simpler
Richard Jones <richard@users.sourceforge.net>
parents:
480
diff
changeset
|
8 # 'templates': '%(instance_home)s/html', |
|
13719594278b
I've re-worked the config structure a little so it's simpler
Richard Jones <richard@users.sourceforge.net>
parents:
480
diff
changeset
|
9 # 'log': '%(instance_home)s/log', |
|
13719594278b
I've re-worked the config structure a little so it's simpler
Richard Jones <richard@users.sourceforge.net>
parents:
480
diff
changeset
|
10 # 'filter_position': 'bottom', |
|
13719594278b
I've re-worked the config structure a little so it's simpler
Richard Jones <richard@users.sourceforge.net>
parents:
480
diff
changeset
|
11 # 'anonymous_access': 'deny', |
|
13719594278b
I've re-worked the config structure a little so it's simpler
Richard Jones <richard@users.sourceforge.net>
parents:
480
diff
changeset
|
12 # 'anonymous_register': 'deny', |
|
13719594278b
I've re-worked the config structure a little so it's simpler
Richard Jones <richard@users.sourceforge.net>
parents:
480
diff
changeset
|
13 # 'messages_to_author': 'no', |
|
13719594278b
I've re-worked the config structure a little so it's simpler
Richard Jones <richard@users.sourceforge.net>
parents:
480
diff
changeset
|
14 # 'email_signature_position': 'bottom', |
|
13719594278b
I've re-worked the config structure a little so it's simpler
Richard Jones <richard@users.sourceforge.net>
parents:
480
diff
changeset
|
15 # |
|
13719594278b
I've re-worked the config structure a little so it's simpler
Richard Jones <richard@users.sourceforge.net>
parents:
480
diff
changeset
|
16 # These vars are obtained from the roundup base config file, roundup.rc or |
|
13719594278b
I've re-worked the config structure a little so it's simpler
Richard Jones <richard@users.sourceforge.net>
parents:
480
diff
changeset
|
17 # from the application defaults if not defined in roundup.rc. |
|
13719594278b
I've re-worked the config structure a little so it's simpler
Richard Jones <richard@users.sourceforge.net>
parents:
480
diff
changeset
|
18 # |
|
13719594278b
I've re-worked the config structure a little so it's simpler
Richard Jones <richard@users.sourceforge.net>
parents:
480
diff
changeset
|
19 # The values |
|
13719594278b
I've re-worked the config structure a little so it's simpler
Richard Jones <richard@users.sourceforge.net>
parents:
480
diff
changeset
|
20 # . instance_name |
|
13719594278b
I've re-worked the config structure a little so it's simpler
Richard Jones <richard@users.sourceforge.net>
parents:
480
diff
changeset
|
21 # . mailhost |
|
13719594278b
I've re-worked the config structure a little so it's simpler
Richard Jones <richard@users.sourceforge.net>
parents:
480
diff
changeset
|
22 # . mail_domain |
|
13719594278b
I've re-worked the config structure a little so it's simpler
Richard Jones <richard@users.sourceforge.net>
parents:
480
diff
changeset
|
23 # . issue_tracker_email |
|
13719594278b
I've re-worked the config structure a little so it's simpler
Richard Jones <richard@users.sourceforge.net>
parents:
480
diff
changeset
|
24 # . issue_tracker_web |
|
13719594278b
I've re-worked the config structure a little so it's simpler
Richard Jones <richard@users.sourceforge.net>
parents:
480
diff
changeset
|
25 # . admin_email |
|
13719594278b
I've re-worked the config structure a little so it's simpler
Richard Jones <richard@users.sourceforge.net>
parents:
480
diff
changeset
|
26 # are REQUIRED for roundup operation. You must set these options to some |
|
13719594278b
I've re-worked the config structure a little so it's simpler
Richard Jones <richard@users.sourceforge.net>
parents:
480
diff
changeset
|
27 # value. |
|
13719594278b
I've re-worked the config structure a little so it's simpler
Richard Jones <richard@users.sourceforge.net>
parents:
480
diff
changeset
|
28 # |
|
480
a5cd27d33516
Initial ConfigParser implementation.
Titus Brown <titus@users.sourceforge.net>
parents:
diff
changeset
|
29 |
|
604
13719594278b
I've re-worked the config structure a little so it's simpler
Richard Jones <richard@users.sourceforge.net>
parents:
480
diff
changeset
|
30 [DEFAULT] |
|
13719594278b
I've re-worked the config structure a little so it's simpler
Richard Jones <richard@users.sourceforge.net>
parents:
480
diff
changeset
|
31 #instance_name = My Test Instance |
|
13719594278b
I've re-worked the config structure a little so it's simpler
Richard Jones <richard@users.sourceforge.net>
parents:
480
diff
changeset
|
32 #mailhost = mail.host |
|
13719594278b
I've re-worked the config structure a little so it's simpler
Richard Jones <richard@users.sourceforge.net>
parents:
480
diff
changeset
|
33 #mail_domain = blah.dot.com |
|
13719594278b
I've re-worked the config structure a little so it's simpler
Richard Jones <richard@users.sourceforge.net>
parents:
480
diff
changeset
|
34 #issue_tracker_email = tracker@%(mail_domain)s |
|
13719594278b
I've re-worked the config structure a little so it's simpler
Richard Jones <richard@users.sourceforge.net>
parents:
480
diff
changeset
|
35 #issue_tracker_web = http://tracker.blah.dot.com/ |
|
13719594278b
I've re-worked the config structure a little so it's simpler
Richard Jones <richard@users.sourceforge.net>
parents:
480
diff
changeset
|
36 #admin_email = tracker-admin@ekit-inc.com |
|
480
a5cd27d33516
Initial ConfigParser implementation.
Titus Brown <titus@users.sourceforge.net>
parents:
diff
changeset
|
37 |
|
604
13719594278b
I've re-worked the config structure a little so it's simpler
Richard Jones <richard@users.sourceforge.net>
parents:
480
diff
changeset
|
38 # You may override the configuration settings for particular components of |
|
13719594278b
I've re-worked the config structure a little so it's simpler
Richard Jones <richard@users.sourceforge.net>
parents:
480
diff
changeset
|
39 # roundup by putting values below. TODO: example |
|
13719594278b
I've re-worked the config structure a little so it's simpler
Richard Jones <richard@users.sourceforge.net>
parents:
480
diff
changeset
|
40 [MAIL GATEWAY] |
|
13719594278b
I've re-worked the config structure a little so it's simpler
Richard Jones <richard@users.sourceforge.net>
parents:
480
diff
changeset
|
41 |
|
13719594278b
I've re-worked the config structure a little so it's simpler
Richard Jones <richard@users.sourceforge.net>
parents:
480
diff
changeset
|
42 [HTTP SERVER] |
|
13719594278b
I've re-worked the config structure a little so it's simpler
Richard Jones <richard@users.sourceforge.net>
parents:
480
diff
changeset
|
43 |
|
13719594278b
I've re-worked the config structure a little so it's simpler
Richard Jones <richard@users.sourceforge.net>
parents:
480
diff
changeset
|
44 [CGI] |
|
13719594278b
I've re-worked the config structure a little so it's simpler
Richard Jones <richard@users.sourceforge.net>
parents:
480
diff
changeset
|
45 |
|
13719594278b
I've re-worked the config structure a little so it's simpler
Richard Jones <richard@users.sourceforge.net>
parents:
480
diff
changeset
|
46 [ADMIN] |
