Each type of field in a PR must be described with a field section
in the dbconfig file. These sections have the following general
structure:
field "fieldname" {
description "string"
[ field-options ... ]
datatype [ datatype-options ... ]
[ on-change { edit-options ... } ]
}
fieldname is used as the field header in the PR. The characters >
and : are used internally as field markers by gnats, so they must
not be used in fieldnames.
The order in which the field sections appear in the
dbconfig file determines the order in which they appear in the PR
text. There is no required order, unlike previous versions of gnats
— the Unformatted field and multitext fields may appear anywhere in
the PR.
The following field-options may be present within a field section:
builtin-name "name"gnats has several fields which are required to be present in a PR, and this option is used to map their external descriptions to their internal usage. The external field names are:
arrival-dateaudit-trailcategoryclosed-dateconfidentialyes, the PR is confidential
description