dinstall can now announce packages & close bugs for you
dinstall, the software which installs packages into the hierarchy, can
now announce packages and close bugs for you.
If you'd like to use this feature, upgrade to the dpkg-dev in my home
directory on master. The changes are checked in to va's dpkg cvs
dinstall will look for a Format field of 1.6 and a new Closes field.
Closes is a space separated list of bugs closed by the upload. In
your changelog, the perl regular expression
/closes:\s*(bug)?\#\d+(,\s*(bug)?\#\d+)*/i is used to build the Closes
field. Here is an example:
acme-cannon (3.1415) unstable; urgency=low
* Added safety to prevent operator dismemberment, closes: bug #98765,
bug #98713, #98714.
* Added manpage. closes: #98725.
-- Wile E. Coyote <firstname.lastname@example.org> Sun, 31 Jan 1999 07:49:57 -0600
dinstall will announce to debian-changes and/or debian-devel-changes
as appropriate. It will compare the name part of the Maintainer in
the .dsc and the .changes. If they match, it will close the bugs, and
if not, it will assume it's an NMU and set their severity to fixed.
Bugs are only processed for source uploads.
You can test your upload with the -n flag to dinstall:
$ ~maor/dinstall/dinstall -n debianutils*changes
Announcing to email@example.com
Closing bugs: 27428 29879 31780
(NMUs have "Setting bugs to severity fixed:" instead of "Closing
Please help me test this new feature, and tell me about any problems.