Skip to content

Commit 04431ee

Browse files
author
Richard Jones
committed
edited FAQ
1 parent 689dd97 commit 04431ee

File tree

1 file changed

+57
-82
lines changed

1 file changed

+57
-82
lines changed

doc/FAQ.txt

Lines changed: 57 additions & 82 deletions
Original file line numberDiff line numberDiff line change
@@ -2,69 +2,56 @@
22
Roundup FAQ
33
===========
44

5-
:Version: $Revision: 1.12 $
6-
7-
NOTE: This is just a grabbag, most of this should go into documentation.
5+
:Version: $Revision: 1.13 $
86

97
.. contents::
108

119

1210
Installation
1311
------------
1412

15-
Living without a mailserver.
16-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
13+
Living without a mailserver
14+
~~~~~~~~~~~~~~~~~~~~~~~~~~~
1715

1816
Remove the nosy reactor, means delete the tracker file
19-
'detectors/nosyreactor.py'.
20-
21-
22-
Rights issues (MISSING)
23-
~~~~~~~~~~~~~~~~~~~~~~~
24-
25-
Different jobs run under different users.
17+
``detectors/nosyreactor.py`` from your tracker home.
2618

27-
* Standalone roundup-server is started by whome ?
2819

29-
* Running cgi under apache.
20+
The cgi-bin is very slow!
21+
~~~~~~~~~~~~~~~~~~~~~~~~~
3022

31-
* roundup-mailgw called via .forward from MTA, or running a cron job
32-
fetching via pop.
23+
Yep, it sure is. It has to start up Python and load all of the support
24+
libraries for *every* request.
3325

26+
The solution is to use the built in server.
3427

28+
To make Roundup more seamless with your website, you may place the built
29+
in server behind apache and link it into your web tree
3530

36-
The cgibin is very slow!
37-
~~~~~~~~~~~~~~~~~~~~~~~~
38-
Yep, it sure is. It has to do database open/operation/close
39-
_every_ request.
4031

41-
Solution:
42-
* use the built in server
43-
* place the built in server behind apache and link it into your web tree
32+
How do I put Roundup behind Apache
33+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
4434

45-
46-
47-
How do I put it behind apache
48-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
49-
We have a project (foo) running on foohost.com:8888.
50-
We want http://foohost.com/FooIssues to use the roundup server, so we
51-
set that up on port 8888 on foohost.com with the config.py line:
35+
We have a project (foo) running on ``foohost.com:8888``.
36+
We want ``http://foohost.com/FooIssues`` to use the roundup server, so we
37+
set that up on port 8888 on ``foohost.com`` with the ``config.py`` line::
5238

5339
TRACKER_WEB = 'http://foohost.com/FooIssues/'
5440

55-
We have a foo_issues project/tracker configured on roundup and we run the
56-
server with:
57-
~/bin/roundup-server -p 8888 foo_issues=/home/roundup/trackers/foo_issues
41+
We have a "foo_issues" tracker and we run the server with::
5842

43+
roundup-server -p 8888 foo_issues=/home/roundup/trackers/foo_issues
5944

60-
Then, on the 'front end' host (redhat 7.3 with apache 1.3), in
61-
/etc/httpd/conf/httpd.conf uncomment:
45+
Then, on the Apache machine (eg. redhat 7.3 with apache 1.3), in
46+
``/etc/httpd/conf/httpd.conf`` uncomment::
6247

6348
LoadModule proxy_module modules/libproxy.so
64-
and
49+
50+
and::
51+
6552
AddModule mod_proxy.c
6653

67-
Then add:
54+
Then add::
6855

6956
# roundup stuff (added manually)
7057
<IfModule mod_proxy.c>
@@ -84,101 +71,89 @@ Then add:
8471

8572
</IfModule>
8673

87-
Then restart apache.
88-
89-
Now apache will proxy the request on to the roundup server.
74+
Then restart Apache. Now Apache will proxy the request on to the
75+
roundup-server.
9076

