Mercurial > p > roundup > code
annotate config.py @ 9:3b0a72f54613
fixing (manually) the (dollarsign)Log(dollarsign)...
...entries caused by my using the magic (dollarsign)Id(dollarsign) and
(dollarsign)Log(dollarsign) strings in a commit message. I'm a twonk.
Also broke the help string in two.
| author | Anthony Baxter <anthonybaxter@users.sourceforge.net> |
|---|---|
| date | Thu, 19 Jul 2001 06:27:07 +0000 |
| parents | 72a0ba086b3e |
| children | cdb38951a7ab |
| rev | line source |
|---|---|
|
9
3b0a72f54613
fixing (manually) the (dollarsign)Log(dollarsign)...
Anthony Baxter <anthonybaxter@users.sourceforge.net>
parents:
5
diff
changeset
|
1 # $Id: config.py,v 1.5 2001-07-19 06:27:07 anthonybaxter Exp $ |
|
5
72a0ba086b3e
Added CVS keywords $Id$ and $Log$ to all python files.
Anthony Baxter <anthonybaxter@users.sourceforge.net>
parents:
4
diff
changeset
|
2 |
|
4
b10f8834cce4
modified to use localconfig.py (if it exists)
Anthony Baxter <anthonybaxter@users.sourceforge.net>
parents:
3
diff
changeset
|
3 ROUNDUP_HOME=MAIL_DOMAIN=MAILHOST=None |
|
b10f8834cce4
modified to use localconfig.py (if it exists)
Anthony Baxter <anthonybaxter@users.sourceforge.net>
parents:
3
diff
changeset
|
4 |
|
b10f8834cce4
modified to use localconfig.py (if it exists)
Anthony Baxter <anthonybaxter@users.sourceforge.net>
parents:
3
diff
changeset
|
5 try: |
|
b10f8834cce4
modified to use localconfig.py (if it exists)
Anthony Baxter <anthonybaxter@users.sourceforge.net>
parents:
3
diff
changeset
|
6 from localconfig import * |
|
b10f8834cce4
modified to use localconfig.py (if it exists)
Anthony Baxter <anthonybaxter@users.sourceforge.net>
parents:
3
diff
changeset
|
7 except ImportError: |
|
b10f8834cce4
modified to use localconfig.py (if it exists)
Anthony Baxter <anthonybaxter@users.sourceforge.net>
parents:
3
diff
changeset
|
8 localconfig = None |
|
b10f8834cce4
modified to use localconfig.py (if it exists)
Anthony Baxter <anthonybaxter@users.sourceforge.net>
parents:
3
diff
changeset
|
9 |
|
b10f8834cce4
modified to use localconfig.py (if it exists)
Anthony Baxter <anthonybaxter@users.sourceforge.net>
parents:
3
diff
changeset
|
10 import os |
|
b10f8834cce4
modified to use localconfig.py (if it exists)
Anthony Baxter <anthonybaxter@users.sourceforge.net>
parents:
3
diff
changeset
|
11 |
|
b10f8834cce4
modified to use localconfig.py (if it exists)
Anthony Baxter <anthonybaxter@users.sourceforge.net>
parents:
3
diff
changeset
|
12 # This is the root directory for roundup |
|
b10f8834cce4
modified to use localconfig.py (if it exists)
Anthony Baxter <anthonybaxter@users.sourceforge.net>
parents:
3
diff
changeset
|
13 if not ROUNDUP_HOME: |
|
b10f8834cce4
modified to use localconfig.py (if it exists)
Anthony Baxter <anthonybaxter@users.sourceforge.net>
parents:
3
diff
changeset
|
14 ROUNDUP_HOME='/home/httpd/html/roundup' |
|
b10f8834cce4
modified to use localconfig.py (if it exists)
Anthony Baxter <anthonybaxter@users.sourceforge.net>
parents:
3
diff
changeset
|
15 |
|
b10f8834cce4
modified to use localconfig.py (if it exists)
Anthony Baxter <anthonybaxter@users.sourceforge.net>
parents:
3
diff
changeset
|
16 # The SMTP mail host that roundup will use to send mail |
|
b10f8834cce4
modified to use localconfig.py (if it exists)
Anthony Baxter <anthonybaxter@users.sourceforge.net>
parents:
3
diff
changeset
|
17 if not MAILHOST: |
|
b10f8834cce4
modified to use localconfig.py (if it exists)
Anthony Baxter <anthonybaxter@users.sourceforge.net>
parents:
3
diff
changeset
|
18 MAILHOST = 'localhost' |
|
b10f8834cce4
modified to use localconfig.py (if it exists)
Anthony Baxter <anthonybaxter@users.sourceforge.net>
parents:
3
diff
changeset
|
19 |
|
b10f8834cce4
modified to use localconfig.py (if it exists)
Anthony Baxter <anthonybaxter@users.sourceforge.net>
parents:
3
diff
changeset
|
20 # The domain name used for email addresses. |
|
b10f8834cce4
modified to use localconfig.py (if it exists)
Anthony Baxter <anthonybaxter@users.sourceforge.net>
parents:
3
diff
changeset
|
21 if not MAIL_DOMAIN: |
|
b10f8834cce4
modified to use localconfig.py (if it exists)
Anthony Baxter <anthonybaxter@users.sourceforge.net>
parents:
3
diff
changeset
|
22 MAIL_DOMAIN = 'bizarsoftware.com.au' |
|
b10f8834cce4
modified to use localconfig.py (if it exists)
Anthony Baxter <anthonybaxter@users.sourceforge.net>
parents:
3
diff
changeset
|
23 |
|
0
5e92642cd1f8
Initial import of code
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
24 # This is the directory that the database is going to be stored in |
|
4
b10f8834cce4
modified to use localconfig.py (if it exists)
Anthony Baxter <anthonybaxter@users.sourceforge.net>
parents:
3
diff
changeset
|
25 DATABASE = os.path.join(ROUNDUP_HOME, 'db') |
|
0
5e92642cd1f8
Initial import of code
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
26 |
|
5e92642cd1f8
Initial import of code
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
27 # The email address that mail to roundup should go to |
|
4
b10f8834cce4
modified to use localconfig.py (if it exists)
Anthony Baxter <anthonybaxter@users.sourceforge.net>
parents:
3
diff
changeset
|
28 ISSUE_TRACKER_EMAIL = 'issue_tracker@%s'%MAIL_DOMAIN |
|
0
5e92642cd1f8
Initial import of code
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
29 |
|
5e92642cd1f8
Initial import of code
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
30 # The email address that roundup will complain to if it runs into trouble |
|
4
b10f8834cce4
modified to use localconfig.py (if it exists)
Anthony Baxter <anthonybaxter@users.sourceforge.net>
parents:
3
diff
changeset
|
31 ADMIN_EMAIL = 'roundup-admin@%s'%MAIL_DOMAIN |
|
0
5e92642cd1f8
Initial import of code
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
32 |
|
5e92642cd1f8
Initial import of code
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
33 # Somewhere for roundup to log stuff internally sent to stdout or stderr |
|
4
b10f8834cce4
modified to use localconfig.py (if it exists)
Anthony Baxter <anthonybaxter@users.sourceforge.net>
parents:
3
diff
changeset
|
34 LOG = os.path.join(ROUNDUP_HOME, 'roundup.log') |
|
b10f8834cce4
modified to use localconfig.py (if it exists)
Anthony Baxter <anthonybaxter@users.sourceforge.net>
parents:
3
diff
changeset
|
35 |
|
b10f8834cce4
modified to use localconfig.py (if it exists)
Anthony Baxter <anthonybaxter@users.sourceforge.net>
parents:
3
diff
changeset
|
36 del os |
|
5
72a0ba086b3e
Added CVS keywords $Id$ and $Log$ to all python files.
Anthony Baxter <anthonybaxter@users.sourceforge.net>
parents:
4
diff
changeset
|
37 |
|
72a0ba086b3e
Added CVS keywords $Id$ and $Log$ to all python files.
Anthony Baxter <anthonybaxter@users.sourceforge.net>
parents:
4
diff
changeset
|
38 # |
|
72a0ba086b3e
Added CVS keywords $Id$ and $Log$ to all python files.
Anthony Baxter <anthonybaxter@users.sourceforge.net>
parents:
4
diff
changeset
|
39 # $Log: not supported by cvs2svn $ |
|
9
3b0a72f54613
fixing (manually) the (dollarsign)Log(dollarsign)...
Anthony Baxter <anthonybaxter@users.sourceforge.net>
parents:
5
diff
changeset
|
40 # Revision 1.4 2001/07/19 05:52:22 anthonybaxter |
|
3b0a72f54613
fixing (manually) the (dollarsign)Log(dollarsign)...
Anthony Baxter <anthonybaxter@users.sourceforge.net>
parents:
5
diff
changeset
|
41 # Added CVS keywords Id and Log to all python files. |
|
3b0a72f54613
fixing (manually) the (dollarsign)Log(dollarsign)...
Anthony Baxter <anthonybaxter@users.sourceforge.net>
parents:
5
diff
changeset
|
42 # |
|
5
72a0ba086b3e
Added CVS keywords $Id$ and $Log$ to all python files.
Anthony Baxter <anthonybaxter@users.sourceforge.net>
parents:
4
diff
changeset
|
43 # |
|
72a0ba086b3e
Added CVS keywords $Id$ and $Log$ to all python files.
Anthony Baxter <anthonybaxter@users.sourceforge.net>
parents:
4
diff
changeset
|
44 |
