Your message dated Thu, 16 Nov 2017 09:49:04 +0000
with message-id <e1efgna-000a75...@fasolo.debian.org>
and subject line Bug#737623: fixed in git-buildpackage 0.9.3
has caused the Debian Bug report #737623,
regarding /usr/bin/git-import-dsc: fails to parse maintainer containing comma
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
737623: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=737623
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: git-buildpackage
Version: 0.6.8
Severity: normal
File: /usr/bin/git-import-dsc

Hi,

I ran into a problem while trying to import miscfiles. The maintainer
(and the changelog signature line) contains a comma:
  Thomas Bushnell, BSG <t...@debian.org>
and this is not parsed correctly.

>>> import email
>>> email.Utils.parseaddr('Thomas Bushnell, BSG <t...@debian.org>')
('', 'Thomas')
>>> email.Utils.parseaddr('"Thomas Bushnell, BSG" <t...@debian.org>')
('Thomas Bushnell, BSG', 't...@debian.org')
>>> email.Utils.parseaddr('(Thomas Bushnell, BSG) t...@debian.org')
('Thomas Bushnell, BSG', 't...@debian.org')
>>> email.Utils.parseaddr('Thomas Bushnell#COMMA# BSG <t...@debian.org>')
('Thomas Bushnell#COMMA# BSG', 't...@debian.org')

I'm not sure if email.Utils is really to be blamed for this since an
unquoted comma usually separates recipients, although returning an
address <Thomas> looks very weird.

I'd probably substitute/unsubstitute this locally:

  return 
self._unquote_comma(email.Utils.parseaddr(self._quote_comma(self._cp['Maintainer']))[0])

At least the unquoted comma seems to be a valid char in the Maintainer
field in debian/control, not sure about Uploaders.


Andreas

--- End Message ---
--- Begin Message ---
Source: git-buildpackage
Source-Version: 0.9.3

We believe that the bug you reported is fixed in the latest version of
git-buildpackage, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 737...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Guido Günther <a...@sigxcpu.org> (supplier of updated git-buildpackage package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)


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

Format: 1.8
Date: Wed, 15 Nov 2017 15:33:20 +0100
Source: git-buildpackage
Binary: git-buildpackage git-buildpackage-rpm
Architecture: source
Version: 0.9.3
Distribution: unstable
Urgency: medium
Maintainer: Guido Günther <a...@sigxcpu.org>
Changed-By: Guido Günther <a...@sigxcpu.org>
Description:
 git-buildpackage - Suite to help with Debian packages in Git repositories
 git-buildpackage-rpm - Suite to help with RPM packages in Git repositories
Closes: 552624 734862 737623 813298 880552 881750
Changes:
 git-buildpackage (0.9.3) unstable; urgency=medium
 .
   * [9a2c5e6] import_orig: drop debian/ again in --merge-mode=replace.
     Another fallout of the Python3 conversion.
     Thanks to Víctor Cuadrado Juan for providing a nice reproducer
     (Closes: #881750)
   * [876ebb3] git-pbuilder: handle --help (Closes: #734862)
   * [ff03bec] GitRepository: require an exact ref path when looking for
     branches. Otherwise we might match on
        refs/heads/refs/heads/foo instead of refs/heads/foo
     when looking for  branch named 'foo' (Closes: #813298)
   * [3b5a7dd] changelog: handle comma in maintainers name.
     Thanks to Andreas Beckmann for the proposed fix (Closes: #737623)
   * [e74b40a] rpm: conditionally check for librpm flags.  Not all of them are
     in newer librpm and this way we can add new ones as needed as well.
     This unbreaks the tests with new python3-rpm in sid.
   * [c429d97] dch: make --auto the default.  The current default mode of
     looking at the version in the changelog only leads to problems when people
     build up the changelog incrementally.  --auto handles this since many
     years so make this the default. There's still --since for finer control
     where to start from. (Closes: #880552, #552624)
   * [43d5587] docs: better explain dch operation (also addresses #880552)
Checksums-Sha1:
 986fd4b1cadbfa9c47c624a51362f5c6003ccc8f 2273 git-buildpackage_0.9.3.dsc
 7ad8f398c90fa52dc9fae3bf01fc41dc53cc7789 2377444 git-buildpackage_0.9.3.tar.xz
 4d4e63ed45608e32fd26d88f68e4f4706e140e89 11537 
git-buildpackage_0.9.3_amd64.buildinfo
Checksums-Sha256:
 be20d275f297e0a0501c630b6f1f6b86ec3381a6832005c7e1d086a104939b2e 2273 
git-buildpackage_0.9.3.dsc
 c243250d1738baa6fe26a20b5d1510d180ce15bfa44d0ada5c5f750a128950c2 2377444 
git-buildpackage_0.9.3.tar.xz
 920ee9a6c27a9c7632d4f56b78076bdf146b67836cf24d6ea62ccd14ef97a512 11537 
git-buildpackage_0.9.3_amd64.buildinfo
Files:
 99fd019138c01eb6f120d3dc33038c5c 2273 vcs optional git-buildpackage_0.9.3.dsc
 34fd70e260da4e07ebc157e683eaffc3 2377444 vcs optional 
git-buildpackage_0.9.3.tar.xz
 d0691d971ba06ce2e7ce256ca0879001 11537 vcs optional 
git-buildpackage_0.9.3_amd64.buildinfo

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

iQIzBAEBCAAdFiEEvHzQcjh1660F3xzZB7i3sOqYEgsFAloNS0EACgkQB7i3sOqY
Egvohw/8D1ee7ISWPWQNaDD87FxZJRMSv6XdD3zI+Z+ha6JPV3ubjrj3hl6Z9Bfo
dARa3zAvmEwNnJV8IPtHkHAub35HFXkET4Be9p9TwF2LCDos+PBcdmEekIYsnvA+
drYpihTnlYMN8B9mP4SfiQLgmp8pUHiNErqgC0fDHAGK8ACytB2zmTRdKMNlNxxJ
SXFRoKSRVkFp+12XFkFdQtaL5cpvuvabbj3Wlp00YpBMjjh3zDUQO9N/jkSiWdD8
NViBUa52cLH5G3g1gfyRjZFrkIvswUgtyVZgF+8UI/aGjwST4v/aR9A6Z6YvC3Qw
9kP2jUiG4W9VPjGHR7TKxaaVUisAIssuq/S/fFGXVvu4kP/jJnjEtlWDRFf20uri
LAGYoQ5Fz21CWP53TZEt80P+dZJupLCTrf+P6rV4Dv/VEQrlRDweLoRafVxpKpdf
VlkG5Jcx3QBI0qwhtX0zaYsh07+8+ZgkeIx37qLz5e8puJ6Dcsdzb0ycVW4aqA7b
GNhh1N4Ka9W6zxvAxXgSBrtqeT9q1ZYWwcEDhI4FEBkH0rZ/p3mDK06D1/VQ85eH
2o3Y+aexLXYwrF50aZfZP2g5MpwIxamCjV7ADVhSdZNxIeN1gnzpzCPjN+s7Uf1M
d+Qw64yeYqaLpjnIZiscjUBaODRfmjVm1WoJk7f4w4l2RvSmuOg=
=2VIp
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to