@@ -68,7 +68,9 @@ schema`_. Some configuration is also performed using permissions - see the
6868automatically register through the email interface, you must grant the
6969"Anonymous" Role the "Email Access" Permission.
7070
71- .. index:: configuration; sections
71+ .. index::
72+ single: config.ini; sections
73+ see: configuration; config.ini
7274
7375The following is taken from the `Python Library Reference`__ (July 18, 2018)
7476section "ConfigParser -- Configuration file parser":
@@ -236,6 +238,16 @@ Section **rdbms**
236238 addition settings needed by RDBMs like SQLite, Postgresql and
237239 MySQL backends.
238240
241+ .. index::
242+ single: postgres; select backend in config.ini
243+ single: mysql; select backend in config.ini
244+ single: sqlite; select backend in config.ini
245+ single: anydbm; select backend in config.ini
246+ see: database; postgres
247+ see: database; mysql
248+ see: database; sqlite
249+ see: database; anydbm
250+
239251 backend -- set to value by init
240252 The database backend such as anydbm, sqlite, mysql or postgres.
241253
@@ -263,6 +275,9 @@ Section **rdbms**
263275 Name of the group to use in the MySQL defaults file. Only used in
264276 MySQL connections.
265277
278+ .. index::
279+ single: sqlite; lock timeout
280+
266281 sqlite_timeout -- ``30``
267282 Number of seconds to wait when the SQLite database is locked.
268283 Used only for SQLite.
@@ -487,6 +502,11 @@ Section **nosy**
487502 download page for the file.
488503
489504
505+ .. index:: single: roundup-admin; config.ini update
506+ single: roundup-admin; config.ini create
507+ single: config.ini; create
508+ single: config.ini; update
509+
490510You may generate a new default config file using the ``roundup-admin
491511genconfig`` command. You can generate a new config file merging in
492512existing settings using the ``roundup-admin updateconfig`` command.
@@ -523,7 +543,7 @@ applied to the extension config files, so if you instead have::
523543
524544then the above ``db.config.detectors['QA_RECIPIENTS']`` will still work.
525545
526- .. index:: schema
546+ .. index:: ! schema
527547
528548Tracker Schema
529549==============
@@ -995,12 +1015,15 @@ property, or sorting will result in random ordering.
9951015Examples of adding to your schema
9961016---------------------------------
9971017
998- The `Roundup wiki`_ has examples of
999- how schemas can be customised to add new functionality.
1018+ Some examples are in the :ref:`CustomExamples` section below.
1019+
1020+ Also the `Roundup wiki`_ has additional examples of how schemas can be
1021+ customised to add new functionality.
10001022
10011023.. _Roundup wiki:
10021024 https://wiki.roundup-tracker.org/
10031025
1026+ .. index:: !detectors
10041027
10051028Detectors - adding behaviour to your tracker
10061029============================================
@@ -1017,6 +1040,8 @@ have some installed by default - have a look. You can write new
10171040detectors or modify the existing ones. The existing detectors installed
10181041for you are:
10191042
1043+ .. index:: detectors; installed
1044+
10201045**nosyreaction.py**
10211046 This provides the automatic nosy list maintenance and email sending.
10221047 The nosy reactor (``nosyreaction``) fires when new messages are added
@@ -1045,6 +1070,8 @@ interface for detectors.
10451070__ design.html
10461071
10471072
1073+ .. index:: detectors; writing api
1074+
10481075Detector API
10491076------------
10501077
@@ -1082,6 +1109,7 @@ values of properties that were changed.
10821109For a ``retire()`` or ``restore()`` operation, ``itemid`` is the id of
10831110the retired or restored item and ``olddata`` is None.
10841111
1112+ .. index:: detectors; additional
10851113
10861114Additional Detectors Ready For Use
10871115----------------------------------
@@ -1612,6 +1640,9 @@ Put together, these settings appear in the tracker's ``schema.py`` file::
16121640 # db.security.addPermissionToRole('Anonymous', 'Create', cl)
16131641 # db.security.addPermissionToRole('Anonymous', 'Edit', cl)
16141642
1643+ .. index::
1644+ single: roundup-admin; class permissions
1645+
16151646You can use ``roundup-admin security`` to verify the permissions
16161647defined in the schema. It also verifies that properties specified in
16171648permissions are valid for the class. This helps detect typos that can
@@ -3755,6 +3786,7 @@ should be changed to include actual character set name::
37553786
37563787The charset is also sent in the http header.
37573788
3789+ .. _CustomExamples:
37583790
37593791Examples
37603792========
@@ -3783,6 +3815,8 @@ Schema changes are automatically applied to the database on the next
37833815tracker access (note that roundup-server would need to be restarted as it
37843816caches the schema).
37853817
3818+ .. index:: schema; example changes
3819+
378638201. Modify the ``schema.py``::
37873821
37883822 issue = IssueClass(db, "issue",
@@ -4282,6 +4316,8 @@ be able to give a summary of the total time spent on a particular issue.
42824316
42834317 db.security.addPermissionToRole('User', 'Edit', 'timelog')
42844318
4319+ .. index:: schema; example changes
4320+
428543212. Link to the new class from your issue class (again, in
42864322 ``schema.py``)::
42874323
0 commit comments