Bug#766885: [debcommit] incorrect --help output for --(no-)strip-message

Michael Banck mbanck at debian.org
Sun Oct 26 16:16:46 UTC 2014


Package: devscripts
Version: 2.14.10
Severity: normal

Hi,

$ debcommit --help | grep -i strip-message
   -s --strip-message  Strip the leading '* ' from the commit message
   --no-strip-message  Do not strip a leading '* ' (default)

This says leading '* ' would not be stripped, however, debcommit does
this by default in my experience.  I tend to look at debcommit once a
year, try to figure out how it does not strip the leading '* ', get
grumpy it does, and throw it away again.

$ grep DEBCOMMIT_STRIP /usr/bin/debcommit
=item B<DEBCOMMIT_STRIP_MESSAGE>
                       'DEBCOMMIT_STRIP_MESSAGE' => 'yes',
    $config_vars{'DEBCOMMIT_STRIP_MESSAGE'} =~ /^(yes|no)$/
        or $config_vars{'DEBCOMMIT_STRIP_MESSAGE'}='yes';
    $stripmessage = $config_vars{'DEBCOMMIT_STRIP_MESSAGE'} eq 'no' ? 0
: 1;

If I read the above code correctly, it does strip by default, so the
--help output should be adjusted.


Michael

-- Package-specific info:

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

--- ~/.devscripts ---
DEBSIGN_KEYID=B43481B0
DEBCHANGE_DEBEMAIL=mbanck at debian.org
DEBFULLNAME='Michael Banck'

-- System Information:
Debian Release: jessie/sid
  APT prefers testing-updates
  APT policy: (500, 'testing-updates'), (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.16-2-amd64 (SMP w/4 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.17.13
ii  libc6        2.19-11
ii  perl         5.20.1-1
ii  python3      3.4.2-1
pn  python3:any  <none>

Versions of packages devscripts recommends:
ii  at                          3.1.16-1
ii  dctrl-tools                 2.23
ii  debian-keyring              2014.08.31
ii  dput                        0.9.6.4
ii  equivs                      2.0.9
ii  fakeroot                    1.20.2-1
ii  file                        1:5.19-2
ii  gnupg                       1.4.18-4
ii  libdistro-info-perl         0.13
ii  libencode-locale-perl       1.03-1
ii  libjson-perl                2.61-1
ii  liblwp-protocol-https-perl  6.06-2
ii  libparse-debcontrol-perl    2.005-4
ii  libsoap-lite-perl           1.11-1
ii  liburi-perl                 1.64-1
ii  libwww-perl                 6.08-1
ii  lintian                     2.5.28
ii  man-db                      2.7.0.2-2
ii  patch                       2.7.1-6
ii  patchutils                  0.3.3-1
ii  python3-debian              0.1.24
ii  python3-magic               1:5.19-2
ii  sensible-utils              0.0.9
ii  strace                      4.9-2
ii  unzip                       6.0-12
ii  wdiff                       1.2.2-1
ii  wget                        1.15-1+b1
ii  xz-utils                    5.1.1alpha+20120614-2

Versions of packages devscripts suggests:
ii  bsd-mailx [mailx]            8.1.2-0.20140825cvs-1
ii  build-essential              11.7
pn  cvs-buildpackage             <none>
pn  devscripts-el                <none>
ii  gnuplot                      4.6.6-1
ii  gpgv                         1.4.18-4
ii  libauthen-sasl-perl          2.1600-1
ii  libfile-desktopentry-perl    0.07-1
ii  libnet-smtp-ssl-perl         1.01-3
pn  libterm-size-perl            <none>
ii  libtimedate-perl             2.3000-2
pn  libyaml-syck-perl            <none>
ii  mutt                         1.5.23-1.1
ii  openssh-client [ssh-client]  1:6.7p1-2
pn  svn-buildpackage             <none>
ii  w3m                          0.5.3-17

-- no debconf information



More information about the devscripts-devel mailing list