comparison admin/notes/bugtracker @ 111607:71ea229e4709

Expand and clarify the description of bugtracker setting for bzr.
author Eli Zaretskii <eliz@gnu.org>
date Fri, 12 Nov 2010 10:37:27 +0200
parents 6926686a73a0
children ae8718af3ea5
comparison
equal deleted inserted replaced
111606:0466e5504621 111607:71ea229e4709
448 http://lists.gnu.org/archive/html/emacs-devel/2009-11/msg00440.html 448 http://lists.gnu.org/archive/html/emacs-devel/2009-11/msg00440.html
449 449
450 ** Bazaar stuff 450 ** Bazaar stuff
451 451
452 *** You can use `bzr commit --fixes debbugs:123' to mark that a commit fixes 452 *** You can use `bzr commit --fixes debbugs:123' to mark that a commit fixes
453 Emacs bug 123. You will first need to add a line to your bazaar.conf: 453 Emacs bug 123. You will first need to add a line to your ~/bazaar.conf
454 or ~/locations.conf:
454 455
455 bugtracker_debbugs_url = http://debbugs.gnu.org/{id} 456 bugtracker_debbugs_url = http://debbugs.gnu.org/{id}
457
458 Here "{id}" is a literal string, a placeholder that will be replaced
459 by the bug number you specify after `--fixes debbugs:' in the bzr
460 command line (123 in the example above).
461
462 In the bazaar.conf file, this setting should go into the [DEFAULTS]
463 section.
464
465 In the locations.conf file, it should go into the branch-specific
466 configuration section for the branch where you want this to be in
467 effect. For example, if you want this to be in effect for the branch
468 located at `/home/projects/emacs/trunk', you need to have this in your
469 ~/locations.conf file:
470
471 [/home/projects/emacs/trunk]
472 bugtracker_debbugs_url = http://debbugs.gnu.org/{id}
473
474 If you want to use this in all Emacs branches whose common parent is
475 `/home/projects/emacs', put the setting in the [/home/projects/emacs]
476 section. See "bzr help configuration" for more information about
477 the *.conf files, their location and formats. See "bzr help bugs" for
478 more information about the bugtracker_debbugs_url setting.
456 479
457 See also log-edit-rewrite-fixes in .dir-locals.el. 480 See also log-edit-rewrite-fixes in .dir-locals.el.
458 481
459 Note that all this does is add some metadata to the commit, it doesn't 482 Note that all this does is add some metadata to the commit, it doesn't
460 actually mark the bug as closed in the tracker. There seems to be no 483 actually mark the bug as closed in the tracker. There seems to be no