comparison 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
comparison
equal deleted inserted replaced
106626:9306e1ad9272 106627:3aeebdcf4921
382 (lambda () 382 (lambda ()
383 (setq bug-reference-url-format "http://debbugs.gnu.org/%s") 383 (setq bug-reference-url-format "http://debbugs.gnu.org/%s")
384 (bug-reference-mode 1))) 384 (bug-reference-mode 1)))
385 385
386 and you can click on the bug number in the subject header. 386 and you can click on the bug number in the subject header.
387
388
389 * Technical Notes
390
391 The following are technical notes on how it works. These are just for
392 reference, you don't need to read these as a user of the system.
393
394 Getting mail from the Emacs bug list into the tracker requires the
395 assistance of sysadmin at gnu.org. The test tracker set-up was, I
396 think, [gnu.org #359140]:
397 http://lists.gnu.org/archive/html/savannah-hackers/2008-03/msg00074.html
398 http://lists.gnu.org/archive/html/savannah-hackers/2008-04/msg00034.html
399
400 ** The debbugs.gnu.org setup was handled in [gnu.org #510605].
401 There are two pieces (replace AT with @ in the following):
402
403 i) fencepost has an /etc/aliases entry:
404 emacs-pretest-bug: submit AT debbugs.gnu.org
405
406 ii) An exim router:
407 emacsbugs_router:
408 driver = redirect
409 senders = !Debian-debbugs AT debbugs.gnu.org
410 local_parts = bug-gnu-emacs
411 domains = gnu.org
412 data = submit AT debbugs.gnu.org
413
414 This says, for mail arriving at bug-gnu-emacs, only allow it through
415 to the list if it was sent from debbugs.gnu.org. Otherwise, send
416 it to the submit address at the bug-tracker.
417
418 FIXME There's probably an issue with the mail-news gateway here that
419 still needs to be addressed (bug#936).
420
421 ** fencepost's /etc/exim4/local_domains configuration needs a line
422 !debbugs.gnu.org adding [gnu.org #503532]. Otherwise people on
423 fencepost can't report bugs, since *.gnu.org addresses are assumed to
424 be handled locally on fencepost, unless otherwise specified.
425
426 ** All mail arriving at debbugs.gnu.org is first run through SpamAssassin.
427 Obvious spam is rejected, the rest is sent on to the moderated list
428 debbugs-submit. Approved mail is passed on to the tracker.
429
430 NOTE: An alternative to this would be to use listhelper AT nongnu.org
431 as a moderator address. Eg the emacs-bug-tracker list uses this.
432 It does basic spam processing on the moderator requests and
433 automatically rejects the obviously bogus ones. Someone still has to
434 accept the good ones though. The advantage of this would not be having
435 to run and tune our own spam filter. See
436 http://savannah.nongnu.org/projects/listhelper
437
438 An "X-Debbugs-Envelope-To" header is used to keep track of where the
439 mail was actually bound for:
440 http://lists.gnu.org/archive/html/emacs-devel/2009-11/msg01211.html
441
442 ** Mailing list recipient/sender filters.
443 The following mailman filters are useful to stop messages being
444 needlessly held for moderation:
445
446 *** debbugs-submit
447 (quiet|control|submit)@(debbugs\.gnu\.org|emacsbugs\.donarmstrong\.com)
448 [0-9]+(-done|-quiet|-subscribe)?@(debbugs\.gnu\.org|emacsbugs\.donarmstrong\.com)
449 (bug-gnu-emacs|emacs-pretest-bug)@gnu\.org
450
451 *** emacs-bug-tracker
452 sender: bug-gnu-emacs AT gnu.org
453 recipient: emacs-bug-tracker AT debbugs\.gnu\.org
454
455 The latter is because that is the address that debbugs actually sends to.
456 An /etc/aliases entry redirects it to the real emacs-bug-tracker address.