Package: git-buildpackage
Version: 0.9.21
Severity: minor

Dear Maintainer, Guido,

in snapshot mode, header options --distribution (and --urgency) are deliberately
not honored in-code (scripts/dch.py):

---
# This must not be done for snapshots or snapshots changelog entries
# will not be concatenated
if not options.snapshot:
    ...
---

Afaiu, this comment means when doing a second 'dch --snapshot' (with a custom, 
not
UNRELEASED distribution), it would create another CL rather than combining with 
the
latter.

I.e., with the restriction in place, the valid use case to set the distribution 
is
denied -- however, *without* the restriction, the old behaviour can be achieved 
(just
don't specify --distribution), and those who want to set a distribution are 
also happy.

(Documentation may be updated that 'dch --snapshot' behaves slightly different 
when not using dist=UNRELEASED.)

I am using it locally here with that restriction removed, and not seen any
odd behaviour. But may be I do not get the full picture here?

Thx!

Stephan

> Package: git-buildpackage

-- System Information:
Debian Release: bullseye/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 5.9.0-0.bpo.5-amd64 (SMP w/16 CPU threads)
Kernel taint flags: TAINT_WARN, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: unable to detect

Versions of packages git-buildpackage depends on:
ii  devscripts             2.20.5
ii  git                    1:2.30.0-1
ii  man-db                 2.9.3-2
ii  python3                3.9.1-1
ii  python3-dateutil       2.8.1-5
ii  python3-pkg-resources  51.3.3-1
ii  sensible-utils         0.0.14

Versions of packages git-buildpackage recommends:
ii  pristine-tar      1.49
ii  python3-requests  2.25.1+dfsg-2
ii  sbuild            0.80.1

Versions of packages git-buildpackage suggests:
pn  python3-notify2  <none>
ii  sudo             1.9.5p1-1
ii  unzip            6.0-26

-- no debconf information

Reply via email to