Bug#704924: debcommit -r should create a signed tag even when there are no uncommitted changes

Joey Hess joeyh at debian.org
Sun Apr 7 18:54:34 UTC 2013


Package: devscripts
Version: 2.12.6
Severity: normal

It's common to have debcommit -r be run as part of the release process.
However, if a commit has already been made of everything in the source
tree, then debcommit makes no commit, and it seems that in this case,
it also does not make a signed tag. Result is a release with a missing
tag, which is never good. debcommit -r should always tag the most recent
commit as the release tag, unless the release tag already exists.

I have only verified this happens with git, but it seems likely to
also affect other VCS.

-- Package-specific info:

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

--- ~/.devscripts ---
DEBCHANGE_RELEASE_HEURISTIC=changelog
DEBCOMMIT_SIGN_TAGS=yes
DEBSIGN_KEYID=2512E3C7
DEBSIGN_SIGNLIKE=gpg
DEBSIGN_MAINT=joeyh at debian.org
DEBCHANGE_AUTO_NMU=no

-- System Information:
Debian Release: 7.0
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: i386 (i686)

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

Versions of packages devscripts depends on:
ii  dpkg-dev  1.16.10
ii  libc6     2.13-38
ii  perl      5.14.2-20
ii  python    2.7.3-4

Versions of packages devscripts recommends:
ii  at                        3.1.13-2
ii  curl                      7.29.0-2
ii  dctrl-tools               2.22.2
ii  debian-keyring            2012.11.15
ii  dput                      0.9.6.3+nmu1
ii  equivs                    2.0.9
ii  fakeroot                  1.18.4-2
ii  gnupg                     1.4.12-7
ii  libcrypt-ssleay-perl      0.58-1
ii  libdistro-info-perl       0.10
ii  libjson-perl              2.53-2
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.10.4
ii  man-db                    2.6.3-3
ii  patch                     2.6.1-3
ii  patchutils                0.3.2-1.1
ii  python-debian             0.1.21+nmu2
ii  python-magic              1:5.11-2.1
ii  sensible-utils            0.0.7
ii  strace                    4.5.20-2.3
ii  unzip                     6.0-9
ii  wdiff                     1.1.2-1
ii  wget                      1.14-1
ii  xz-utils                  5.1.1alpha+20120614-2

Versions of packages devscripts suggests:
ii  bsd-mailx [mailx]            8.1.2-0.20111106cvs-1
ii  build-essential              11.6
pn  cvs-buildpackage             <none>
pn  devscripts-el                <none>
ii  gnuplot                      4.6.0-8
ii  heirloom-mailx [mailx]       12.5-2
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.23-1
ii  mutt                         1.5.21-6.2
ii  openssh-client [ssh-client]  1:6.0p1-4
pn  svn-buildpackage             <none>
ii  w3m                          0.5.3-8

-- no debconf information

-- 
see shy jo
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 828 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/devscripts-devel/attachments/20130407/4178569c/attachment.pgp>


More information about the devscripts-devel mailing list