]> git.donarmstrong.com Git - debbugs.git/blobdiff - scripts/text.in
- Make search case insensitive (closes: #448861)
[debbugs.git] / scripts / text.in
index 83f7a0cac9a3d99abbd058083214c94ca18f0fc5..415aba05cd7ae42e6027b1fc7622000d3f762759 100644 (file)
@@ -1,4 +1,6 @@
-# $Id: text.in,v 1.4 1999/09/02 22:27:29 gecko Exp $
+# -*- mode: cperl -*-
+
+use Debbugs::Config qw(:globals);
 
 ############################################################################
 #  Here is a blurb to point people to ftp archive of directions.  It is
 # $gBadEmailPrefix  doc/bug-maint-info.txt
 # $gBadEmailPrefix";
 ############################################################################
+$gBadEmailPrefix = '' unless defined $gBadEmailPrefix;
 $gTextInstructions = "$gBadEmailPrefix";
 
 
 ############################################################################
 # Here is a blurb for any mirrors of the web site.  Here's a sample:
 #
-#$gHTMLCopies = "Copies of the logs are available on the World Wide Web at<BR>
+#$gHTMLCopies = "<p>Copies of the logs are available on the World Wide Web at<BR>
 # <A HREF=\"http://mirror1.domain\"><CODE>http://mirror1.domain</CODE></A><BR>
 # <A HREF=\"http://mirror2.domain\"><CODE>http://mirror2.domain</CODE></A>";
 ############################################################################
@@ -64,7 +67,7 @@ $gHTMLFindPackage = "";
 
 ############################################################################
 # If you have pseudo packages, place a blurb here.  For example:
-# $gHTMLPseudoDesc = "There are some pseudo-packages available for putting in
+# $gHTMLPseudoDesc = "<p>There are some pseudo-packages available for putting in
 # the <CODE>Package</CODE> line when reporting a $gBug in something other than an
 # actual $gProject software package.  There is 
 # <A HREF="db/ix/pseudopackages.html"> a list of these</A> on the $gBugs WWW 
@@ -74,7 +77,15 @@ $gHTMLPseudoDesc = "";
 
 
 ############################################################################
-# List any extra information you would like included in bug reports
+# List any extra information you would like included in bug reports. For
+# example:
+# $gXtraBugInfo = "<li>What kernel version you're using (type
+# <code>uname -a</code>), your shared C library (type <code>ls -l
+# /lib/libc.so.6</code> or <code>dpkg -s libc6 | grep ^Version</code>), and
+# any other details about your Debian system, if it seems appropriate.
+# For example, if you had a problem with a Perl script, you would want to
+# provide the version of the `perl' binary (type <code>perl -v</code> or
+# <code>dpkg -s perl-5.005 | grep ^Version:</code>).";
 ############################################################################
 $gXtraBugInfo = "";
 
@@ -106,7 +117,7 @@ $gHTMLSeverityDesc = "<DT><CODE>critical</CODE>
        where you install the package.
 
        <DT><CODE>grave</CODE>
-       <DD>makes the package in question unuseable or mostly so, or causes data
+       <DD>makes the package in question unusable or mostly so, or causes data
        loss, or introduces a security hole allowing access to the accounts of
        users who use the package.
 
@@ -117,42 +128,78 @@ $gHTMLSeverityDesc = "<DT><CODE>critical</CODE>
        <DD>for any feature request, and also for any $gBugs that are very 
        difficult to fix due to major design considerations.";
 
-       <DT><CODE>fixed</CODE>
-       <DD>fixed in the current version in the unstable archive but the fix has
-       not been fixed by the person responsible.
+############################################################################
+# Description of the tags
+############################################################################
+$gHTMLTagDesc = "
+<dt><code>patch</code>
+  <dd>A patch or some other easy procedure for fixing the $gBug is included in
+  the $gBug logs. If there\'s a patch, but it doesn\'t resolve the $gBug
+  adequately or causes some other problems, this tag should not be used.
+
+<dt><code>wontfix</code>
+  <dd>This $gBug won\'t be fixed. Possibly because this is a choice between two
+  arbitrary ways of doing things and the maintainer and submitter prefer
+  different ways of doing things, possibly because changing the behaviour
+  will cause other, worse, problems for others, or possibly for other
+  reasons.
+
+<dt><code>moreinfo</code>
+  <dd>This $gBug can\'t be addressed until more information is provided by the
+  submitter. The $gBug will be closed if the submitter doesn\'t provide more
+  information in a reasonable (few months) timeframe. This is for $gBugs like
+  \"It doesn\'t work\". What doesn\'t work?
+
+<dt><code>unreproducible</code>
+  <dd>This $gBug can\'t be reproduced on the maintainer\'s system.  Assistance
+  from third parties is needed in diagnosing the cause of the problem.
+
+<dt><code>fixed</code>
+  <dd>This $gBug is fixed or worked around, but there\'s still an issue that
+  needs to be resolved.
+
+<dt><code>stable</code>
+  <dd>This $gBug affects the stable distribution in particular.  This is only
+  intended to be used for ease in identifying release critical $gBugs that
+  affect the stable distribution.  It\'ll be replaced eventually with
+  something a little more flexible, probably.
+";
+
+############################################################################
+# shows up at the start of (most) html pages.
+############################################################################
+$gHTMLStart = "<BODY>";
 
 ############################################################################
-# shows up at the end of (most) html pages.  You shouldn't have
+# shows up at the end of (most) html pages.
 ############################################################################
-$gHTMLTail = "<HR><ADDRESS><A HREF=\"$gMaintainerWebpage\">$gMaintainer</A> /
- <A HREF=\"mailto:$gMaintainerEmail\">$gMaintainerEmail</A>.  Last modifed:
+$gHTMLTail = "
+ <ADDRESS>$gMaintainer &lt;<A HREF=\"mailto:$gMaintainerEmail\">$gMaintainerEmail</A>&gt;.
+ Last modified:
  <!--timestamp-->
  SUBSTITUTE_DTIME
  <!--timestamp-->
- (<A HREF=\"$gWebDomain/ix/zstamp.html\">timestamp page</A> available).
          
  <P>
- Debian $gBug tracking system<BR>
- copyright 1997 nCipher Corporation Ltd,<BR>
- copyright 1994-1997 Ian Jackson,<BR>
- copyright 1995 Steven Brenner.<BR>
- <A HREF=\"http://www.chiark.greenend.org.uk/~ian/debbugs/\">
- Available under the GPL.</A>
+ <A HREF=\"http://$gWebDomain/\">Debian $gBug tracking system</A><BR>
+ Copyright (C) 1999 Darren O. Benham,
+ 1997,2003 nCipher Corporation Ltd,
+ 1994-97 Ian Jackson.
  </ADDRESS>
- </BODY>
- </HTML>";
+";
 
 ############################################################################
-# Message on when reports are purged.  28 days is hardcoded.
+# Message on when reports are purged.
 ############################################################################
-$gHTMLExpireNote = "(Closed $gBugs are cleaned out 28 days after the last related message is received.)";
+$gHTMLExpireNote = "(Closed $gBugs are archived $gRemoveAge days after the last related message is received.)";
 
 ############################################################################
 # Makeup of the stamp page
 ############################################################################
-$gHTMLStamp = "<HTML><HEAD><TITLE>$gProject $gBugs - timestamp page</TITLE>
+$gHTMLStamp = "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\">
+       <HTML><HEAD><TITLE>$gProject $gBugs - timestamp page</TITLE>
        <LINK REV=\"made\" HREF=\"mailto:$gMaintainerEmail\">
-       </HEAD><BODY><H1>Is this $gBug log or mirror up to date?</H1>
+       </HEAD>$gHTMLStart<H1>Is this $gBug log or mirror up to date?</H1>
 
        Unlike all the other $gBug pages, this small timestamp page is updated every
        time the update check job runs.  If the timestamp here is recent it\'s
@@ -177,13 +224,14 @@ $gHTMLStamp = "<HTML><HEAD><TITLE>$gProject $gBugs - timestamp page</TITLE>
 ############################################################################
 # Makeup of the indices pages
 ############################################################################
-$gFullIndex = "<HTML><HEAD><TITLE>$gProject $gBugs - full index</TITLE>
+$gFullIndex = "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\">
+       <HTML><HEAD><TITLE>$gProject $gBugs - full index</TITLE>
        <LINK REV=\"make\" HREF=\"mailto:$gMaintainerEmail\">
-       </HEAD><BODY><H1>$gProject $gBug report logs - index</H1>
+       </HEAD>$gHTMLStart<H1>$gProject $gBug report logs - index</H1>
 
        This index gives access to $gBugs sent to <CODE>submit\@$gEmailDomain</CODE>
        but not yet marked as done, and to $gBugs marked as done but not yet purged
-       from the database (this happens 28 days after the last message relating to
+       from the database (this happens $gRemoveAge days after the last message relating to
        the report).
        <P>
        For other kinds of indices or for other information about $gProject and
@@ -193,26 +241,28 @@ $gFullIndex = "<HTML><HEAD><TITLE>$gProject $gBugs - full index</TITLE>
 
        ";
 
-$gJunkIndex = "<HTML><HEAD><TITLE>$gProject $gBug reports - Junk</TITLE>
+$gJunkIndex = "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\">
+       <HTML><HEAD><TITLE>$gProject $gBug reports - Junk</TITLE>
        <LINK REV=\"made\" HREF=\"$gMaintainerEmail\">
-       </HEAD><BODY><H1>$gProject $gBug reports - Junk</H1>
+       </HEAD>$gHTMLStart<H1>$gProject $gBug reports - Junk</H1>
 
        This is the index page for logs of messages not associated with a specific
        $gBug report.
        <P>
        For other kinds of indices or for other information about $gProject and
-       the $gBug system, see <A HREF=\"../../\"> $gBug system top-level contents WWW
+       the $gBug system, see <A HREF=\"../../\">$gBug system top-level contents WWW
        page</A>.
 
 
        ";
 
-$gMaintIndex = "<HTML><HEAD><TITLE>$gProject $gBug reports by maintainer</TITLE>
+$gMaintIndex = "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\">
+       <HTML><HEAD><TITLE>$gProject $gBug reports by maintainer</TITLE>
        <LINK REF=\"made\" HREF=\"mailto:$gMaintainerEmail\">
-       </HEAD><BODY><H1>$gProject $gBug reports by maintainer</H1>
+       </HEAD>$gHTMLStart<H1>$gProject $gBug reports by maintainer</H1>
 
        This page lists the package maintainers against whose packages there are
-       outstanding, fowarded or recently-closed $gBug reports.  A maintainer who
+       outstanding, forwarded or recently-closed $gBug reports.  A maintainer who
        has several versions of their email address in the <CODE>Maintainer</CODE>
        package control file field may appear several times.<P>
        If the maintainers information here is not accurate, please see 
@@ -225,11 +275,12 @@ $gMaintIndex = "<HTML><HEAD><TITLE>$gProject $gBug reports by maintainer</TITLE>
 
        ";
 
-$gPackageIndex = "<HTML><HEAD><TITLE>$gProject $gBug reports by package</TITLE>
+$gPackageIndex = "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\">
+       <HTML><HEAD><TITLE>$gProject $gBug reports by package</TITLE>
        <LINK REF=\"made\" HREF=\"mailto:$gMaintainerEmail\">
-       </HEAD><BODY><H1>$gProject $gBug reports by package</H1>
+       </HEAD>$gHTMLStart<H1>$gProject $gBug reports by package</H1>
 
-       This page lists the package against which there are outstanding, fowarded or
+       This page lists the package against which there are outstanding, forwarded or
        recently-closed $gBug reports.  A multi-binary package may appear several
        times, once for each binary package name and once for the source package
        name (if it is different).<P>
@@ -240,27 +291,31 @@ $gPackageIndex = "<HTML><HEAD><TITLE>$gProject $gBug reports by package</TITLE>
 
        ";
 
-$gSummaryIndex = "<HTML><HEAD><TITLE>$gProject $gBug report logs - summary index</TITLE>
+$gSummaryIndex = "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\">
+       <HTML><HEAD><TITLE>$gProject $gBug report logs - summary index</TITLE>
        <LINK REF=\"made\" HREF=\"mailto:$gMaintainerEmail\">
-       </HEAD><BODY><H1>$gProject $gBug report logs - summary index</H1>
+       </HEAD>$gHTMLStart<H1>$gProject $gBug report logs - summary index</H1>
 
-       This summary index breiefly lists $gBugs sent to <CODE>submit\@$gEmailDomain
-       </CODE> but not yet marked as done, or as fowarded to an upstream author.  
+       This summary index briefly lists $gBugs sent to <CODE>submit\@$gEmailDomain
+       </CODE> but not yet marked as done, or as forwarded to an upstream author.  
        Here they are sorted by reference number (and therefore by submission date, 
        too).<P>
        For other kinds of indices or for other information about $gProject and
        the $gBug system, see <A HREF=\"../../\">$gBug system top-level contents WWW
        page</A>.
 
+       <P>The * column lists the first letter of the severity of the $gBug.
+
 
        ";
 
-$gPackageLog = "<HTML><HEAD><TITLE>$gProject $gBug report logs - index by package</TITLE>
+$gPackageLog = "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\">
+       <HTML><HEAD><TITLE>$gProject $gBug report logs - index by package</TITLE>
        <LINK REF=\"made\" HREF=\"mailto:$gMaintainerEmail\">
-       </HEAD><BODY><H1>$gProject $gBug report logs - index by package</H1>
+       </HEAD>$gHTMLStart<H1>$gProject $gBug report logs - index by package</H1>
 
-       This summary index breiefly lists $gBugs sent to <CODE>submit\@$gEmailDomain
-       </CODE> but not yet marked as done, or as fowarded to an upstream author.  
+       This summary index briefly lists $gBugs sent to <CODE>submit\@$gEmailDomain
+       </CODE> but not yet marked as done, or as forwarded to an upstream author.  
        Here they are sorted by package name.<P>
        For other kinds of indices or for other information about $gProject and
        the $gBug system, see <A HREF=\"../../\">$gBug system top-level contents WWW
@@ -269,9 +324,10 @@ $gPackageLog = "<HTML><HEAD><TITLE>$gProject $gBug report logs - index by packag
 
        ";
 
-$gPseudoIndex = "<HTML><HEAD><TITLE>$gProject $gBug report pseudo-packages</TITLE>
+$gPseudoIndex = "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\">
+       <HTML><HEAD><TITLE>$gProject $gBug report pseudo-packages</TITLE>
        <LINK REF=\"made\" HREF=\"mailto:$gMaintainerEmail\">
-       </HEAD><BODY><H1>$gProject $gBug report pseudo-packages</H1>
+       </HEAD>$gHTMLStart<H1>$gProject $gBug report pseudo-packages</H1>
 
        This page lists the pseudo-packages available for use in the
        <CODE>Package:</CODE> line in $gBug reports.<P>