[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

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
tree.

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 <genius@debian.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

debianutils_1.11_i386.changes
INSTALL
debianutils_1.11.tar.gz
  to dists/potato/main/source/base/debianutils_1.11.tar.gz
  replacing debianutils_1.10.tar.gz
debianutils_1.11.dsc
  to dists/potato/main/source/base/debianutils_1.11.dsc
  replacing debianutils_1.10.dsc
debianutils_1.11_i386.deb
  to dists/potato/main/binary-i386/base/debianutils_1.11.deb
  replacing debianutils_1.10.deb
Announcing to debian-devel-changes@lists.debian.org
Closing bugs: 27428 29879 31780 

(NMUs have "Setting bugs to severity fixed:" instead of "Closing
bugs:" above.)

Please help me test this new feature, and tell me about any problems.


Guy


Reply to: