Skip to content

Commit 2bc5bd9

Browse files
author
Richard Jones
committed
documentation cleanup from Luke Ross (patch [SF#1594860])
1 parent 0ae5404 commit 2bc5bd9

File tree

6 files changed

+49
-33
lines changed

6 files changed

+49
-33
lines changed

CHANGES.txt

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,20 @@
11
This file contains the changes to the Roundup system over time. The entries
22
are given with the most recent entry first.
33

4-
2006-??-?? 1.3.1
4+
5+
2006-??-?? 1.3.2
6+
Fixed:
7+
- documentation cleanup from Luke Ross (sf patch 1594860)
8+
9+
10+
2006-11-11 1.3.1
511
Fixed:
612
- setup.py had broken reference to roundup.cgi (sf bug 1593573)
713
- full-text search wasn't coping with multiple multilinks to the same class
814
- unicode / sqlite 3 problem (sf bug 1589292)
915

1016

11-
2006-09-11 1.3.0
17+
2006-11-09 1.3.0
1218
Feature:
1319
- WSGI support via roundup.cgi.wsgi_handler
1420

doc/FAQ.txt

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
Roundup FAQ
33
===========
44

5-
:Version: $Revision: 1.22 $
5+
:Version: $Revision: 1.23 $
66

77
.. contents::
88

@@ -13,7 +13,7 @@ Installation
1313
Living without a mailserver
1414
~~~~~~~~~~~~~~~~~~~~~~~~~~~
1515

16-
Remove the nosy reactor, means delete the tracker file
16+
Remove the nosy reactor - delete the tracker file
1717
``detectors/nosyreactor.py`` from your tracker home.
1818

1919

@@ -23,10 +23,11 @@ The cgi-bin is very slow!
2323
Yep, it sure is. It has to start up Python and load all of the support
2424
libraries for *every* request.
2525

26-
The solution is to use the built in server.
26+
The solution is to use the built in server (or possibly the mod_python
27+
or WSGI support).
2728

2829
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
30+
in server behind apache and link it into your web tree (see below).
3031

3132

3233
How do I put Roundup behind Apache

doc/customizing.txt

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
Customising Roundup
33
===================
44

5-
:Version: $Revision: 1.211 $
5+
:Version: $Revision: 1.212 $
66

77
.. This document borrows from the ZopeBook section on ZPT. The original is at:
88
http://www.zope.org/Documentation/Books/ZopeBook/current/ZPT.stx
@@ -397,14 +397,15 @@ specifying (default) labelling and ordering of classes.)::
397397

398398
user = Class(db, "user", username=String(), organisation=String(),
399399
password=String(), address=String(), realname=String(),
400-
phone=String())
400+
phone=String(), alternate_addresses=String(),
401+
queries=Multilink('query'), roles=String(), timezone=String())
401402
user.setkey("username")
402403

403404
msg = FileClass(db, "msg", author=Link("user"), summary=String(),
404405
date=Date(), recipients=Multilink("user"),
405-
files=Multilink("file"))
406+
files=Multilink("file"), messageid=String(), inreplyto=String())
406407

407-
file = FileClass(db, "file", name=String(), type=String())
408+
file = FileClass(db, "file", name=String())
408409

