Package: dgit
Version: 9.7
Severity: normal

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

I recently ran dgit --quilt=auto push-source on a few packages with
existing, unapplied quilt series. This ended up reverting the quilt
patches, and producing broken packages (the severity of the breakage
obviously depends on the patches being reverted).

To take a concrete example, clone

   https://salsa.debian.org/emacsen-team/emacs-anzu

- - 597ca16 is HEAD when I called dgit --quilt=auto push-source

- - 98ca311 shows the new patch introduced by dgit. This reverses the
  existing patch 0001-clear-README.diff.

Is this the intended behaviour? The docs talk about "single squashed
patch for all the changes made in git". It's not clear to me that the
patch really corresponds to what I think of as "changes in git"
(i.e. commits that directly modify upstream files). The discussion in
- --quilt=smash seems to me to imply that it will deal OK with existing
patch series.

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

Kernel: Linux 5.2.0-2-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_CA:en (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages dgit depends on:
ii  apt                     1.8.3
ii  ca-certificates         20190110
ii  coreutils               8.30-3+b1
ii  curl                    7.65.3-1
ii  devscripts              2.19.6
ii  dpkg-dev                1.19.7
ii  dput-ng [dput]          1.28
ii  git [git-core]          1:2.23.0~rc1-1
ii  git-buildpackage        0.9.14
pn  libdigest-sha-perl      <none>
ii  libdpkg-perl            1.19.7
ii  libjson-perl            4.02000-1
ii  liblist-moreutils-perl  0.416-1+b4
ii  liblocale-gettext-perl  1.07-3+b4
ii  libtext-glob-perl       0.10-1
ii  libtext-iconv-perl      1.7-6
ii  libwww-curl-perl        4.17-5
ii  perl                    5.28.1-6

Versions of packages dgit recommends:
ii  openssh-client [ssh-client]  1:8.0p1-4

Versions of packages dgit suggests:
ii  cowbuilder  0.88
ii  pbuilder    0.230.4
ii  sbuild      0.78.1-2

- -- no debconf information

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEkiyHYXwaY0SiY6fqA0U5G1WqFSEFAl1jERsACgkQA0U5G1Wq
FSGPkxAAlN0BZ6DwHMbTD0fZKIO3S8aS8VPvUmb9vC2V0dP1ZJoJdLQsMTG/WD7y
ge1f4OpEo1LEaNcoYNCk5b5/XmQizhKiUJQrrb+E9KZQW71hA1KN7/1qzG7O/81c
ZT1Jxiad4cIz2zkQJ7tT+/8tgvj+IvQEKpwo1HEpLYL0OGRGp6GVy6OO5haMP2ym
xlwAxVvW5yaJaBBtlLzY6FG2VYpa/+D/AUKzzeXFDLh0NoBfrmo83x2lC0sYWPHn
Nyg4CnSs34qeGrladAZC6B1Xrs5deBvUvGGowv7eHOorzjXfTJJhQeA2/BMlDIBo
d+7t79n+6FICch3FJ5uVwuqCQnwMNppNzPkt/X7t0SnclodS+Y+Yvnwv9s2Hmhj7
jUWYmvwTzRgEeSmXQJJBGJRxyRa8KCaCb2kW0AixpVWSWQDTTyth8FRZBnRWTyVI
fpd20S/mVaBb7fUVri4Pq9yfyMhwoba1gb++HqDKtBva96RGoix2V17Ku5E8Q0qS
nfAJwyztlUepF/UIxm8inx4YnEO4pR49FDS7QdQbFNx1eMYnuAT9h/y5s4JH/FqA
R13FJZy9Gvn3J9ML7OhDRxvMVWxY9n8IamNBtZe6HduzU/LOt2ag94R3Og5Y1T3q
I94piJEGBmI4BvxMSgrpCAKkbYw5JmmGFGOLEWFdFDrLSx3XV3w=
=GfbO
-----END PGP SIGNATURE-----

Reply via email to