Mercurial > emacs
annotate admin/notes/bugtracker @ 106627:3aeebdcf4921
Add some notes on the debbugs.gnu.org setup.
author | Glenn Morris <rgm@gnu.org> |
---|---|
date | Tue, 22 Dec 2009 08:07:47 +0000 |
parents | 9306e1ad9272 |
children | 30345c2102a5 |
rev | line source |
---|---|
95505 | 1 NOTES ON THE EMACS BUG TRACKER -*- outline -*- |
95445 | 2 |
106610
033513eeca72
emacsbugs.donarmstrong.com -> debbugs.gnu.org throughout.
Glenn Morris <rgm@gnu.org>
parents:
106337
diff
changeset
|
3 The Emacs Bug Tracker can be found at http://debbugs.gnu.org/ |
95445 | 4 |
106611
09979dbce827
Refer to the static bug page (rather than the dynamic one) for a list
Glenn Morris <rgm@gnu.org>
parents:
106610
diff
changeset
|
5 For a list of all bugs, see http://debbugs.gnu.org/db/pa/lemacs.html |
106612 | 6 This is a static page, updated once a day. There is also a dynamic |
7 list, generated on request, but since there are many bug reports this | |
8 is slow and not recommended. | |
95445 | 9 |
97973 | 10 ** How do I report a bug in Emacs now? |
11 The same way as you always did. Send mail to bug-gnu-emacs@gnu.org, | |
12 or use M-x report-emacs-bug. | |
13 | |
14 The only differences are: | |
15 | |
16 i) Your report will be assigned a number and generate an automatic reply. | |
17 | |
18 ii) Optionally, you can set some database parameters when you first | |
19 report a bug (see "Setting bug parameters" below). | |
20 | |
98568 | 21 iii) If you want to CC: someone, use X-Debbugs-CC: (this is important; |
22 see below). | |
97973 | 23 |
24 Once your report is filed and assigned a number, it is sent out to the | |
25 bug mailing list. In some cases, it may be appropriate to just file a | |
26 bug, without sending out a copy. To do this, send mail to | |
106610
033513eeca72
emacsbugs.donarmstrong.com -> debbugs.gnu.org throughout.
Glenn Morris <rgm@gnu.org>
parents:
106337
diff
changeset
|
27 quiet@debbugs.gnu.org. |
97973 | 28 |
29 ** How do I reply to an existing bug report? | |
106610
033513eeca72
emacsbugs.donarmstrong.com -> debbugs.gnu.org throughout.
Glenn Morris <rgm@gnu.org>
parents:
106337
diff
changeset
|
30 Reply to 123@debbugs.gnu.org, replacing 123 with the number |
98513 | 31 of the bug you are interested in. NB this only sends mail to the |
32 bug-list, it does NOT (?) send a CC to the original bug submitter. | |
33 So you need to explicitly CC him/her (and anyone else you like). | |
34 | |
35 (Many people think the submitter SHOULD be automatically subscribed | |
36 to subsequent discussion, but this does not seem to be implemented. | |
37 See http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=37078) | |
38 | |
39 Do NOT send a separate copy to the bug list, since this may generate a | |
40 new report. The only time to send mail to the bug list is to create a | |
41 new report. | |
95445 | 42 |
101597
fb07b238e55a
Update message-dont-reply-to-names section.
Glenn Morris <rgm@gnu.org>
parents:
101512
diff
changeset
|
43 Gnus users can add the following to message-dont-reply-to-names; |
fb07b238e55a
Update message-dont-reply-to-names section.
Glenn Morris <rgm@gnu.org>
parents:
101512
diff
changeset
|
44 similarly with Rmail and rmail-dont-reply-to-names: |
fb07b238e55a
Update message-dont-reply-to-names section.
Glenn Morris <rgm@gnu.org>
parents:
101512
diff
changeset
|
45 |
fb07b238e55a
Update message-dont-reply-to-names section.
Glenn Morris <rgm@gnu.org>
parents:
101512
diff
changeset
|
46 "\\(emacs-pretest-bug\\|bug-gnu-emacs\\)@gnu\\.org\\|\ |
106626
9306e1ad9272
Update some addresses for debbugs.gnu.org.
Glenn Morris <rgm@gnu.org>
parents:
106612
diff
changeset
|
47 \\(submit\\|control\\|owner\\)@debbugs\\.gnu\\.org" |
101512
80672b7f9b76
Add some addresses for rmail users to ignore.
Glenn Morris <rgm@gnu.org>
parents:
101312
diff
changeset
|
48 |
106626
9306e1ad9272
Update some addresses for debbugs.gnu.org.
Glenn Morris <rgm@gnu.org>
parents:
106612
diff
changeset
|
49 The "owner@debbugs.gnu.org" entry is there because it appears in the |
9306e1ad9272
Update some addresses for debbugs.gnu.org.
Glenn Morris <rgm@gnu.org>
parents:
106612
diff
changeset
|
50 "Resent-To" header. For a long time Rmail erroneously included such |
9306e1ad9272
Update some addresses for debbugs.gnu.org.
Glenn Morris <rgm@gnu.org>
parents:
106612
diff
changeset
|
51 headers in replies. If you correspond with an Rmail user on a bug, |
9306e1ad9272
Update some addresses for debbugs.gnu.org.
Glenn Morris <rgm@gnu.org>
parents:
106612
diff
changeset
|
52 these addresses may end up in the Cc. Mailing to them does nothing |
9306e1ad9272
Update some addresses for debbugs.gnu.org.
Glenn Morris <rgm@gnu.org>
parents:
106612
diff
changeset
|
53 but create duplicates and errors. (It is possible you might want to |
9306e1ad9272
Update some addresses for debbugs.gnu.org.
Glenn Morris <rgm@gnu.org>
parents:
106612
diff
changeset
|
54 have a dialog with the owner address, outside of normal bug |
9306e1ad9272
Update some addresses for debbugs.gnu.org.
Glenn Morris <rgm@gnu.org>
parents:
106612
diff
changeset
|
55 reporting.) |
100191 | 56 |
96482 | 57 ** When reporting a bug, to send a Cc to another address |
98568 | 58 (e.g. bug-cc-mode@gnu.org), do NOT just use a Cc: header. |
96482 | 59 Instead, use "X-Debbugs-CC:". This ensures the Cc address will get a |
98568 | 60 mail with the bug report number in. If you do not do this, each reply |
61 in the subsequent discussion will end up creating a new bug. This is | |
62 annoying. | |
95486 | 63 |
102276 | 64 Note that the way this feature works is perhaps not ideal (Bug#1720). |
65 If X-Debbugs-CC: was specifed by a real header, that header is removed | |
66 in the mail sent out to the bug list, and the addresses merged into | |
67 the Resent-CC header (see below). They don't appear as an explicit CC: | |
68 header, nor do they appear in the Reply-To: header. So people you | |
69 X-Debbugs-CC are not included in any following discussion unless they are | |
70 manually cc'd. So this feature really only serves to notify them that | |
71 a bug has been filed. It's then up to them to follow any subsequent | |
72 discussion. | |
73 | |
74 If X-Debbugs-CC were merged into the Reply-To header, this might work | |
75 more the way people expect. | |
76 | |
77 ** How does Debbugs send out mails? | |
78 | |
79 The mails are sent out to the bug list with From: and To: unchanged. | |
106610
033513eeca72
emacsbugs.donarmstrong.com -> debbugs.gnu.org throughout.
Glenn Morris <rgm@gnu.org>
parents:
106337
diff
changeset
|
80 Eg if you file a bug with "submit@debbugs.gnu.org", that |
102276 | 81 remains in the To: address. They reach the bug list by being resent. |
82 | |
83 Mails arriving at the bug list have the following Resent-* headers: | |
84 | |
85 Resent-From: person who submitted the bug | |
106626
9306e1ad9272
Update some addresses for debbugs.gnu.org.
Glenn Morris <rgm@gnu.org>
parents:
106612
diff
changeset
|
86 Resent-To: owner@debbugs.gnu.org |
102276 | 87 Resent-CC: maintainer email address, plus any X-Debbugs-CC: entries |
88 | |
106626
9306e1ad9272
Update some addresses for debbugs.gnu.org.
Glenn Morris <rgm@gnu.org>
parents:
106612
diff
changeset
|
89 The "maintainer email address" is "bug-gnu-emacs@gnu.org" in most cases. |
102276 | 90 |
91 They also have: | |
92 | |
106626
9306e1ad9272
Update some addresses for debbugs.gnu.org.
Glenn Morris <rgm@gnu.org>
parents:
106612
diff
changeset
|
93 Reply-To: bug submitter, 123@debbugs.gnu.org |
9306e1ad9272
Update some addresses for debbugs.gnu.org.
Glenn Morris <rgm@gnu.org>
parents:
106612
diff
changeset
|
94 Mail-Followup-To: bug submitter, 123@debbugs.gnu.org |
102276 | 95 |
95505 | 96 ** To not get acknowledgement mail from the tracker, |
98513 | 97 add an "X-Debbugs-No-Ack:" header (with any value). If you use Gnus, |
98 you can add an element to gnus-posting-styles to do this automatically, eg: | |
99 | |
100 ("gnu-emacs\\(-pretest\\)?-bug" | |
101 ("X-Debbugs-No-Ack" "yes")) | |
102 | |
103 (adjust the regexp according to the name you use for the bug lists) | |
95486 | 104 |
96467 | 105 ** To record a bug in the tracker without sending mail to the bug list. |
106 This can be useful to make a note of something discussed on | |
96468 | 107 emacs-devel that needs fixing. In other words, this can be the |
108 equivalent of adding something to FOR-RELEASE. | |
96467 | 109 |
106610
033513eeca72
emacsbugs.donarmstrong.com -> debbugs.gnu.org throughout.
Glenn Morris <rgm@gnu.org>
parents:
106337
diff
changeset
|
110 To: quiet@debbugs.gnu.org |
96467 | 111 [headers end] |
112 Package: emacs | |
113 Version: 23.0.60 | |
114 Severity: minor | |
115 | |
116 Remember to fix FOO, as discussed on emacs-devel at http://... . | |
117 | |
96401 | 118 ** Not interested in tracker control messages (tags being set, etc)? |
119 Discard mails matching: | |
120 | |
121 ^X-Emacs-PR-Message: transcript | |
122 | |
96402 | 123 When you close a bug, you get a message matching: |
124 | |
125 ^X-Emacs-PR-Message: closed | |
126 | |
96401 | 127 ** How to avoid multiple copies of mails. |
128 When you reply to a bug, respect the Reply-To address, ie send mail | |
129 only to the submitter address and the numbered bug address. Do not | |
130 send mail direct to bug-gnu-emacs or emacs-pretest-bug unless you are | |
131 reporting a new bug. | |
132 | |
95505 | 133 ** To close bug #123 (for example), send mail |
95486 | 134 |
106610
033513eeca72
emacsbugs.donarmstrong.com -> debbugs.gnu.org throughout.
Glenn Morris <rgm@gnu.org>
parents:
106337
diff
changeset
|
135 To: 123-done@debbugs.gnu.org |
95445 | 136 |
137 with a brief explanation in the body as to why the bug was closed. | |
106005
d44e34269048
No need to cc on -done messages.
Glenn Morris <rgm@gnu.org>
parents:
104535
diff
changeset
|
138 There is no need to cc the address without the "-done" part or the |
d44e34269048
No need to cc on -done messages.
Glenn Morris <rgm@gnu.org>
parents:
104535
diff
changeset
|
139 submitter; they get copies anyway so this will just result in more |
d44e34269048
No need to cc on -done messages.
Glenn Morris <rgm@gnu.org>
parents:
104535
diff
changeset
|
140 duplicate mail. |
95445 | 141 |
96482 | 142 ** Setting bug parameters. |
143 There are two ways to set the parameters of bugs in the database | |
144 (tags, severity level, etc). When you report a new bug, you can | |
145 provide a "pseudo-header" at the start of the report, eg: | |
95445 | 146 |
96482 | 147 Package: emacs |
148 Version: 23.0.60 | |
149 Severity: minor | |
95505 | 150 |
97973 | 151 Optionally, add a sub-package, eg Package: emacs,calendar. |
97782 | 152 This can include tags. Some things (e.g. submitter) don't seem to |
153 work here. | |
154 | |
106610
033513eeca72
emacsbugs.donarmstrong.com -> debbugs.gnu.org throughout.
Glenn Morris <rgm@gnu.org>
parents:
106337
diff
changeset
|
155 Otherwise, send mail to the control server, control@debbugs.gnu.org. |
96482 | 156 At the start of the message body, supply the desired commands, one per |
157 line: | |
95505 | 158 |
96482 | 159 command bug-number [arguments] |
160 ... | |
161 quit|stop|thank|thanks|thankyou|thank you | |
95473 | 162 |
96482 | 163 The control server ignores anything after the last line above. So you |
164 can place control commands at the beginning of a reply to a bug | |
96506 | 165 report, and Bcc: the control server (note the commands have no effect |
166 if you just send them to the bug-report number). Bcc: is better than Cc: | |
167 in case people use Reply-to-All in response. | |
95473 | 168 |
96482 | 169 Some useful control commands: |
170 | |
171 *** To reopen a closed bug: | |
172 reopen 123 | |
173 | |
174 *** Bugs can be tagged in various ways (eg wontfix, patch, etc). | |
96506 | 175 The available tags are: |
176 patch wontfix moreinfo unreproducible fixed notabug | |
106610
033513eeca72
emacsbugs.donarmstrong.com -> debbugs.gnu.org throughout.
Glenn Morris <rgm@gnu.org>
parents:
106337
diff
changeset
|
177 Note that the list at http://debbugs.gnu.org/Developer#tags |
96506 | 178 is incorrect, at least for Emacs. |
179 The list of tags can be prefixed with +, - or =, meaning to add (the | |
180 default), remove, or reset the tags. E.g.: | |
95445 | 181 |
96506 | 182 tags 123 + wontfix |
95505 | 183 |
106337 | 184 ** Usertags |
185 | |
186 See <http://wiki.debian.org/bugs.debian.org/usertags> | |
187 | |
188 "Usertags" are very similar to tags: a set of labels that can be added | |
189 to a bug. There are two differences between normal tags and user | |
190 tags: | |
191 | |
192 1) Anyone can define any valid usertag they like. In contrast, only a | |
193 limited, predefined set of normal tags are available (see above). | |
194 | |
195 2) A usertag is associated with a specific email address. | |
196 | |
197 You set usertags in the same way as tags, by talking to the control | |
198 server. One difference is that you can also specify the associated | |
199 email address. If you don't explicitly specify an address, then it | |
200 will use the one from which you send the control message. The address | |
201 must have the form of an email address (with an "@" sign and least 4 | |
202 characters after the "@"). | |
203 | |
204 *** Setting usertags | |
205 | |
206 a) In a control message: | |
207 | |
208 user bug-gnu-emacs@gnu.org | |
209 usertags 1234 any-tag-you-like | |
210 | |
211 This will add a usertag "any-tag-you-like" to bug 1234. The tag will | |
212 be associated with the address "bug-gnu-emacs@gnu.org". If you omit | |
213 the first line, the tag will be associated with your email address. | |
214 | |
215 The syntax of the usertags command is the same as that of tags (eg wrt | |
216 the optional [=+-] argument). | |
217 | |
218 b) In an initial submission, in the pseudo-header: | |
219 | |
220 User: bug-gnu-emacs@gnu.org | |
221 Usertags: a-new-tag | |
222 | |
223 Again, the "User" is optional. | |
224 | |
225 *** Searching by usertags | |
226 | |
227 The search interface is not as advanced as for normal tags. You need | |
228 to construct the relevant url yourself rather than just typing in a | |
229 search box. The only piece you really need to add is the "users" | |
230 portion, the rest has the same syntax as normal. | |
231 | |
232 **** To find all bugs usertagged by a given email address: | |
233 | |
234 http://debbugs.gnu.org/cgi/pkgreport.cgi?users=bug-gnu-emacs@gnu.org | |
235 | |
236 (Supposedly, the "users" field can be a comma-separated list of more | |
237 than one email address, but it does not seem to work for me.) | |
238 | |
239 **** To find bugs tagged with a specific usertag: | |
240 | |
241 This works just like a normal tags search, but with the addition of a | |
242 "users" field. Eg: | |
243 | |
244 http://debbugs.gnu.org/cgi/pkgreport.cgi?users=bug-gnu-emacs@gnu.org;tag=calendar | |
245 | |
96482 | 246 *** To merge bugs: |
247 Eg when bad replies create a bunch of new bugs for the same report. | |
104535
31a925451502
How to reassign a bug to a list of packages.
Eli Zaretskii <eliz@gnu.org>
parents:
102558
diff
changeset
|
248 Bugs must all be in the same state (e.g. same package(s) and severity |
31a925451502
How to reassign a bug to a list of packages.
Eli Zaretskii <eliz@gnu.org>
parents:
102558
diff
changeset
|
249 -- see `reassign' and `severity' below), but need not have the same |
31a925451502
How to reassign a bug to a list of packages.
Eli Zaretskii <eliz@gnu.org>
parents:
102558
diff
changeset
|
250 tags (tags are merged). E.g.: |
95505 | 251 |
96482 | 252 merge 123 124 125 ... |
96389 | 253 |
97989 | 254 Note that merging does not affect titles. In particular, a "retitle" |
255 of merged bugs only affects individual bugs, not all of them. | |
256 | |
96482 | 257 *** Forcing a merge: |
97989 | 258 Like `merge', but bugs need not be in the same state. The packages |
104535
31a925451502
How to reassign a bug to a list of packages.
Eli Zaretskii <eliz@gnu.org>
parents:
102558
diff
changeset
|
259 must still match though (see `reassign' below). The first one listed |
31a925451502
How to reassign a bug to a list of packages.
Eli Zaretskii <eliz@gnu.org>
parents:
102558
diff
changeset
|
260 is the master. E.g.: |
96469 | 261 |
96482 | 262 forcemerge 123 124 125 ... |
96469 | 263 |
100191 | 264 Note: you cannot merge with an archived bug - you must unarchive it first. |
265 | |
97713 | 266 *** To unmerge bugs: |
267 To disconnect a bug from all bugs it is merged with: | |
268 | |
269 unmerge 123 | |
270 | |
271 This command accepts only one bug number. | |
272 | |
98523 | 273 *** To clone bugs: |
274 Useful when one report refers to more than one bug. | |
275 | |
276 clone 123 -1 [-2 ...] | |
277 retitle -1 second bug | |
278 retitle -2 third bug | |
279 | |
280 The negative numbers provide a way to refer to the cloned bugs (which | |
281 will be assigned proper numbers). | |
282 | |
101763 | 283 NB you cannot clone a merged bug. You'd think that trying to do so |
284 would just give you an unmerged copy of the specified bug number, but no: | |
285 | |
286 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=474742 | |
287 | |
288 You must unmerge, clone, then re-merge. | |
289 | |
96482 | 290 *** To set severity: |
291 severity 123 critical|grave|serious|important|normal|minor|wishlist | |
96389 | 292 |
106610
033513eeca72
emacsbugs.donarmstrong.com -> debbugs.gnu.org throughout.
Glenn Morris <rgm@gnu.org>
parents:
106337
diff
changeset
|
293 See http://debbugs.gnu.org/Developer#severities for the meanings. |
96447 | 294 |
97931 | 295 *** To set the owner of a bug: |
96482 | 296 owner 123 A Hacker <none@example.com> |
96447 | 297 |
298 The shorthand `!' means your own address. | |
299 | |
97931 | 300 *** To remove the owner of a bug: |
301 noowner 123 | |
302 | |
96482 | 303 *** To mark a bug as fixed in a particular version: |
304 fixed 123 23.0.60 | |
96447 | 305 |
96506 | 306 *** To remove a "fixed" mark: |
307 notfixed 123 23.0.60 | |
308 | |
104535
31a925451502
How to reassign a bug to a list of packages.
Eli Zaretskii <eliz@gnu.org>
parents:
102558
diff
changeset
|
309 *** To assign or reassign a bug to a package or list of packages: |
31a925451502
How to reassign a bug to a list of packages.
Eli Zaretskii <eliz@gnu.org>
parents:
102558
diff
changeset
|
310 reassign 1234 emacs,cc-mode |
31a925451502
How to reassign a bug to a list of packages.
Eli Zaretskii <eliz@gnu.org>
parents:
102558
diff
changeset
|
311 |
96482 | 312 ** To remove spam from the tracker, move it to the `spam' pseudo-package: |
313 reassign 123 spam | |
97753 | 314 |
315 ** To change the title of a bug: | |
316 retitle 123 Some New Title | |
317 | |
318 ** To change the submitter address: | |
319 submitter 123 none@example.com | |
97782 | 320 |
321 Note that it does not seem to work to specify "Submitter:" in the | |
322 pseudo-header when first reporting a bug. | |
100967 | 323 |
324 ** How does archiving work? | |
325 You can still send mail to a bug after it is closed. After 28 days with | |
326 no activity, the bug is archived, at which point no more changes can | |
327 be made. If you try to send mail to the bug after that (or merge with | |
328 it), it will be rejected. To make any changes, you must unarchive it first: | |
329 | |
330 unarchive 123 | |
331 | |
332 The bug will be re-archived after the next 28 day period of no activity. | |
101312
9dea7f9ad305
Mention limiting number of bugs displayed on web-page.
Glenn Morris <rgm@gnu.org>
parents:
101299
diff
changeset
|
333 |
9dea7f9ad305
Mention limiting number of bugs displayed on web-page.
Glenn Morris <rgm@gnu.org>
parents:
101299
diff
changeset
|
334 ** The web-page with the list of bugs is slow to load |
9dea7f9ad305
Mention limiting number of bugs displayed on web-page.
Glenn Morris <rgm@gnu.org>
parents:
101299
diff
changeset
|
335 |
9dea7f9ad305
Mention limiting number of bugs displayed on web-page.
Glenn Morris <rgm@gnu.org>
parents:
101299
diff
changeset
|
336 It's a function of the number of displayed bugs. You can speed things |
9dea7f9ad305
Mention limiting number of bugs displayed on web-page.
Glenn Morris <rgm@gnu.org>
parents:
101299
diff
changeset
|
337 up by only looking at the newest 100 bugs: |
9dea7f9ad305
Mention limiting number of bugs displayed on web-page.
Glenn Morris <rgm@gnu.org>
parents:
101299
diff
changeset
|
338 |
106610
033513eeca72
emacsbugs.donarmstrong.com -> debbugs.gnu.org throughout.
Glenn Morris <rgm@gnu.org>
parents:
106337
diff
changeset
|
339 http://debbugs.gnu.org/cgi-bin/pkgreport.cgi?newest=100;package=emacs |
101312
9dea7f9ad305
Mention limiting number of bugs displayed on web-page.
Glenn Morris <rgm@gnu.org>
parents:
101299
diff
changeset
|
340 |
9dea7f9ad305
Mention limiting number of bugs displayed on web-page.
Glenn Morris <rgm@gnu.org>
parents:
101299
diff
changeset
|
341 The above page is accessible from the "Options" section at the end of |
9dea7f9ad305
Mention limiting number of bugs displayed on web-page.
Glenn Morris <rgm@gnu.org>
parents:
101299
diff
changeset
|
342 the "main list of bugs" page. Select bugs "in package" = emacs; |
9dea7f9ad305
Mention limiting number of bugs displayed on web-page.
Glenn Morris <rgm@gnu.org>
parents:
101299
diff
changeset
|
343 "newest bugs" = 100. (I have no idea how you get to that Options |
9dea7f9ad305
Mention limiting number of bugs displayed on web-page.
Glenn Morris <rgm@gnu.org>
parents:
101299
diff
changeset
|
344 section without having to go through the bug list page first...) |
101597
fb07b238e55a
Update message-dont-reply-to-names section.
Glenn Morris <rgm@gnu.org>
parents:
101512
diff
changeset
|
345 |
fb07b238e55a
Update message-dont-reply-to-names section.
Glenn Morris <rgm@gnu.org>
parents:
101512
diff
changeset
|
346 ** Mails to the bug tracker disappear |
fb07b238e55a
Update message-dont-reply-to-names section.
Glenn Morris <rgm@gnu.org>
parents:
101512
diff
changeset
|
347 |
fb07b238e55a
Update message-dont-reply-to-names section.
Glenn Morris <rgm@gnu.org>
parents:
101512
diff
changeset
|
348 Apparently it has some kind of spam filter that sometimes silently |
fb07b238e55a
Update message-dont-reply-to-names section.
Glenn Morris <rgm@gnu.org>
parents:
101512
diff
changeset
|
349 discards valid mails. Adding a subject (pointless in control messages) |
fb07b238e55a
Update message-dont-reply-to-names section.
Glenn Morris <rgm@gnu.org>
parents:
101512
diff
changeset
|
350 may help. |
101949
3d4ab04238a6
Add some gnus stuff from emacs-devel.
Glenn Morris <rgm@gnu.org>
parents:
101763
diff
changeset
|
351 |
102558
47e37f294247
Mention some ChangeLog issues.
Glenn Morris <rgm@gnu.org>
parents:
102276
diff
changeset
|
352 ** ChangeLog issues |
47e37f294247
Mention some ChangeLog issues.
Glenn Morris <rgm@gnu.org>
parents:
102276
diff
changeset
|
353 |
47e37f294247
Mention some ChangeLog issues.
Glenn Morris <rgm@gnu.org>
parents:
102276
diff
changeset
|
354 *** When you fix a bug, it can be helpful to put the bug number in the |
47e37f294247
Mention some ChangeLog issues.
Glenn Morris <rgm@gnu.org>
parents:
102276
diff
changeset
|
355 ChangeLog entry, for example: |
47e37f294247
Mention some ChangeLog issues.
Glenn Morris <rgm@gnu.org>
parents:
102276
diff
changeset
|
356 |
47e37f294247
Mention some ChangeLog issues.
Glenn Morris <rgm@gnu.org>
parents:
102276
diff
changeset
|
357 * foo.el (foofunc): Fix the `foo' case. (Bug#123) |
47e37f294247
Mention some ChangeLog issues.
Glenn Morris <rgm@gnu.org>
parents:
102276
diff
changeset
|
358 |
47e37f294247
Mention some ChangeLog issues.
Glenn Morris <rgm@gnu.org>
parents:
102276
diff
changeset
|
359 Then the relevant bug can be found for easy reference. If it's an |
47e37f294247
Mention some ChangeLog issues.
Glenn Morris <rgm@gnu.org>
parents:
102276
diff
changeset
|
360 obvious fix (e.g. a typo), there's no need to clutter the log with the |
47e37f294247
Mention some ChangeLog issues.
Glenn Morris <rgm@gnu.org>
parents:
102276
diff
changeset
|
361 bug number. |
47e37f294247
Mention some ChangeLog issues.
Glenn Morris <rgm@gnu.org>
parents:
102276
diff
changeset
|
362 |
47e37f294247
Mention some ChangeLog issues.
Glenn Morris <rgm@gnu.org>
parents:
102276
diff
changeset
|
363 Similarly, when you close a bug, it can be helpful to include the |
47e37f294247
Mention some ChangeLog issues.
Glenn Morris <rgm@gnu.org>
parents:
102276
diff
changeset
|
364 relevant ChangeLog entry in the message to the bug tracker, so people |
47e37f294247
Mention some ChangeLog issues.
Glenn Morris <rgm@gnu.org>
parents:
102276
diff
changeset
|
365 can see eaxctly what the fix was. |
47e37f294247
Mention some ChangeLog issues.
Glenn Morris <rgm@gnu.org>
parents:
102276
diff
changeset
|
366 |
47e37f294247
Mention some ChangeLog issues.
Glenn Morris <rgm@gnu.org>
parents:
102276
diff
changeset
|
367 *** bug-reference-mode |
47e37f294247
Mention some ChangeLog issues.
Glenn Morris <rgm@gnu.org>
parents:
102276
diff
changeset
|
368 |
47e37f294247
Mention some ChangeLog issues.
Glenn Morris <rgm@gnu.org>
parents:
102276
diff
changeset
|
369 Activate `bug-reference-mode' in ChangeLogs to get clickable links to |
47e37f294247
Mention some ChangeLog issues.
Glenn Morris <rgm@gnu.org>
parents:
102276
diff
changeset
|
370 the bug web-pages. |
47e37f294247
Mention some ChangeLog issues.
Glenn Morris <rgm@gnu.org>
parents:
102276
diff
changeset
|
371 |
106113 | 372 *** Debian stuff |
373 | |
374 http://lists.gnu.org/archive/html/emacs-devel/2009-11/msg00440.html | |
375 | |
101949
3d4ab04238a6
Add some gnus stuff from emacs-devel.
Glenn Morris <rgm@gnu.org>
parents:
101763
diff
changeset
|
376 ** Gnus-specific voodoo |
3d4ab04238a6
Add some gnus stuff from emacs-devel.
Glenn Morris <rgm@gnu.org>
parents:
101763
diff
changeset
|
377 |
3d4ab04238a6
Add some gnus stuff from emacs-devel.
Glenn Morris <rgm@gnu.org>
parents:
101763
diff
changeset
|
378 *** Put point on a bug-number and try: M-x gnus-read-ephemeral-emacs-bug-group |
3d4ab04238a6
Add some gnus stuff from emacs-devel.
Glenn Morris <rgm@gnu.org>
parents:
101763
diff
changeset
|
379 |
3d4ab04238a6
Add some gnus stuff from emacs-devel.
Glenn Morris <rgm@gnu.org>
parents:
101763
diff
changeset
|
380 *** If the above is not available: |
3d4ab04238a6
Add some gnus stuff from emacs-devel.
Glenn Morris <rgm@gnu.org>
parents:
101763
diff
changeset
|
381 (add-hook 'gnus-article-mode-hook |
3d4ab04238a6
Add some gnus stuff from emacs-devel.
Glenn Morris <rgm@gnu.org>
parents:
101763
diff
changeset
|
382 (lambda () |
106610
033513eeca72
emacsbugs.donarmstrong.com -> debbugs.gnu.org throughout.
Glenn Morris <rgm@gnu.org>
parents:
106337
diff
changeset
|
383 (setq bug-reference-url-format "http://debbugs.gnu.org/%s") |
101949
3d4ab04238a6
Add some gnus stuff from emacs-devel.
Glenn Morris <rgm@gnu.org>
parents:
101763
diff
changeset
|
384 (bug-reference-mode 1))) |
3d4ab04238a6
Add some gnus stuff from emacs-devel.
Glenn Morris <rgm@gnu.org>
parents:
101763
diff
changeset
|
385 |
3d4ab04238a6
Add some gnus stuff from emacs-devel.
Glenn Morris <rgm@gnu.org>
parents:
101763
diff
changeset
|
386 and you can click on the bug number in the subject header. |
106627
3aeebdcf4921
Add some notes on the debbugs.gnu.org setup.
Glenn Morris <rgm@gnu.org>
parents:
106626
diff
changeset
|
387 |
3aeebdcf4921
Add some notes on the debbugs.gnu.org setup.
Glenn Morris <rgm@gnu.org>
parents:
106626
diff
changeset
|
388 |
3aeebdcf4921
Add some notes on the debbugs.gnu.org setup.
Glenn Morris <rgm@gnu.org>
parents:
106626
diff
changeset
|
389 * Technical Notes |
3aeebdcf4921
Add some notes on the debbugs.gnu.org setup.
Glenn Morris <rgm@gnu.org>
parents:
106626
diff
changeset
|
390 |
3aeebdcf4921
Add some notes on the debbugs.gnu.org setup.
Glenn Morris <rgm@gnu.org>
parents:
106626
diff
changeset
|
391 The following are technical notes on how it works. These are just for |
3aeebdcf4921
Add some notes on the debbugs.gnu.org setup.
Glenn Morris <rgm@gnu.org>
parents:
106626
diff
changeset
|
392 reference, you don't need to read these as a user of the system. |
3aeebdcf4921
Add some notes on the debbugs.gnu.org setup.
Glenn Morris <rgm@gnu.org>
parents:
106626
diff
changeset
|
393 |
3aeebdcf4921
Add some notes on the debbugs.gnu.org setup.
Glenn Morris <rgm@gnu.org>
parents:
106626
diff
changeset
|
394 Getting mail from the Emacs bug list into the tracker requires the |
3aeebdcf4921
Add some notes on the debbugs.gnu.org setup.
Glenn Morris <rgm@gnu.org>
parents:
106626
diff
changeset
|
395 assistance of sysadmin at gnu.org. The test tracker set-up was, I |
3aeebdcf4921
Add some notes on the debbugs.gnu.org setup.
Glenn Morris <rgm@gnu.org>
parents:
106626
diff
changeset
|
396 think, [gnu.org #359140]: |
3aeebdcf4921
Add some notes on the debbugs.gnu.org setup.
Glenn Morris <rgm@gnu.org>
parents:
106626
diff
changeset
|
397 http://lists.gnu.org/archive/html/savannah-hackers/2008-03/msg00074.html |
3aeebdcf4921
Add some notes on the debbugs.gnu.org setup.
Glenn Morris <rgm@gnu.org>
parents:
106626
diff
changeset
|
398 http://lists.gnu.org/archive/html/savannah-hackers/2008-04/msg00034.html |
3aeebdcf4921
Add some notes on the debbugs.gnu.org setup.
Glenn Morris <rgm@gnu.org>
parents:
106626
diff
changeset
|
399 |
3aeebdcf4921
Add some notes on the debbugs.gnu.org setup.
Glenn Morris <rgm@gnu.org>
parents:
106626
diff
changeset
|
400 ** The debbugs.gnu.org setup was handled in [gnu.org #510605]. |
3aeebdcf4921
Add some notes on the debbugs.gnu.org setup.
Glenn Morris <rgm@gnu.org>
parents:
106626
diff
changeset
|
401 There are two pieces (replace AT with @ in the following): |
3aeebdcf4921
Add some notes on the debbugs.gnu.org setup.
Glenn Morris <rgm@gnu.org>
parents:
106626
diff
changeset
|
402 |
3aeebdcf4921
Add some notes on the debbugs.gnu.org setup.
Glenn Morris <rgm@gnu.org>
parents:
106626
diff
changeset
|
403 i) fencepost has an /etc/aliases entry: |
3aeebdcf4921
Add some notes on the debbugs.gnu.org setup.
Glenn Morris <rgm@gnu.org>
parents:
106626
diff
changeset
|
404 emacs-pretest-bug: submit AT debbugs.gnu.org |
3aeebdcf4921
Add some notes on the debbugs.gnu.org setup.
Glenn Morris <rgm@gnu.org>
parents:
106626
diff
changeset
|
405 |
3aeebdcf4921
Add some notes on the debbugs.gnu.org setup.
Glenn Morris <rgm@gnu.org>
parents:
106626
diff
changeset
|
406 ii) An exim router: |
3aeebdcf4921
Add some notes on the debbugs.gnu.org setup.
Glenn Morris <rgm@gnu.org>
parents:
106626
diff
changeset
|
407 emacsbugs_router: |
3aeebdcf4921
Add some notes on the debbugs.gnu.org setup.
Glenn Morris <rgm@gnu.org>
parents:
106626
diff
changeset
|
408 driver = redirect |
3aeebdcf4921
Add some notes on the debbugs.gnu.org setup.
Glenn Morris <rgm@gnu.org>
parents:
106626
diff
changeset
|
409 senders = !Debian-debbugs AT debbugs.gnu.org |
3aeebdcf4921
Add some notes on the debbugs.gnu.org setup.
Glenn Morris <rgm@gnu.org>
parents:
106626
diff
changeset
|
410 local_parts = bug-gnu-emacs |
3aeebdcf4921
Add some notes on the debbugs.gnu.org setup.
Glenn Morris <rgm@gnu.org>
parents:
106626
diff
changeset
|
411 domains = gnu.org |
3aeebdcf4921
Add some notes on the debbugs.gnu.org setup.
Glenn Morris <rgm@gnu.org>
parents:
106626
diff
changeset
|
412 data = submit AT debbugs.gnu.org |
3aeebdcf4921
Add some notes on the debbugs.gnu.org setup.
Glenn Morris <rgm@gnu.org>
parents:
106626
diff
changeset
|
413 |
3aeebdcf4921
Add some notes on the debbugs.gnu.org setup.
Glenn Morris <rgm@gnu.org>
parents:
106626
diff
changeset
|
414 This says, for mail arriving at bug-gnu-emacs, only allow it through |
3aeebdcf4921
Add some notes on the debbugs.gnu.org setup.
Glenn Morris <rgm@gnu.org>
parents:
106626
diff
changeset
|
415 to the list if it was sent from debbugs.gnu.org. Otherwise, send |
3aeebdcf4921
Add some notes on the debbugs.gnu.org setup.
Glenn Morris <rgm@gnu.org>
parents:
106626
diff
changeset
|
416 it to the submit address at the bug-tracker. |
3aeebdcf4921
Add some notes on the debbugs.gnu.org setup.
Glenn Morris <rgm@gnu.org>
parents:
106626
diff
changeset
|
417 |
3aeebdcf4921
Add some notes on the debbugs.gnu.org setup.
Glenn Morris <rgm@gnu.org>
parents:
106626
diff
changeset
|
418 FIXME There's probably an issue with the mail-news gateway here that |
3aeebdcf4921
Add some notes on the debbugs.gnu.org setup.
Glenn Morris <rgm@gnu.org>
parents:
106626
diff
changeset
|
419 still needs to be addressed (bug#936). |
3aeebdcf4921
Add some notes on the debbugs.gnu.org setup.
Glenn Morris <rgm@gnu.org>
parents:
106626
diff
changeset
|
420 |
3aeebdcf4921
Add some notes on the debbugs.gnu.org setup.
Glenn Morris <rgm@gnu.org>
parents:
106626
diff
changeset
|
421 ** fencepost's /etc/exim4/local_domains configuration needs a line |
3aeebdcf4921
Add some notes on the debbugs.gnu.org setup.
Glenn Morris <rgm@gnu.org>
parents:
106626
diff
changeset
|
422 !debbugs.gnu.org adding [gnu.org #503532]. Otherwise people on |
3aeebdcf4921
Add some notes on the debbugs.gnu.org setup.
Glenn Morris <rgm@gnu.org>
parents:
106626
diff
changeset
|
423 fencepost can't report bugs, since *.gnu.org addresses are assumed to |
3aeebdcf4921
Add some notes on the debbugs.gnu.org setup.
Glenn Morris <rgm@gnu.org>
parents:
106626
diff
changeset
|
424 be handled locally on fencepost, unless otherwise specified. |
3aeebdcf4921
Add some notes on the debbugs.gnu.org setup.
Glenn Morris <rgm@gnu.org>
parents:
106626
diff
changeset
|
425 |
3aeebdcf4921
Add some notes on the debbugs.gnu.org setup.
Glenn Morris <rgm@gnu.org>
parents:
106626
diff
changeset
|
426 ** All mail arriving at debbugs.gnu.org is first run through SpamAssassin. |
3aeebdcf4921
Add some notes on the debbugs.gnu.org setup.
Glenn Morris <rgm@gnu.org>
parents:
106626
diff
changeset
|
427 Obvious spam is rejected, the rest is sent on to the moderated list |
3aeebdcf4921
Add some notes on the debbugs.gnu.org setup.
Glenn Morris <rgm@gnu.org>
parents:
106626
diff
changeset
|
428 debbugs-submit. Approved mail is passed on to the tracker. |
3aeebdcf4921
Add some notes on the debbugs.gnu.org setup.
Glenn Morris <rgm@gnu.org>
parents:
106626
diff
changeset
|
429 |
3aeebdcf4921
Add some notes on the debbugs.gnu.org setup.
Glenn Morris <rgm@gnu.org>
parents:
106626
diff
changeset
|
430 NOTE: An alternative to this would be to use listhelper AT nongnu.org |
3aeebdcf4921
Add some notes on the debbugs.gnu.org setup.
Glenn Morris <rgm@gnu.org>
parents:
106626
diff
changeset
|
431 as a moderator address. Eg the emacs-bug-tracker list uses this. |
3aeebdcf4921
Add some notes on the debbugs.gnu.org setup.
Glenn Morris <rgm@gnu.org>
parents:
106626
diff
changeset
|
432 It does basic spam processing on the moderator requests and |
3aeebdcf4921
Add some notes on the debbugs.gnu.org setup.
Glenn Morris <rgm@gnu.org>
parents:
106626
diff
changeset
|
433 automatically rejects the obviously bogus ones. Someone still has to |
3aeebdcf4921
Add some notes on the debbugs.gnu.org setup.
Glenn Morris <rgm@gnu.org>
parents:
106626
diff
changeset
|
434 accept the good ones though. The advantage of this would not be having |
3aeebdcf4921
Add some notes on the debbugs.gnu.org setup.
Glenn Morris <rgm@gnu.org>
parents:
106626
diff
changeset
|
435 to run and tune our own spam filter. See |
3aeebdcf4921
Add some notes on the debbugs.gnu.org setup.
Glenn Morris <rgm@gnu.org>
parents:
106626
diff
changeset
|
436 http://savannah.nongnu.org/projects/listhelper |
3aeebdcf4921
Add some notes on the debbugs.gnu.org setup.
Glenn Morris <rgm@gnu.org>
parents:
106626
diff
changeset
|
437 |
3aeebdcf4921
Add some notes on the debbugs.gnu.org setup.
Glenn Morris <rgm@gnu.org>
parents:
106626
diff
changeset
|
438 An "X-Debbugs-Envelope-To" header is used to keep track of where the |
3aeebdcf4921
Add some notes on the debbugs.gnu.org setup.
Glenn Morris <rgm@gnu.org>
parents:
106626
diff
changeset
|
439 mail was actually bound for: |
3aeebdcf4921
Add some notes on the debbugs.gnu.org setup.
Glenn Morris <rgm@gnu.org>
parents:
106626
diff
changeset
|
440 http://lists.gnu.org/archive/html/emacs-devel/2009-11/msg01211.html |
3aeebdcf4921
Add some notes on the debbugs.gnu.org setup.
Glenn Morris <rgm@gnu.org>
parents:
106626
diff
changeset
|
441 |
3aeebdcf4921
Add some notes on the debbugs.gnu.org setup.
Glenn Morris <rgm@gnu.org>
parents:
106626
diff
changeset
|
442 ** Mailing list recipient/sender filters. |
3aeebdcf4921
Add some notes on the debbugs.gnu.org setup.
Glenn Morris <rgm@gnu.org>
parents:
106626
diff
changeset
|
443 The following mailman filters are useful to stop messages being |
3aeebdcf4921
Add some notes on the debbugs.gnu.org setup.
Glenn Morris <rgm@gnu.org>
parents:
106626
diff
changeset
|
444 needlessly held for moderation: |
3aeebdcf4921
Add some notes on the debbugs.gnu.org setup.
Glenn Morris <rgm@gnu.org>
parents:
106626
diff
changeset
|
445 |
3aeebdcf4921
Add some notes on the debbugs.gnu.org setup.
Glenn Morris <rgm@gnu.org>
parents:
106626
diff
changeset
|
446 *** debbugs-submit |
3aeebdcf4921
Add some notes on the debbugs.gnu.org setup.
Glenn Morris <rgm@gnu.org>
parents:
106626
diff
changeset
|
447 (quiet|control|submit)@(debbugs\.gnu\.org|emacsbugs\.donarmstrong\.com) |
3aeebdcf4921
Add some notes on the debbugs.gnu.org setup.
Glenn Morris <rgm@gnu.org>
parents:
106626
diff
changeset
|
448 [0-9]+(-done|-quiet|-subscribe)?@(debbugs\.gnu\.org|emacsbugs\.donarmstrong\.com) |
3aeebdcf4921
Add some notes on the debbugs.gnu.org setup.
Glenn Morris <rgm@gnu.org>
parents:
106626
diff
changeset
|
449 (bug-gnu-emacs|emacs-pretest-bug)@gnu\.org |
3aeebdcf4921
Add some notes on the debbugs.gnu.org setup.
Glenn Morris <rgm@gnu.org>
parents:
106626
diff
changeset
|
450 |
3aeebdcf4921
Add some notes on the debbugs.gnu.org setup.
Glenn Morris <rgm@gnu.org>
parents:
106626
diff
changeset
|
451 *** emacs-bug-tracker |
3aeebdcf4921
Add some notes on the debbugs.gnu.org setup.
Glenn Morris <rgm@gnu.org>
parents:
106626
diff
changeset
|
452 sender: bug-gnu-emacs AT gnu.org |
3aeebdcf4921
Add some notes on the debbugs.gnu.org setup.
Glenn Morris <rgm@gnu.org>
parents:
106626
diff
changeset
|
453 recipient: emacs-bug-tracker AT debbugs\.gnu\.org |
3aeebdcf4921
Add some notes on the debbugs.gnu.org setup.
Glenn Morris <rgm@gnu.org>
parents:
106626
diff
changeset
|
454 |
3aeebdcf4921
Add some notes on the debbugs.gnu.org setup.
Glenn Morris <rgm@gnu.org>
parents:
106626
diff
changeset
|
455 The latter is because that is the address that debbugs actually sends to. |
3aeebdcf4921
Add some notes on the debbugs.gnu.org setup.
Glenn Morris <rgm@gnu.org>
parents:
106626
diff
changeset
|
456 An /etc/aliases entry redirects it to the real emacs-bug-tracker address. |