1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
2 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
3 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
5 <title>ViewVC Help: Query The Commit Database</title>
6 <link rel="stylesheet" href="help.css" type="text/css" />
14 src="images/logo.png" alt="ViewVC logotype" /></a>
16 <td><h1>ViewVC Help: Query The Commit Database</h1></td>
19 <h3>Other Help:</h3>
20 <a href="help_rootview.html">General</a><br />
21 <a href="help_dirview.html">Directory View</a><br />
22 <a href="help_log.html">Classic Log View</a><br />
23 <a href="help_logtable.html">Alternative Log View</a><br />
24 <strong>Query Database</strong>
27 <a href="http://viewvc.org/index.html">Home</a><br />
28 <a href="http://viewvc.org/upgrading.html">Upgrading</a><br />
29 <a href="http://viewvc.org/contributing.html">Contributing</a><br />
30 <a href="http://viewvc.org/license-1.html">License</a><br />
34 Select your parameters for querying the CVS commit database in the
35 form at the top of the page. You
36 can search for multiple matches by typing a comma-seperated list
37 into the text fields. Regular expressions, and wildcards are also
38 supported. Blank text input fields are treated as wildcards.
41 Any of the text entry fields can take a comma-seperated list of
42 search arguments. For example, to search for all commits from
43 authors <em>jpaint</em> and <em>gstein</em>, just type: <code>jpaint,
44 gstein</code> in the <em>Author</em> input box. If you are searching
45 for items containing spaces or quotes, you will need to quote your
46 request. For example, the same search above with quotes is:
47 <code>"jpaint", "gstein"</code>.
50 Wildcard and regular expression searches are entered in a similar
51 way to the quoted requests. You must quote any wildcard or
52 regular expression request, and a command character preceeds the
53 first quote. The command character <code>l</code>(lowercase L) is for wildcard
54 searches, and the wildcard character is a percent (<code>%</code>). The
55 command character for regular expressions is <code>r</code>, and is
56 passed directly to MySQL, so you'll need to refer to the MySQL
57 manual for the exact regex syntax. It is very similar to Perl. A
58 wildard search for all files with a <em>.py</em> extention is:
59 <code>l"%.py"</code> in the <em>File</em> input box. The same search done
60 with a regular expression is: <code>r".*\.py"</code>.
63 All search types can be mixed, as long as they are seperated by