Debian Bug report logs - #676606
/usr/bin/debcommit: [debcommit] should figure out a commit message after "dch -r"

version graph

Package: devscripts; Maintainer for devscripts is Devscripts Devel Team <>; Source for devscripts is src:devscripts.

Reported by: Raphaël Hertzog <>

Date: Fri, 8 Jun 2012 08:03:01 UTC

Severity: wishlist

Found in version devscripts/2.11.8

Reply or subscribe to this bug.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox

Report forwarded to, Devscripts Devel Team <>:
Bug#676606; Package devscripts. (Fri, 08 Jun 2012 08:03:04 GMT) Full text and rfc822 format available.

Acknowledgement sent to Raphaël Hertzog <>:
New Bug report received and forwarded. Copy sent to Devscripts Devel Team <>. (Fri, 08 Jun 2012 08:03:04 GMT) Full text and rfc822 format available.

Message #5 received at (full text, mbox):

From: Raphaël Hertzog <>
To: Debian Bug Tracking System <>
Subject: /usr/bin/debcommit: [debcommit] should figure out a commit message after "dch -r"
Date: Fri, 08 Jun 2012 09:59:54 +0200
Package: devscripts
Version: 2.11.8
Severity: wishlist
File: /usr/bin/debcommit


take the case where I have finished working on a new release. I have
just done "dch -r" to appropriately update the changelog:

┏rivendell:~/deb/core/dh-linktree (master)
┗(700)$ git diff
diff --git a/debian/changelog b/debian/changelog
index 982a3c0..f20b5ae 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,4 +1,4 @@
-dh-linktree (0.3) UNRELEASED; urgency=low
+dh-linktree (0.3) unstable; urgency=low
   * Use File::Spec->canonpath() to standardize the paths given on input.
     Closes: #673048
@@ -9,7 +9,7 @@ dh-linktree (0.3) UNRELEASED; urgency=low
     - the most common failure
   * Update Standards-Version to 3.9.3 (no change).
- -- Raphaël Hertzog <>  Fri, 08 Jun 2012 08:39:12 +0200
+ -- Raphaël Hertzog <>  Fri, 08 Jun 2012 09:44:25 +0200
 dh-linktree (0.2) unstable; urgency=low
Unfortunately "debcommit -a" will not commit such a change.

┏rivendell:~/deb/core/dh-linktree (master)
┗(701)$ debcommit -a
debcommit: unable to determine commit message using git (do you mean "debcommit -a" or did you forget to run "git add"?)
Try using the -m flag.

I would like debcommit to figure out that this was a new release
and to automatically use the commit message "Release <package> <version>". 

I know of "debcommit -r" but I don't necessarily want to create tags
at this point. I run my test build, and I put the tag only after I have
verified that it's ok to be uploaded.


--- /etc/devscripts.conf ---

--- ~/.devscripts ---
DEBUILD_LINTIAN_OPTS="--color always -I"

-- System Information:
Debian Release: wheezy/sid
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'proposed-updates'), (500, 'unstable'), (500, 'testing'), (500, 'stable'), (150, 'experimental')
Architecture: i386 (x86_64)
Foreign Architectures: amd64

Kernel: Linux 3.2.0-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=fr_FR.utf8, LC_CTYPE=fr_FR.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages devscripts depends on:
ii  dpkg-dev   1.16.4+0~1338977786.64~1.gbp18f651
ii  libc6      2.13-33
ii  perl       5.14.2-11
ii  python     2.7.3~rc2-1
ii  python2.6  2.6.7-4
ii  python2.7  2.7.3~rc2-2.1

Versions of packages devscripts recommends:
ii  at                        3.1.13-1
ii  curl                      7.26.0-1
ii  dctrl-tools               2.22.2
ii  debian-keyring            2012.06.01
ii  dput            
ii  equivs                    2.0.9
ii  fakeroot                  1.18.4-2
ii  gnupg                     1.4.12-4
ii  libcrypt-ssleay-perl      0.58-1
ii  libdistro-info-perl       0.10
ii  libjson-perl              2.53-1
ii  libparse-debcontrol-perl  2.005-3
ii  libsoap-lite-perl         0.714-1
ii  liburi-perl               1.60-1
ii  libwww-perl               6.04-1
ii  lintian                   2.5.8
ii  man-db                    2.6.1-2
ii  patch                     2.6.1-3
ii  patchutils                0.3.2-1.1
ii  python-debian             0.1.21
pn  python-magic              <none>
ii  sensible-utils            0.0.7
ii  strace                    4.5.20-2.3
ii  unzip                     6.0-6
ii  wdiff                     1.1.2-1
ii  wget                      1.13.4-3
ii  xz-utils                  5.1.1alpha+20110809-3

Versions of packages devscripts suggests:
ii  bsd-mailx [mailx]            8.1.2-0.20111106cvs-1
ii  build-essential              11.5
pn  cvs-buildpackage             <none>
pn  devscripts-el                <none>
pn  gnuplot                      <none>
ii  libauthen-sasl-perl          2.1500-1
ii  libfile-desktopentry-perl    0.04-3
ii  libnet-smtp-ssl-perl         1.01-3
pn  libterm-size-perl            <none>
ii  libtimedate-perl             1.2000-1
ii  libyaml-syck-perl            1.20-1
ii  mutt                         1.5.21-5+b1
ii  openssh-client [ssh-client]  1:6.0p1-1
ii  svn-buildpackage             0.8.4
ii  w3m                          0.5.3-8

-- no debconf information

Send a report that this bug log contains spam.

Debian bug tracking system administrator <>. Last modified: Thu Apr 24 20:27:01 2014; Machine Name:

Debian Bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.