]> git.donarmstrong.com Git - debbugs.git/blob - UPGRADE
[project @ 2002-11-17 16:07:00 by cjwatson]
[debbugs.git] / UPGRADE
1
2                             Debbugs upgrade notes
3                            +=====================+
4
5 From 2.3 to 2.4
6 ---------------
7
8 Add the following variables to the /etc/debbugs/config file:
9
10 $gWebHost = "localhost";                                # e.g. www.debian.org
11 $gWebHostBugDir = "Bugs";                               # e.g. Bugs
12 # For now, don't change this one manually!
13 $gWebDomain = "$gWebHost/$gWebHostBugDir";
14 $gCGIDomain = "$gWebDomain/Bugs/cgi";                   # e.g. cgi.debian.org
15 $gPackagePages = "packages.debian.org";                 # e.g. packages.debian.org
16 $gMaintainerFileOverride = "$gConfigDir/Maintainers.override";
17 $gUnknownMaintainerEmail = "$gMaintainerEmail";
18 $gPackageSource = "$gConfigDir/indices/sources";
19
20 $gWebDomain will probably exist already; change it as shown above.
21
22 $gMaintainerFileOverride is the name of a file used to manually override the
23 Maintainers file (which is often automatically generated).
24
25 $gUnknownMaintainerEmail is the address to mail when a bug report arrives
26 for a package with no maintainer in $gMaintainerFile or
27 $gMaintainerFileOverride.
28
29 $gPackageSource is a file containing three tab-separated columns: package
30 name, component (e.g. main, contrib, non-free), and the corresponding source
31 package name.
32
33 Add the following variable to the /etc/debbugs/text file:
34
35 ############################################################################
36 # Description of the tags
37 ############################################################################
38 $gHTMLTagDesc = "
39 <dt><code>patch</code>
40   <dd>A patch or some other easy procedure for fixing the $gBug is included in
41   the $gBug logs. If there\'s a patch, but it doesn\'t resolve the $gBug
42   adequately or causes some other problems, this tag should not be used.
43
44 <dt><code>wontfix</code>
45   <dd>This $gBug won\'t be fixed. Possibly because this is a choice between two
46   arbitrary ways of doing things and the maintainer and submitter prefer
47   different ways of doing things, possibly because changing the behaviour
48   will cause other, worse, problems for others, or possibly for other
49   reasons.
50
51 <dt><code>moreinfo</code>
52   <dd>This $gBug can\'t be addressed until more information is provided by the
53   submitter. The $gBug will be closed if the submitter doesn\'t provide ore
54   information in a reasonable (few months) timeframe. This is for $gBugs like
55   \"It doesn\'t work\". What doesn\'t work?
56
57 <dt><code>unreproducible</code>
58   <dd>This $gBug can\'t be reproduced on the maintainer\'s system.  Assistance
59   from third parties is needed in diagnosing the cause of the problem.
60
61 <dt><code>fixed</code>
62   <dd>This $gBug is fixed or worked around, but there\'s still an issue that
63   needs to be resolved. (This will eventually replace the \"fixed\" severity)
64
65 <dt><code>stable</code>
66   <dd>This $gBug affects the stable distribution in particular.  This is only
67   intended to be used for ease in identifying release critical $gBugs that
68   affect the stable distribution.  It\'ll be replaced eventually with
69   something a little more flexible, probably.
70 ";
71
72 The bug database is now stored in a hashed directory format (db-h).  You
73 will need to migrate your database to this new format.  The
74 /usr/sbin/debbugs-dbhash program is provided to help you perform this
75 migration.
76
77 From 2.2 to 2.3
78 ---------------
79
80 There are three new scripts that have to be installed in CGI and the front
81 page (or any other search you have set up) needs to be changed to use these
82 scripts.  They are:
83         * bugreport.cgi
84         * common.pl
85         * pkgreport.cgi
86
87 Add the following variables to the /etc/debbugs/config file:
88 (the /usr/share/doc/debbugs/examples/config file can be used as a
89 reference)
90
91 $gSummaryList = "summary.list";         #debian-bugs-report@lists
92 $gSaveOldBugs = 1;
93
94 Make sure you do not have a double ,, as shown here if you're using the
95 default severities.  Also, 'fixed' was added to the default severities:
96 -                                       'normal',"Normal $gBugs",,
97 +                                       'normal',"Normal $gBugs",
98 +                                                       'fixed',"NMU Fixed $gBugs",
99  
100 These have been added to the /etc/debbugs/text file:
101 +############################################################################
102 +#  Here is a blurb to point people to ftp archive of directions.  It is
103 +#  used by the receive script when bouncing a badly formatted email
104 +#
105 +# $gTextInstructions = "$gBadEmailPrefix
106 +# $gBadEmailPrefix Instructions are available from ftp.debian.org in /debian
107 +# $gBadEmailPrefix and at all Debian mirror sites, in the files:
108 +# $gBadEmailPrefix  doc/bug-reporting.txt
109 +# $gBadEmailPrefix  doc/bug-log-access.txt
110 +# $gBadEmailPrefix  doc/bug-maint-info.txt
111 +# $gBadEmailPrefix";
112 +############################################################################
113 +$gTextInstructions = "$gBadEmailPrefix";
114 +
115 +
116  
117 $gHTMLStart = "<BODY TEXT=#0F0F0F>";    #this is used by HTML generation to create the "uniform look"
118  
119 The following code was added to /etc/debbugs/text if you use the new fixed
120 severity
121
122         <DT><CODE>wishlist</CODE>
123 -       <DD>for any feature request, and also for any $gBugs that are very difficult
124 -       to fix due to major design considerations.";
125 +       <DD>for any feature request, and also for any $gBugs that are very 
126 +       difficult to fix due to major design considerations.";
127 +
128 +       <DT><CODE>fixed</CODE>
129 +       <DD>fixed in the current version in the unstable archive but the fix has
130 +       not been fixed by the person responsible.
131   
132  In All such entries in /etc/debbugs/text, if you replace <BODY> with
133  $gHTMLStart, all html pages will have the same look (as specified in
134  $gHTMLStart):
135
136  $gSummaryIndex = "<HTML><HEAD><TITLE>$gProject $gBug report logs - summary index</TITLE>
137  $gPackageLog = "<HTML><HEAD><TITLE>$gProject $gBug report logs - index by package</TITLE>