Go to the first, previous, next, last section, table of contents.


Example queries

The following simple query:

query-pr --category=rats --responsible=fred --state=analyzed

yields all PRs in the database which contain the field values:

>Category:     rats         and
>Responsible:  fred         and
>State:        analyzed

The following query:

query-pr --state="o|a"

yields all PRs in the database whose `>State:' values match either `open' or `analyzed' (see section Querying using regular expressions. This search is useful as a daily report that lists all Problem Reports which require attention.

The report can be further altered using an alternate output format for query-pr; see section Reporting on groups of Problem Reports. A more fine-grained report may be obtained by specifying more search parameters, e.g. narrowing the search down by `>Submitter:' or by `>Responsible:'.

The following query:

query-pr --text="The quick.*brown fox"

yields all PRs whose TEXT fields contain the text `The quick' followed by `brown fox' within the same field. See section Querying using regular expressions.


Go to the first, previous, next, last section, table of contents.