91-
Obviously you need to add the last 3 RewriteRule lines for each
92-
project/tracker that you have.
77+
You need to add the last 3 RewriteRule lines for each tracker that you have.
9378

9479
You can now firewall off port 8888 from the rest of the world.
9580

9681

97-
98-
99-
100-
10182
Templates
10283
---------
10384

104-
What is that stuff in ~/trackers/foo_issues/html/*
105-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
106-
This is the template code that roundup uses to display the various pages.
107-
108-
This is bases upon the template markup language in zope.
85+
What is that stuff in the tracker html directory?
86+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
10987

110-
Have a look at:
88+
This is the template code that Roundup uses to display the various pages.
89+
This is based upon the template markup language in Zope called, oddly
90+
enough "Zope Page Templates". There's documentation in the Roundup
91+
customisation_ documentation. For more information have a look at:
11192

11293
http://www.zope.org/Documentation/Books/ZopeBook/current/contents
11394

114-
chapter 5 Using Zope Page Templates
115-
and chapter 9 Advanced Page Templates
95+
specifically chapter 5 "Using Zope Page Templates" and chapter 9 "Advanced
96+
Page Templates".
11697

11798

11899
But I just want a select/option list for ....
119100
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
120-
Really easy...
121101

122-
Edit issue.item
102+
Really easy... edit ``html/issue.item``. For 'nosy', change line 53 from::
123103

124-
For 'nosy', change line 53 from:
125104
<span tal:replace="structure context/nosy/field" />
126-
to
105+
106+
to::
107+
127108
<span tal:replace="structure context/nosy/menu" />
128109

129-
For 'assigned to', change line 61 from:
110+
For 'assigned to', change line 61 from::
111+
130112
<td tal:content="structure context/assignedto/field">assignedto menu</td>
131-
to:
132-
<td tal:content="structure context/assignedto/menu">assignedto menu</td>
133113

134-
get the idea?
114+
to::
115+
116+
<td tal:content="structure context/assignedto/menu">assignedto menu</td>
135117

136118

137119

138120
Great! But now the select/option list is too big
139121
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
140-
Thats a little harder (but only a little ;^)
141122

142-
Edit issue.item
123+
Thats a little harder (but only a little ;^)
143124

144-
For nosy, change line 53 from:
145-
(see above)
146-
to
147-
<span tal:replace="structure python:context.nosy.menu(height=3)" />
125+
Again, edit ``html/issue.item``. For nosy, change line 53 from:
148126

149-
and then, like me, go and read about Zope templates.
127+
<span tal:replace="structure context/nosy/field" />
150128

129+
to::
151130

131+
<span tal:replace="structure python:context.nosy.menu(height=3)" />
152132

133+
for more information, go and read about Zope Page Templates.
153134

154135

155136
Using Roundup
156137
-------------
157138

158-
159139
I got an error and I cant reload it!
160140
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
161-
If you're using netscape/mozilla, try holding shift and pressing reload.
162-
If you're using IE then install mozilla and try again ;^)
163-
164-
165141

166-
I tried changing my password and I got 'invalid one time ticket' or something
167-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
168-
Ok, so I said to use mozilla, well apparently it 'double requests' pages
169-
from roundup.
142+
If you're using Netscape/Mozilla, try holding shift and pressing reload.
143+
If you're using IE then install Mozilla and try again ;^)
170144

171-
This means the first request worked (ie, your request was processed) then
172-
mozilla/galeon/children tried again and that request failed (ie, it tried to
173-
perform an operation using a no longer valid ticket).
174145

175-
Dont worry, it worked. :^)
146+
I keep getting logged out
147+
~~~~~~~~~~~~~~~~~~~~~~~~~
176148

149+
Make sure that the TRACKER_WEB setting in your tracker's config.py is set
150+
to the URL of the tracker.
177151

178152

179153
-----------------
180154

181155
Back to `Table of Contents`_
182156

183157
.. _`Table of Contents`: index.html
158+
.. _`customisation`: customisation.html
184159

0 commit comments

Comments
 (0)