gecko-dev/webtools/bugzilla/quicksearchhack.html

358 lines
8.4 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>Bugzilla QuickSearch (for Hackers)</title>
</head>
<body bgcolor="#ffffff">
<script src="localconfig.js" type="text/javascript"></script>
<script src="quicksearch.js" type="text/javascript"></script>
<h1>Bugzilla QuickSearch (for Hackers)</h1>
<p>
Type in one or more words (or word fragments) to search for:
</p>
<form name="f" action="show_bug.cgi" method="get"
onsubmit="QuickSearch(f.id.value); return false;">
<table>
<tr>
<td><input type="text" size="40" name="id"></td>
<td align="left"><input type="submit" name="run" value="Search"></td>
<td align="left"><input type="button" name="load" value="Load Query"
onclick="LoadQuery(f.id.value);">
</td>
</tr>
</table>
</form>
<script type="text/javascript">
<!--
document.forms['f'].id.focus();
//-->
</script>
<p>
This is a case-insensitive ``all words as substrings'' search;
words are separated by spaces.
By default, the following fields are relevant: Summary, Keywords,
Product, Component, Status Whiteboard. If a word looks like a part of a
URL, that field is included in the search, too.
</p>
<p>
The generic format for a ``word'' is
&nbsp;<tt>field1,...,fieldN:value1,...,valueM</tt>&nbsp;.
A bug qualifies if at least one of the values occurs as a substring in
at least one of the fields.
For example, &nbsp;<tt>owner,reporter,qa:ibm,sun</tt>&nbsp;
will give you bugs where the owner, reporter, or qa contact
has an email address that contains
&nbsp;<tt>ibm</tt>&nbsp; or &nbsp;<tt>sun</tt>&nbsp;.
If only &nbsp;<tt>value1,...,valueM</tt>&nbsp; is given,
the prefix (roughly) defaults to &nbsp;<tt>summary,keywords,product,component,statuswhiteboard:</tt>&nbsp; as noted above.
You can use &nbsp;<tt>-<i>word</i></tt>&nbsp; to express the logical negation
of &nbsp;<tt><i>word</i></tt>.&nbsp;
</p>
<p>
Here is a complete listing of available fields (the Shortcut column is just
for access speed):
</p>
<table border="1">
<thead>
<tr>
<td><b>Searched by default</b></td>
<td><b>Shortcut</b></td>
<td><b>Field Name</b></td>
<td><b>Aliases</b></td>
<td><b>Description</b></td>
</tr>
</thead>
<!-- Status, Resolution, Platform, OS, Priority, Severity -->
<tr>
<td>&nbsp;</td>
<td rowspan="2"><tt>UNCO,NEW,...,CLOS,<br>FIX,DUP,...<i>(as first word)</i></tt></td>
<td><tt>status</tt></td>
<td>&nbsp;</td>
<td><a href="page.cgi?id=fields.html#status">Status</a>
<i>("bug_status")</i>
</td>
</tr>
<tr>
<td>&nbsp;</td>
<td><tt>resolution</tt></td>
<td>&nbsp;</td>
<td><a href="page.cgi?id=fields.html#resolution">Resolution</a></td>
</tr>
<tr>
<td>&nbsp;</td>
<td><i>as-is</i></td>
<td><tt>platform</tt></td>
<td>&nbsp;</td>
<td><a href="page.cgi?id=fields.html#rep_platform">Platform</a> <i>("rep_platform")</i></td>
</tr>
<tr>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td><tt>os</tt></td>
<td><tt>opsys</tt></td>
<td><a href="page.cgi?id=fields.html#op_sys">OS</a> <i>("op_sys")</i></td>
</tr>
<tr>
<td>&nbsp;</td>
<td><tt>p1,p2</tt> <i>or</i> <tt>p1-2</tt></td>
<td><tt>priority</tt></td>
<td><tt>pri</tt></td>
<td><a href="page.cgi?id=fields.html#priority">Priority</a></td>
</tr>
<tr>
<td>&nbsp;</td>
<td><tt>blo,cri,...,enh</tt></td>
<td><tt>severity</tt></td>
<td><tt>sev</tt></td>
<td><a href="page.cgi?id=fields.html#bug_severity">Severity</a> <i>("bug_severity")</i></td>
</tr>
<!-- People: AssignedTo, Reporter, QA Contact, CC, Added comment -->
<!-- Added comment is missing!!!! -->
<tr>
<td>&nbsp;</td>
<td><b>@</b><i>owner</i></td>
<td><tt>assignedto</tt></td>
<td><tt>assignee, owner</tt></td>
<td><a href="page.cgi?id=fields.html#assigned_to">Assignee</a> <i>("assigned_to")</i></td>
</tr>
<tr>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td><tt>reporter</tt></td>
<td><tt>rep</tt></td>
<td>Reporter (email)</td>
</tr>
<tr>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td><tt>qa</tt></td>
<td><tt>qacontact</tt></td>
<td>QA Contact (email) <i>("qa_contact")</i></td>
</tr>
<tr>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td><tt>cc</tt></td>
<td>&nbsp;</td>
<td>CC (email)</td>
</tr>
<!-- Product, Version, Component, Target Milestone -->
<tr>
<td><i>yes</i></td>
<td rowspan="2"><b>:</b><i>area</i></td>
<td><tt>product</tt></td>
<td><tt>prod</tt></td>
<td>Product (enum)</td>
</tr>
<tr>
<td><i>yes</i></td>
<td><tt>component</tt></td>
<td><tt>comp</tt></td>
<td><a href="describecomponents.cgi">Component</a></td>
</tr>
<tr>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td><tt>version</tt></td>
<td><tt>ver</tt></td>
<td>Version (enum)</td>
</tr>
<tr>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td><tt>milestone</tt></td>
<td><tt>target, targetmilestone</tt></td>
<td>Target Milestone <i>("target_milestone")</i></td>
</tr>
<!-- Summary, Description, URL, Status whiteboard, Keywords -->
<tr>
<td><i>yes</i></td>
<td>&nbsp;</td>
<td><tt>summary</tt></td>
<td><tt>shortdesc</tt></td>
<td>Bug Summary (short text)<i>("short_desc")</i></td>
</tr>
<tr>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td><tt>description</tt></td>
<td><tt>desc, longdesc<!--, comment--></tt></td>
<!-- reserve "comment" for "added comment" email search?! -->
<td>Bug Description / Comments (long text)</td>
</tr>
<tr>
<td><i>depends</i></td>
<td>&nbsp;</td>
<td><tt>url</tt></td>
<td>&nbsp;</td>
<td>URL <i>("bug_file_loc")</i></td>
</tr>
<tr>
<td><i>yes</i></td>
<td>&nbsp;</td>
<td><tt>statuswhiteboard</tt></td>
<td><tt>sw, whiteboard</tt></td>
<td>Status Whiteboard <i>("status_whiteboard")</i></td>
</tr>
<tr>
<td><i>yes</i></td>
<td><b>!</b><i>keyword</i></td>
<td><tt>keywords</tt></td>
<td><tt>kw</tt></td>
<td><a href="describekeywords.cgi">Keywords</a></td>
</tr>
<!-- Attachments -->
<tr>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td><tt>attachmentdesc</tt></td>
<td><tt>attachdesc</tt></td>
<td>Attachment Description <i>("attachments.description")</i></td>
</tr>
<tr>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td><tt>attachmentdata</tt></td>
<td><tt>attachdata</tt></td>
<td>Attachment Data <i>("attachments.thedata")</i></td>
</tr>
<tr>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td><tt>attachmentmimetype</tt></td>
<td><tt>attachmimetype</tt></td>
<td>Attachment mime-type <i>("attachments.mimetype")</i></td>
</tr>
</table>
<p>
Examples for some useful abbreviations:
</p>
<table border="1">
<thead>
<tr>
<td><b>Syntax</b></td>
<td><b>Semantics and Examples</b></td>
</tr>
</thead>
<!--
<tr>
<td><i>STAT</i> <i>(as first word)</i></td>
<td><b>status,resolution:</b><i>STAT</i></td>
</tr>
<tr>
<td></td>
<td></td>
</tr>
<tr>
<td><tt>ALL</tt> <i>(as first word)</i></td>
<td><i>include all resolved bugs in your query</i></td>
</tr>
<tr>
<td><tt>+DUP,FIXED</tt> <i>(as first word)</i></td>
<td><i>include DUPLICATE and FIXED bugs in your search</i></td>
</tr>
-->
<tr>
<td><b>:</b><i>area</i></td>
<td><b>product,component:</b><i>area</i></td>
</tr>
<!--
<tr>
<td><tt>:browser</tt></td>
<td><i>bugs in the Browser product</i></td>
</tr>
<td><tt>:mail</tt></td>
<td><i>bugs in the MailNews product</td>
</tr>
<tr>
<td><tt>:xbl</tt></td>
<td><i>bugs in the XBL component</i></td>
</tr>
-->
<tr>
<td><i>sev</i></td>
<td><b>severity:</b><i>sev</i></td>
</tr>
<tr>
<td><tt>blo,cri,maj</tt></td>
<td><i>severe bugs</i></td>
</tr>
<tr>
<td><tt>enh</tt></td>
<td><i>enhancement requests</i></td>
</tr>
<tr>
<td><b>p</b><i>level</i></td>
<td><b>priority:</b><i>level</i></td>
</tr>
<tr>
<td><tt>p1</tt></td>
<td><i>very high-priority bugs</i></td>
</tr>
<tr>
<td><tt>p1-2</tt></td>
<td><i>high-priority bugs</i></td>
</tr>
<tr>
<td><b>@</b><i>owner</i></td>
<td><b>assignedto:</b><i>owner</i></td>
</tr>
<!--
<tr>
<td><tt>@nobody</tt></td>
<td><i>ownerless bugs</i></td>
</tr>
<tr>
<td><tt>@mozilla.org</tt></td>
<td><i>bugs assigned to mozilla.org members</i></td>
</tr>
-->
<tr>
<td><b>!</b><i>keyword</i></td>
<td><b>keywords:</b><i>keyword</i></td>
</tr>
<!--
<tr>
<td><tt>!crash</tt></td>
<td><i>crasher bugs</i></td>
</tr>
<tr>
<td><tt>!helpwanted</tt></td>
<td><i>bugs waiting for your help</i></td>
</tr>
-->
</table>
<p>
More information can be found in the
<a href="quicksearch.html#features">&quot;Features&quot;</a> section
on the <a href="quicksearch.html">introductory page</a>.
</p>
</body>
</html>