Changesets can be listed by changeset number.
The Git repository is here.
Changeset 105
Updated configuration and CGI-based settings to operate within
ROOL prototype site.
- Comitted by: adh
- Date: Monday October 23 18:03:55 2006 (over 18 years ago)
Affected files:
- rool/python/cvshistory/trunk/cvshistory.cgi (diff)
- rool/python/cvshistory/trunk/cvshistory.conf (diff)
rool/python/cvshistory/trunk/cvshistory.cgi:
prev. | current | |
1 | ||
1 | #!/bin/env python | |
# CVSHistory -- A cvsweb/viewcvs-integrating CVS history | ||
# browsing script/web frontend/thingie. | ||
... | ... | |
# Jamie Turner <jamwt@jamwt.com> | ||
##### USER EDITABLE SECTION ##### | ||
9 | ||
9 | CONFIGFILE = "/home/adh/python/cvshistory/cvshistory.conf" | |
# END OF USER EDITABLE SECTION! | ||
... | ... | |
# Predefined time formats. | ||
USTIME = "%m-%d-%Y %H:%M" | ||
WORLDTIME = "%d-%m-%Y %H:%M" | ||
61 | ISOTIME = "%Y-%m-%d %H:%M" | |
# Performance mode constants. | ||
MODE_FAST = 1 | ||
... | ... | |
_SCRIPT = SCRIPTPATH | ||
_LOGO = " " | ||
89 | | |
90 | _ICON = '<img src="/perl/cvsweb/icons/icon_folder.gif" alt="[DIR]" border="0" width="15" height="13">' | |
if INTEGRATION == INT_VIEWCVS: | ||
... | ... | |
port = os.environ['SERVER_PORT'] | ||
else: | ||
url = 'http://' | ||
325 | | |
326 | if os.environ['SERVER_PORT'] != '8080': | |
port = os.environ['SERVER_PORT'] | ||
url += os.environ['SERVER_NAME'] |
rool/python/cvshistory/trunk/cvshistory.conf:
prev. | current | |
# no cvsroot is explicitly asked. | ||
# | ||
HISTORY = { | ||
9 | | |
9 | '': "/home/adh/cvsroot/CVSROOT/history", | |
} | ||
# | ||
# Integration mode: INT_NONE/INT_VIEWCVS/INT_CVSWEB. | ||
# | ||
15 | ||
15 | INTEGRATION = INT_CVSWEB | |
# | ||
# The URL to your ViewCVS or CVSweb script, relative to the URL of CVSHistory. | ||
# | ||
20 | ||
20 | SCRIPTPATH = "/rails/rcvsweb/view" | |
# | ||
# Time format: USTIME/WORLDTIME, for "3:42PM, June 14, 2007": | ||
# WORLDTIME: 14-06-2007 15:42 | ||
# USTIME: 06-14-2007 15:42 | ||
26 | # ISOTIME: 2007-06-14 15:42 | |
# Or you can define a format of your own here, using the strftime syntax. | ||
# | ||
28 | ||
29 | TIMEFORMAT = ISOTIME | |
# | ||
# How many entries to show per page. | ||
# | ||
33 | ||
34 | PERPAGE = 50 | |
# | ||
# Performance option. | ||
... | ... | |
# name and email address of site administrator | ||
# Example: "admin@someserver.com (The Admin)" | ||
57 | ||
58 | SITE_ADMIN = "cvshistory@pond.org.uk" | |
# the domain where the author's email addresses are | ||
# This is used to build email addresses for the author item of the RSS feed, | ||
... | ... | |
# If left empty then no author field is added to the feed. | ||
# Example: "someserver.com" will generate this author field: | ||
# "someuser@someserver.com (someuser)" | ||
65 | ||
66 | AUTHOR_EMAIL_DOMAIN = "cvs" # (sic. - I want 'person@cvs' fake addresses) | |
# PUBLIC_SERVER - is this a server visible from the internet? | ||
# or does it require auth of some kind? Used for RSS feeds. |