Package: devscripts
Version: 2.26.5
Severity: normal
File: /usr/bin/bts
X-Debbugs-Cc: Daniel Gröber <[email protected]>

Steps to reproduce:

    bts affects 917528 + src:debci , retitle it "britney should add packages 
from debug archive when scheduling autopkgtests"

Expected result:

I expected bts to generate a mail containing these commands:

    affects 917528 + src:debci
    retitle 917528 britney should add packages from debug archive when 
scheduling autopkgtests

Actual result:

The bug number was inserted before the special placeholder "it" instead 
of replacing it:

    affects 917528 + src:debci
    retitle 917528 it britney should add packages from debug archive when 
scheduling autopkgtests

resulting in an unintended title.

I think this is probably a regression in commit b1d675fa "bts retitle: 
Allow omitting bug number", which makes this use of "it" unnecessary 
(but it was necessary in older versions, so I'm used to using it).

-- Package-specific info:

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

--- ~/.devscripts ---
DEBCHANGE_RELEASE_HEURISTIC=changelog
DEBSIGN_KEYID="DA98F25C0871C49A59EAFF2C4DE8FF2A63C7CC90"
DEBUILD_PREPEND_PATH=/usr/lib/ccache
DEBUILD_PRESERVE_ENVVARS=CCACHE_DIR
DEBUILD_LINTIAN=yes
DEBUILD_LINTIAN_OPTS=-I
DEBUILD_DPKG_BUILDPACKAGE_OPTS="-us -uc -I.*.sw? -I.sw? -I.git"
BTS_SENDMAIL_COMMAND="/home/smcv/bin/sendmail-via-debian -t -f [email protected]"
DEBDIFF_SHOW_MOVED=yes
DEBDIFF_SHOW_DIFFSTAT=yes
DEBDIFF_APPLY_PATCHES=yes
USCAN_DESTDIR="$HOME/tmp/deb/uscan"
RMADISON_URL_MAP_FASTTRACK=https://fasttrack.debian.net/api/madison

-- System Information:
Debian Release: forky/sid
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'testing-debug'), (500, 
'stable-updates'), (500, 'stable-security-debug'), (500, 'stable-security'), 
(500, 'stable-debug'), (500, 'proposed-updates-debug'), (500, 
'oldstable-security-debug'), (500, 'oldstable-security'), (500, 
'oldstable-proposed-updates-debug'), (500, 'oldstable-debug'), (500, 
'buildd-unstable'), (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 
'experimental-debug'), (1, 'buildd-experimental'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.18.9+deb14-amd64 (SMP w/4 CPU threads; PREEMPT)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_GB:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages devscripts depends on:
ii  dpkg-dev                 1.23.5
ii  file                     1:5.46-5+b1
ii  gpg                      2.4.8-5
ii  gpg-agent                2.4.8-5
ii  gpgv                     2.4.8-5
ii  libconfig-inifiles-perl  3.000003-4
ii  libdpkg-perl             1.23.5
ii  libfile-dirlist-perl     0.05-3
ii  libfile-homedir-perl     1.006-2
ii  libfile-touch-perl       0.12-2
ii  libio-string-perl        1.08-4
ii  libmoo-perl              2.005005-1
ii  libwww-perl              6.81-1
ii  patchutils               0.4.3-1
ii  perl                     5.40.1-7
ii  python3                  3.13.9-3
ii  sensible-utils           0.0.26
ii  wdiff                    1.2.2-9

Versions of packages devscripts recommends:
ii  apt                         3.1.15
ii  curl                        8.18.0-2
ii  dctrl-tools                 2.24-3+b1
ii  debian-keyring              2025.09.18
ii  debian-tag2upload-keyring   1.2
ii  dput-ng [dput]              1.44
ii  equivs                      2.3.2
ii  git-debpush                 14.7
ii  libdistro-info-perl         1.14
ii  libencode-locale-perl       1.05-3
ii  libgitlab-api-v4-perl       0.27-1
ii  libjson-perl                4.10000-1
ii  liblwp-protocol-https-perl  6.14-1
ii  libmetacpan-client-perl     2.038000-1
ii  libsoap-lite-perl           1.27-3
ii  libstring-shellquote-perl   1.04-3
ii  liburi-perl                 5.34-2
ii  licensecheck                3.3.9-1
ii  lintian                     2.129.0
ii  lzip                        1.26~rc1-1
ii  man-db                      2.13.1-1
ii  patch                       2.8-2
ii  pristine-tar                1.50+nmu2
ii  python3-apt                 3.1.0
ii  python3-debian              1.1.0
ii  python3-magic               2:0.4.27-3
ii  python3-requests            2.32.5+dfsg-1
ii  python3-unidiff             0.7.5-2
ii  python3-xdg                 0.28-3
ii  strace                      6.18+ds-2
ii  unzip                       6.0-29
ii  wget                        1.25.0-2
ii  xz-utils                    5.8.2-2

Versions of packages devscripts suggests:
ii  adequate                        0.17.6+b1
pn  at                              <none>
ii  autopkgtest                     5.55
pn  bls-standalone                  <none>
ii  bsd-mailx [mailx]               8.1.2-0.20220412cvs-1.1
ii  build-essential                 12.12
pn  check-all-the-things            <none>
ii  debhelper                       13.29
pn  diffoscope                      <none>
ii  disorderfs                      0.6.2-1
pn  docker.io                       <none>
ii  dose-extra                      7.0.0-7
pn  duck                            <none>
pn  elpa-devscripts                 <none>
ii  faketime                        0.9.10+2024-06-05+gba9ed5b2-0.6+b1
pn  gnuplot                         <none>
pn  how-can-i-help                  <none>
ii  libauthen-sasl-perl             2.2000-1
pn  libdbd-pg-perl                  <none>
pn  libterm-size-perl               <none>
ii  libtimedate-perl                2.3300-2
ii  libyaml-libyaml-perl            0.904.0+ds-1
ii  mmdebstrap                      1.5.7-3
ii  mutt                            2.2.13-1+b1
ii  openssh-client [ssh-client]     1:10.2p1-3
pn  piuparts                        <none>
ii  postfix [mail-transport-agent]  3.10.6-4
pn  postgresql-client               <none>
ii  pristine-lfs                    20241219.0-2
ii  python3-debianbts               4.1.1
ii  python3-pycurl                  7.45.7-3+b1
ii  quilt                           0.69-0.1
pn  ratt                            <none>
ii  reprotest                       0.7.32
pn  svn-buildpackage                <none>
ii  w3m                             0.5.3+git20230121-2.3

-- no debconf information

Reply via email to