summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorterry%netscape.com <>1999-01-16 07:05:41 +0100
committerterry%netscape.com <>1999-01-16 07:05:41 +0100
commitccb7eb4de2f2db328c1ab716e58074655b993b19 (patch)
treefd0a729ba84038a8b65b0f05de2fe7192712f189
parent498a074ffb750e9f3513e932106c990a5cabaca4 (diff)
downloadbugzilla-ccb7eb4de2f2db328c1ab716e58074655b993b19.tar.gz
bugzilla-ccb7eb4de2f2db328c1ab716e58074655b993b19.tar.xz
Allow querying by OS.
-rw-r--r--CHANGES9
-rwxr-xr-xbug_status.html16
-rwxr-xr-xenter_bug.cgi2
-rwxr-xr-xmakebugtable.sh1
-rwxr-xr-xquery.cgi7
5 files changed, 33 insertions, 2 deletions
diff --git a/CHANGES b/CHANGES
index 59cd6c3a8..66c8437c1 100644
--- a/CHANGES
+++ b/CHANGES
@@ -9,6 +9,15 @@ query the CVS tree. For example,
will tell you what has been changed in the last week.
+
+
+1/15/99 The op_sys field can now be queried by (and more easily tweaked).
+To make this perform reasonably, it needs an index. The following MySQL
+command will create the necessary index:
+
+ alter table bugs add index (op_sys);
+
+
12/2/98 The op_sys and rep_platform fields have been tweaked. op_sys
is now an enum, rather than having the legal values all hard-coded in
perl. rep_platform now no longer allows a value of "X-Windows".
diff --git a/bug_status.html b/bug_status.html
index 1f429fe9b..e351b414a 100755
--- a/bug_status.html
+++ b/bug_status.html
@@ -173,6 +173,20 @@ platforms include:
<b>Note:</b> Selecting the option "All" does not select bugs assigned against all platforms. It
merely selects bugs that <b>occur</b> on all platforms.
+<a name="op_sys"><h2>Operating System</h2></a>
+This is the operating system against which the bug was reported. Legal
+operating systems include:
+
+<UL>
+<LI> All (happens on all operating systems; cross-platform bug)
+<LI> Windows 95
+<LI> Mac System 8.0
+<LI> Linux
+</UL>
+
+Note that the operating system implies the platform, but not always.
+For example, Linux can run on PC and Macintosh and others.
+
<a name="assigned_to"><h2>Assigned To</h2></a>
This is the person in charge of resolving the bug. Every time this
@@ -190,6 +204,6 @@ status field appropriately.
<hr>
<address><a href="http://home.netscape.com/people/terry/">Terry Weissman &lt;terry@netscape.com&gt;</a></address>
<!-- hhmts start -->
-Last modified: Wed Dec 2 14:08:58 1998
+Last modified: Fri Jan 15 13:36:36 1999
<!-- hhmts end -->
</body> </html>
diff --git a/enter_bug.cgi b/enter_bug.cgi
index 6c41d1e97..87abef887 100755
--- a/enter_bug.cgi
+++ b/enter_bug.cgi
@@ -190,7 +190,7 @@ print "
<TR>
<td align=right><b><B><A HREF=\"bug_status.html#rep_platform\">Platform:</A></B></td>
<TD>$platform_popup</TD>
- <TD ALIGN=RIGHT><B>OS:</B></TD>
+ <TD ALIGN=RIGHT><B><A HREF=\"bug_status.html#op_sys\">OS:</A></B></TD>
<TD>$opsys_popup</TD>
<td align=right valign=top></td>
<td rowspan=3></td>
diff --git a/makebugtable.sh b/makebugtable.sh
index 260a24025..e9ac8b140 100755
--- a/makebugtable.sh
+++ b/makebugtable.sh
@@ -52,6 +52,7 @@ index (assigned_to),
index (delta_ts),
index (bug_severity),
index (bug_status),
+index (op_sys),
index (priority),
index (product),
index (reporter),
diff --git a/query.cgi b/query.cgi
index 7c601721e..170d84b9d 100755
--- a/query.cgi
+++ b/query.cgi
@@ -31,6 +31,7 @@ use vars @::legal_resolution,
@::legal_bug_status,
@::legal_priority,
@::legal_resolution,
+ @::legal_opsys,
@::legal_platform,
@::legal_components,
@::legal_versions,
@@ -125,6 +126,7 @@ print "
<th align=left><A HREF=\"bug_status.html\">Status</a>:</th>
<th align=left><A HREF=\"bug_status.html\">Resolution</a>:</th>
<th align=left><A HREF=\"bug_status.html#rep_platform\">Platform</a>:</th>
+<th align=left><A HREF=\"bug_status.html#op_sys\">OpSys</a>:</th>
<th align=left><A HREF=\"bug_status.html#priority\">Priority</a>:</th>
<th align=left><A HREF=\"bug_status.html#severity\">Severity</a>:</th>
</tr>
@@ -145,6 +147,11 @@ print "
</SELECT>
</td>
<td align=left valign=top>
+<SELECT NAME=\"op_sys\" MULTIPLE SIZE=7>
+@{[make_options(\@::legal_opsys, $default{'op_sys'}, $type{'op_sys'})]}
+</SELECT>
+</td>
+<td align=left valign=top>
<SELECT NAME=\"priority\" MULTIPLE SIZE=7>
@{[make_options(\@::legal_priority, $default{'priority'}, $type{'priority'})]}
</SELECT>