Skip to content

Commit f274ab6

Browse files
author
Richard Jones
committed
documentation in structured text source form
1 parent a8e9fd4 commit f274ab6

File tree

6 files changed

+1268
-0
lines changed

6 files changed

+1268
-0
lines changed

doc/FAQ.stx

Lines changed: 125 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,125 @@
1+
Roundup FAQ
2+
===========
3+
4+
'$Date: 2002-02-21 06:22:00 $'
5+
6+
NOTE: This is just a grabbag, most of this should go into documentation.
7+
8+
Changing HTML layout
9+
--------------------
10+
11+
Note changes to the files in html take place immediatly without
12+
restart, even when running roundup-server.
13+
14+
Displaying whole messages not only the summary
15+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
16+
17+
Modify instance/html/msg.index change::
18+
19+
<td><display call="plain('summary')"></td>
20+
21+
to::
22+
23+
<td><pre><display call="plain('content')"></pre></td>
24+
25+
displays the whole message not only the first line and 'pre'
26+
prevents the browser from reformatting.
27+
28+
Getting the nosy list picker instead of textfield
29+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
30+
31+
In classic template there is plenty of space below the text field.
32+
So one could modify instance/html/issue.item to use it.
33+
34+
At the file top set 'border=1' to see cell boundaries, then
35+
replace::
36+
37+
<td class="form-text"><display call="field('nosy',size=20)"></td>
38+
39+
by::
40+
41+
<td rowspan=5 class="form-text"><display call="menu('nosy',height=10)"></td>
42+
43+
and remove the last cell in the next four rows, either by deleting a cell
44+
or by reducing colspan.
45+
46+
Want to see the issue id (the number) on the issue item display
47+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
48+
49+
The number is really a central information and not an internal one.
50+
51+
In file INSTANCE/html/issue.item displays the creator, so one could add
52+
the number to it.::
53+
54+
<td class="form-text"><display call="reldate('creation', pretty=1)">
55+
(<display call="plain('creator')">)</td>
56+
57+
to see::
58+
59+
<td class="form-text"><display call="reldate('creation', pretty=1)">
60+
(issue<display call="plain('id')"> by <display call="plain('creator')">)</td>
61+
62+
Installation
63+
------------
64+
65+
Living without a mailserver.
66+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
67+
68+
Remove the nosy reactor, means delete the file 'INSTANCE/detectors/nosyreactor.py'.
69+
70+
Rights issues (MISSING)
71+
~~~~~~~~~~~~~~~~~~~~~~~
72+
73+
Different jobs run under different users.
74+
75+
* Standalone roundup-server is started by whome ?
76+
77+
* Running cgi under apache.
78+
79+
* roundup-mailgw called via .forward from MTA, or running a cron job
80+
fetching via pop.
81+
82+
see Troubleshooting.
83+
84+
Troubleshooting
85+
---------------
86+
87+
88+
AttributeError: ''_roundup_instance_1'' module has no attribute 'open'
89+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
90+
91+
Sorry: in html it is not formatted correct.
92+
93+
For example submitting issues via roundup-mailgw breaks similar to this.::
94+
95+
Command died with status 1:
96+
"/usr/local/bin/python /usr/local/bin/roundup-mailgw /home/roundup".
97+
Command output: Traceback (most recent call last):
98+
File "/usr/local/bin/roundup-mailgw", line 178, in ?
99+
sys.exit(main(sys.argv))
100+
File "/usr/local/bin/roundup-mailgw", line 153, in main
101+
db = instance.open('admin')
102+
AttributeError: '_roundup_instance_1' module has no attribute 'open'
103+
104+
Happens if the user which accesses the instance has no read right
105+
on 'INSTANCE/dbinit.py' or 'pyc'.
106+
107+
If the user has no rights on the 'INSTANCE/db' the mailgw finishes,
108+
but is, of course, unable to add the message. A notification to
109+
the roundup-admin is sent, with a longer trace ending in::
110+
111+
File "/opt/python/lib/python2.2/dbhash.py", line 16, in open
112+
return bsddb.hashopen(file, flag, mode)
113+
error: (13, 'Keine Berechtigung')
114+
115+
Replace 'Keine Berechtigung' by 'Not permitted' or ...
116+
117+
An easy way to test whether it's a permissions problem, or some other mail
118+
server configuration problem is to cat an email-formatted text file
119+
directly to the roundup-mailgw script as the roundup user.::
120+
121+
cat issue.txt | /usr/local/bin/roundup-mailgw /home/roundup
122+
123+
If that doesn't raise any errors, the problem is the permissions of the
124+
MTA.
125+

doc/acknoledgements.stx

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
Acknowledgements
2+
================
3+
4+
Go Ping, you rock! Also, go Bizar Software for letting me implement this system on their time.
5+
6+

0 commit comments

Comments
 (0)