409410
issue = IssueClass(db, "issue", topic=Multilink("keyword"),
410411
status=Link("status"), assignedto=Link("user"),
@@ -535,7 +536,8 @@ the rest of the database. This reduces the number of large entries in
535536
the database, which generally makes databases more efficient, and also
536537
allows us to use command-line tools to operate on the files. They are
537538
stored in the files sub-directory of the ``'db'`` directory in your
538-
tracker.
539+
tracker. FileClasses also have a "type" attribute to store the MIME
540+
type of the file.
539541

540542

541543
IssueClass
@@ -640,7 +642,8 @@ property, or sorting will result in random ordering.
640642
Examples of adding to your schema
641643
---------------------------------
642644

643-
TODO
645+
The Roundup wiki has examples of how schemas can be customised to add
646+
new functionality.
644647

645648

646649
Detectors - adding behaviour to your tracker
@@ -799,7 +802,7 @@ Database Content
799802
================
800803

801804
.. note::
802-
if you modify the content of definitional classes, you'll most
805+
If you modify the content of definitional classes, you'll most
803806
likely need to edit the tracker `detectors`_ to reflect your changes.
804807

805808
Customisation of the special "definitional" classes (eg. status,

doc/features.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ from Ka-Ping Yee in the Software Carpentry "Track" design competition.
3535
across all storages available
3636
- customised automatic auditors and reactors may be written that perform
3737
actions before and after changes are made to entries in the database,
38-
or may veto the creation or modification of items int he database
38+
or may veto the creation or modification of items in the database
3939
- samples are provided for all manner of configuration changes and
4040
customisations
4141

@@ -62,7 +62,7 @@ from Ka-Ping Yee in the Software Carpentry "Track" design competition.
6262
- authentication of user registration and user-driven password resetting
6363
using email and one time keys
6464
- may be run using WSGI or through CGI as a normal cgi script, as a
65-
stand-alone web server, or through Zope
65+
stand-alone web server, under mod_python or through Zope
6666
- searching may be performed using many constraints, including a full-text
6767
search of messages attached to issues
6868
- file attachments (added through the web or email) are served up with the

doc/installation.txt

Lines changed: 20 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
Installing Roundup
33
==================
44

5-
:Version: 1.76
5+
:Version: $Revision: 1.120 $
66

77
.. contents::
88
:depth: 2
@@ -312,7 +312,7 @@ privileges to create databases.
312312
Configure a Web Interface
313313
-------------------------
314314

315-
There are three web interfaces to choose from:
315+
There are five web interfaces to choose from:
316316

317317
1. `web server cgi-bin`_
318318
2. `stand-alone web server`_
@@ -332,7 +332,7 @@ A benefit of using the cgi-bin approach is that it's the easiest way to
332332
restrict access to your tracker to only use HTTPS. Access will be slower
333333
than through the `stand-alone web server`_ though.
334334

335-
If your Python isn't install as "python" then you'll need to edit
335+
If your Python isn't installed as "python" then you'll need to edit
336336
the ``roundup.cgi`` script to fix the first line.
337337

338338
If you're using IIS on a Windows platform, you'll need to run this command
@@ -368,7 +368,7 @@ part of the configuration is the tracker home directory.
368368

369369
If you're using Apache, you can use an additional trick to hide the
370370
``.cgi`` extension of the cgi script. Place the ``roundup.cgi`` script
371-
wherever you want it to be, renamed it to just ``roundup``, and add a
371+
wherever you want it to be, rename it to just ``roundup``, and add a
372372
couple lines to your Apache configuration::
373373

374374
<Location /path/to/roundup>
@@ -379,7 +379,7 @@ couple lines to your Apache configuration::
379379
Stand-alone Web Server
380380
~~~~~~~~~~~~~~~~~~~~~~
381381

382-
This approach will give you the fastest of the three web interfaces. You may
382+
This approach will give you faster response than cgi-bin. You may
383383
investigate using ProxyPass or similar configuration in apache to have your
384384
tracker accessed through the same URL as other systems.
385385

@@ -409,7 +409,7 @@ Apache HTTP Server with mod_python
409409

410410
`Mod_python`_ is an `Apache`_ module that embeds the Python interpreter
411411
within the server. Running Roundup this way is much faster than all
412-
above options and, like `web server cgi-bin`_, allows to use HTTPS
412+
above options and, like `web server cgi-bin`_, allows you to use HTTPS
413413
protocol. The drawback is that this setup is more complicated.
414414

415415
The following instructions were tested on apache 2.0 with mod_python 3.1.
@@ -462,7 +462,7 @@ directives:
462462
timing display is disabled.
463463

464464
In the following example we have two trackers set up in
465-
``/var/db/roundup/support`` and ``var/db/roundup/devel`` and accessed
465+
``/var/db/roundup/support`` and ``/var/db/roundup/devel`` and accessed
466466
as ``https://my.host/roundup/support/`` and ``https://my.host/roundup/devel/``
467467
respectively. Having them share same parent directory allows us to
468468
reduce the number of configuration directives. Support tracker has
@@ -536,7 +536,7 @@ If you don't want to use the email component of Roundup, then remove the
536536

537537
See `platform-specific notes`_ for steps that may be needed on your system.
538538

539-
There are three supported ways to get emailed issues into the
539+
There are five supported ways to get emailed issues into the
540540
Roundup tracker. You should pick ONE of the following, all
541541
of which will continue my example setup from above:
542542

@@ -547,10 +547,10 @@ Set up a mail alias called "issue_tracker" as (include the quote marks):
547547
"``|/usr/bin/python /usr/bin/roundup-mailgw <tracker_home>``"
548548
(substitute ``/usr/bin`` for wherever roundup-mailgw is installed).
549549

550-
In some installations (e.g. RedHat 6.2 I think) you'll need to set up smrsh so
551-
sendmail will accept the pipe command. In that case, symlink
552-
``/etc/smrsh/roundup-mailgw`` to "``/usr/bin/roundup-mailgw``" and change
553-
the command to::
550+
In some installations (e.g. RedHat Linux and Fedora Core) you'll need to
551+
set up smrsh so sendmail will accept the pipe command. In that case,
552+
symlink ``/etc/smrsh/roundup-mailgw`` to "``/usr/bin/roundup-mailgw``"
553+
and change the command to::
554554

555555
|roundup-mailgw /opt/roundup/trackers/support
556556

@@ -622,8 +622,8 @@ This config makes a few assumptions:
622622
user, in this case, 'roundup'.
623623

624624
* That if the ``schema.py`` file exists, then the tracker is ready for
625-
use. Another option is to use the ``config.ini`` file, but this recently
626-
changed (in 0.8) from ``config.py``.
625+
use. Another option is to use the ``config.ini`` file (this changed
626+
in 0.8 from ``config.py``).
627627

628628
Macros for Roundup router/transport. Should be placed in the macros
629629
section of the Exim4 config::
@@ -746,6 +746,12 @@ responsibility of running roundup. This user:
746746
4. optionally has no login password so that nobody but the "root" user
747747
may actually login and play with the roundup setup.
748748

749+
If you're using a Linux system (e.g. Fedora Core) with SELinux enabled,
750+
you will need to ensure that the db directory has a context that
751+
permits the web server to modify and create files. If you're using the
752+
mysql or postgresql backend you may also need to update your policy to
753+
allow the web server to access the database socket.
754+
749755

750756
Additional Language Codecs
751757
--------------------------

doc/user_guide.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
User Guide
33
==========
44

5-
:Version: $Revision: 1.34 $
5+
:Version: $Revision: 1.35 $
66

77
.. contents::
88

@@ -21,7 +21,7 @@ issue-ness or user-ness is called the item's *class*. So, for bug
2121
reports and features, the class is "issue", and for users the class is
2222
"user".
2323

24-
Each item in the tracker has an id number that identifies it along with
24+
Each item in the tracker has an ID number that identifies it along with
2525
its item class. To identify a particular issue or user, we combine the
2626
class with the number to create a unique label, so that user 1 (who,
2727
incidentally, is *always* the "admin" user) is referred to as "user1".
@@ -731,8 +731,8 @@ the command-line.
731731
Using with the shell
732732
--------------------
733733

734-
With version 0.6.0 or newer of roundup which supports: multiple
735-
designators to display and the -d, -S and -s flags.
734+
With version 0.6.0 or newer of roundup (which introduced support for
735+
multiple designators to display and the -d, -S and -s flags):
736736

737737
To find all messages regarding chatting issues that contain the word
738738
"spam", for example, you could execute the following command from the

0 commit comments

Comments
 (0)