Skip to content

Commit 5b688e9

Browse files
committed
Glossary updates and more term refs.
Expanded db glossary definition with list of supported physical db's. added definition for hyperdb. expanded definition of itemid to include that it is handled as a string in some circumstances.
1 parent 65e3f95 commit 5b688e9

File tree

2 files changed

+31
-18
lines changed

2 files changed

+31
-18
lines changed

doc/glossary.txt

Lines changed: 25 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -8,41 +8,53 @@ Roundup Glossary
88
================
99

1010
.. glossary::
11+
:sorted:
1112

1213
class
13-
a definition of the properties and behaviour of a set of items
14+
a definition of the properties and behavior of a set of items
1415

1516
classname
1617
the name of a class. It must start with a letter, end with a letter
1718
or "_", and only have alphanumerics and "_" in the middle.
1819

19-
db (or hyperdb)
20-
a collection of items
20+
db
21+
database used to store the data in the tracker. Roundup supports
22+
4 databases: dbm (Berkeley DB/BDB), SQLite, PostgreSQL, MySQL/MariaDB.
2123

2224
definitional class
23-
a class that exists to define a descrete set of values. For example
25+
a class that exists to define a discrete set of values. For example
2426
status or priority.
2527

2628
designator
27-
a combined class + itemid reference to any item in the
28-
hyperdb. E.g. issue26. Note that form values can include
29-
something that looks like a designator composed of a classname, a
30-
dash '-', and a number. E.g. file-1. These
31-
are used to create new instances of a class via the web interface.
29+
a combined :term:`classname` + :term:`itemid` reference to any item
30+
in the hyperdb. E.g. ``issue26``. Note that form values can include
31+
something that looks like a designator composed of a classname,
32+
a dash '-', and a number. E.g. ``file-1``. These are used to create
33+
new instances of a class via the web interface.
3234

33-
itemid
34-
a numeric reference to a particular item of one class
35+
hyperdb
36+
a software layer between the user and the underlying :term:`db`.
37+
It is responsible for mutating the underlying db when the schema
38+
changes. It also executes the detectors when items in the db change.
3539

3640
item
3741
a collection of data that forms one entry in the hyperdb.
3842

43+
itemid
44+
an integer reference to a particular item of one
45+
class. Internally it is stored as a string and not an integer
46+
number. This results in a string not numeric sort by id in some
47+
circumstances.
48+
3949
property
4050
one element of data that makes up an item. In Roundup, the set
4151
of item properties may be changed as needed - even after the
42-
tracker has been initialised and used in production.
52+
tracker has been initialized and used in production.
4353

4454
schema
45-
the definition of all the classes that make up an tracker
55+
the definition of all the classes and properties that make up a
56+
tracker. Contained in the file ``schema.py``. The permissions
57+
for the schema items are usually defined in the same file.
4658

4759
tracker
4860
the schema and hyperdb that forms one issue tracker

doc/reference.txt

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1516,12 +1516,13 @@ Database Content
15161516

15171517
.. note::
15181518
If you modify the content of a :term:`definitional class`, you will
1519-
need to edit the tracker `detectors`_ if they reference a value
1520-
of a definitional class. (E.g. if a detector checks to see if an
1521-
issue has a status of "open", and you change the "open" definition
1522-
to be "working", you need to change the check.)
1519+
need to edit the tracker `detectors`_ if they reference a value of
1520+
a definitional class. (E.g. if a detector checks to see if an issue
1521+
has a status of "open", and you change the "open" definition to be
1522+
"working", you need to change the check.)
15231523

1524-
Customisation of the special definitional classes (eg. status,
1524+
Customisation of the special :term:`definitional classes <definitional
1525+
class>` (eg. status,
15251526
priority, resolution, ...) may be done either before or after the
15261527
tracker is initialised. The actual method of doing so is completely
15271528
different in each case though, so be careful to use the right one.

0 commit comments

Comments
 (0)