Sophie

Sophie

distrib > Mageia > 5 > i586 > by-pkgid > 9e41a94a3e659caa5b91706d5c415d34 > files > 924

bugzilla-4.4.11-1.mga5.noarch.rpm

<!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=ANSI_X3.4-1968"><title>2.3.&#160;Optional Additional Configuration</title><link rel="stylesheet" type="text/css" href="../../style.css"><meta name="generator" content="DocBook XSL Stylesheets V1.78.1"><meta name="keywords" content="Bugzilla, Guide, installation, FAQ, administration, integration, MySQL, Mozilla, webtools"><link rel="home" href="index.html" title="The Bugzilla Guide - 4.4.11 Release"><link rel="up" href="installing-bugzilla.html" title="Chapter&#160;2.&#160;Installing Bugzilla"><link rel="prev" href="configuration.html" title="2.2.&#160;Configuration"><link rel="next" href="multiple-bz-dbs.html" title="2.4.&#160;Multiple Bugzilla databases with a single installation"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">2.3.&#160;Optional Additional Configuration</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="configuration.html">Prev</a>&#160;</td><th width="60%" align="center">Chapter&#160;2.&#160;Installing Bugzilla</th><td width="20%" align="right">&#160;<a accesskey="n" href="multiple-bz-dbs.html">Next</a></td></tr></table><hr></div><div class="section"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="extraconfig"></a>2.3.&#160;Optional Additional Configuration</h2></div></div></div><p>
      Bugzilla has a number of optional features. This section describes how
      to configure or enable them.
    </p><div class="section"><div class="titlepage"><div><div><h3 class="title"><a name="idm140035937919008"></a>2.3.1.&#160;Bug Graphs</h3></div></div></div><p>If you have installed the necessary Perl modules you
      can start collecting statistics for the nifty Bugzilla 
      graphs.</p><pre class="screen"><code class="prompt">bash#</code> <span class="command"><strong>crontab -e</strong></span></pre><p>
        This should bring up the crontab file in your editor. 
        Add a cron entry like this to run 
        <code class="filename">collectstats.pl</code> 
        daily at 5 after midnight:
      </p><pre class="programlisting">5 0 * * * cd &lt;your-bugzilla-directory&gt; &amp;&amp; ./collectstats.pl</pre><p>
        After two days have passed you'll be able to view bug graphs from
        the Reports page.
      </p><div class="note" style="margin-left: 1em; margin-right: 1em"><table border="0" summary="Note"><tr><td rowspan="2" align="center" valign="top" width="25"><img alt="[Note]" src="../images/note.gif"></td><th align="left"></th></tr><tr><td align="left" valign="top"><p>
          Windows does not have 'cron', but it does have the Task
          Scheduler, which performs the same duties. There are also
          third-party tools that can be used to implement cron, such as
          <a class="ulink" href="http://www.nncron.ru/" target="_top">nncron</a>.
        </p></td></tr></table></div></div><div class="section"><div class="titlepage"><div><div><h3 class="title"><a name="installation-whining-cron"></a>2.3.2.&#160;The Whining Cron</h3></div></div></div><p>What good are
      bugs if they're not annoying? To help make them more so you
      can set up Bugzilla's automatic whining system to complain at engineers
      which leave their bugs in the CONFIRMED state without triaging them.
      </p><p>
        This can be done by adding the following command as a daily
        crontab entry, in the same manner as explained above for bug
        graphs. This example runs it at 12.55am. 
      </p><pre class="programlisting">55 0 * * * cd &lt;your-bugzilla-directory&gt; &amp;&amp; ./whineatnews.pl</pre><div class="note" style="margin-left: 1em; margin-right: 1em"><table border="0" summary="Note"><tr><td rowspan="2" align="center" valign="top" width="25"><img alt="[Note]" src="../images/note.gif"></td><th align="left"></th></tr><tr><td align="left" valign="top"><p>
          Windows does not have 'cron', but it does have the Task
          Scheduler, which performs the same duties. There are also
          third-party tools that can be used to implement cron, such as
          <a class="ulink" href="http://www.nncron.ru/" target="_top">nncron</a>.
        </p></td></tr></table></div></div><div class="section"><div class="titlepage"><div><div><h3 class="title"><a name="installation-whining"></a>2.3.3.&#160;Whining</h3></div></div></div><p>
        As of Bugzilla 2.20, users can configure Bugzilla to regularly annoy 
        them at regular intervals, by having Bugzilla execute saved searches
        at certain times and emailing the results to the user.  This is known
        as "Whining".  The process of configuring Whining is described 
        in <a class="xref" href="whining.html" title="5.13.&#160;Whining">Section&#160;5.13, &#8220;Whining&#8221;</a>, but for it to work a Perl script must be
        executed at regular intervals.
      </p><p>
        This can be done by adding the following command as a daily
        crontab entry, in the same manner as explained above for bug
        graphs. This example runs it every 15 minutes. 
      </p><pre class="programlisting">*/15 * * * * cd &lt;your-bugzilla-directory&gt; &amp;&amp; ./whine.pl</pre><div class="note" style="margin-left: 1em; margin-right: 1em"><table border="0" summary="Note"><tr><td rowspan="2" align="center" valign="top" width="25"><img alt="[Note]" src="../images/note.gif"></td><th align="left"></th></tr><tr><td align="left" valign="top"><p>
          Whines can be executed as often as every 15 minutes, so if you specify
          longer intervals between executions of whine.pl, some users may not 
          be whined at as often as they would expect.  Depending on the person,
          this can either be a very Good Thing or a very Bad Thing.
        </p></td></tr></table></div><div class="note" style="margin-left: 1em; margin-right: 1em"><table border="0" summary="Note"><tr><td rowspan="2" align="center" valign="top" width="25"><img alt="[Note]" src="../images/note.gif"></td><th align="left"></th></tr><tr><td align="left" valign="top"><p>
          Windows does not have 'cron', but it does have the Task
          Scheduler, which performs the same duties. There are also
          third-party tools that can be used to implement cron, such as
          <a class="ulink" href="http://www.nncron.ru/" target="_top">nncron</a>.
        </p></td></tr></table></div></div><div class="section"><div class="titlepage"><div><div><h3 class="title"><a name="apache-addtype"></a>2.3.4.&#160;Serving Alternate Formats with the right MIME type</h3></div></div></div><p>
        Some Bugzilla pages have alternate formats, other than just plain
        <acronym class="acronym">HTML</acronym>. In particular, a few Bugzilla pages can 
        output their contents as either <acronym class="acronym">XUL</acronym> (a special 
        Mozilla format, that looks like a program <acronym class="acronym">GUI</acronym>) 
        or <acronym class="acronym">RDF</acronym> (a type of structured <acronym class="acronym">XML</acronym> 
        that can be read by various programs).
      </p><p>
        In order for your users to see these pages correctly, Apache must 
        send them with the right <acronym class="acronym">MIME</acronym> type. To do this, 
        add the following lines to your Apache configuration, either in the 
        <code class="computeroutput">&lt;VirtualHost&gt;</code> section for your
        Bugzilla, or in the <code class="computeroutput">&lt;Directory&gt;</code>
        section for your Bugzilla:
      </p><p>
        </p><pre class="screen">AddType application/vnd.mozilla.xul+xml .xul
AddType application/rdf+xml .rdf</pre><p>
      </p></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="configuration.html">Prev</a>&#160;</td><td width="20%" align="center"><a accesskey="u" href="installing-bugzilla.html">Up</a></td><td width="40%" align="right">&#160;<a accesskey="n" href="multiple-bz-dbs.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">2.2.&#160;Configuration&#160;</td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top">&#160;2.4.&#160;Multiple Bugzilla databases with a single installation</td></tr></table></div></body></html>