Package: dgit
Version: 4.0
Severity: normal

There are merge and rebase workflows in use for the Debian changelogs of
backports.  Some backport maintainers merge the new version in testing
into their backports branch, so that the previous backport's entry
remains in the changelog (the 'merge' workflow).  Others base each
backport on the version in stretch, discarding the changelog entries for
older backported versions (the 'rebase' workflow).

For a backport using the rebase workflow, dgit refuses to push:

    Checking package changelog for archive version 2.13.0-1.1~bpo8+1 ...
    dpkg-parsechangelog: warning: 'from' option specifies non-existing version
    dpkg-parsechangelog: warning: use oldest entry that is later than the one 
specified
    dpkg-parsechangelog: warning: 'to' option specifies non-existing version
    dpkg-parsechangelog: warning: use newest entry that is earlier than the one 
specified
    dgit: missing field Version in parsed changelog
    dgit: Perhaps debian/changelog does not mention 2.13.0-1.1~bpo8+1 ?

dgit has correctly identified the problem -- the changelog does indeed
fail to mention 2.13.0-1.1~bpo8+1.  But this is a perfectly legitimate
approach to backporting (personally, I prefer the merge workflow, but a
sponsee of mine uses the rebase workflow, which is how I ran across
this).

Thanks.

-- System Information:
Debian Release: 9.0
  APT prefers testing
  APT policy: (900, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 4.9.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.utf8, LC_CTYPE=en_GB.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages dgit depends on:
ii  apt                               1.4~rc2
ii  ca-certificates                   20161130
ii  coreutils                         8.26-3
ii  curl                              7.52.1-3
ii  devscripts                        2.17.1
ii  dpkg-dev                          1.18.22
ii  dput-ng [dput]                    1.11
ii  git [git-core]                    1:2.11.0-2
ii  git-buildpackage                  0.8.12.2
ii  libdpkg-perl                      1.18.22
ii  libjson-perl                      2.90-1
ii  liblist-moreutils-perl            0.416-1+b1
ii  libperl5.24 [libdigest-sha-perl]  5.24.1-1
ii  libtext-glob-perl                 0.10-1
ii  libtext-iconv-perl                1.7-5+b4
ii  libwww-perl                       6.15-1
ii  perl                              5.24.1-1

Versions of packages dgit recommends:
ii  openssh-client [ssh-client]  1:7.4p1-6

Versions of packages dgit suggests:
ii  sbuild  0.73.0-4

-- no debconf information

-- 
Sean Whitton

Attachment: signature.asc
Description: PGP signature

Reply via email to