Your message dated Sat, 31 May 2014 15:19:17 +0000
with message-id <e1wql41-0003tx...@franck.debian.org>
and subject line Bug#749980: fixed in devscripts 2.14.4
has caused the Debian Bug report #749980,
regarding [debchange]: Fix parsing of field's first empty line
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.)


-- 
749980: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=749980
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: devscripts
Version: 2.14.3
Severity: important
Tags: patch

Hi!

While running with a dpkg-dev fixing #749044, I found out that debchange
is assuming that the emitted space on the first empty line for a
multiline field will always be present (from dpkg-parsechangelog output).
Here's a minimal patch fixing that. (Probably it would make sense to
switch the code to use Dpkg::Changelog::Parse, which should be more
robust.)

I'm pondering adding a versioned Breaks against devscripts to dpkg-dev,
but I'm not sure if that will be too harsh, as I was initially thinking
about uploading it either today or tomorrow, and only debchange breaks.

Thanks,
Guillem
From c71c8e3c6a9394a1db2408b079851025b6a743f5 Mon Sep 17 00:00:00 2001
From: Guillem Jover <guil...@debian.org>
Date: Sat, 31 May 2014 12:47:56 +0200
Subject: [PATCH] debchange: Fix parsing of field's first empty line

Up to now dpkg-parsechangelog has emitted a spurious space on the first
empty line for multiline fields. This will be fixed in dpkg 1.17.10.
---
 scripts/debchange.pl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/debchange.pl b/scripts/debchange.pl
index 25d305c..91f53f4 100755
--- a/scripts/debchange.pl
+++ b/scripts/debchange.pl
@@ -644,7 +644,7 @@ if (! $opt_create || ($opt_create && $opt_news)) {
     while (<PARSED>) {
 	chomp;
 	if (/^(\S+):\s(.+?)\s*$/) { $changelog{$1}=$2; $last=$1; }
-	elsif (/^(\S+):\s$/) { $changelog{$1}=''; $last=$1; }
+	elsif (/^(\S+):\s?$/) { $changelog{$1}=''; $last=$1; }
 	elsif (/^\s\.$/) { $changelog{$last}.="\n"; }
 	elsif (/^\s(.+)$/) { $changelog{$last}.="$1\n"; }
 	else {
-- 
2.0.0


--- End Message ---
--- Begin Message ---
Source: devscripts
Source-Version: 2.14.4

We believe that the bug you reported is fixed in the latest version of
devscripts, 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 749...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
James McCoy <james...@debian.org> (supplier of updated devscripts 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: SHA512

Format: 1.8
Date: Sat, 31 May 2014 09:47:19 -0400
Source: devscripts
Binary: devscripts
Architecture: source amd64
Version: 2.14.4
Distribution: unstable
Urgency: medium
Maintainer: Devscripts Devel Team <devscripts-devel@lists.alioth.debian.org>
Changed-By: James McCoy <james...@debian.org>
Description: 
 devscripts - scripts to make the life of a Debian Package maintainer easier
Closes: 749980
Changes: 
 devscripts (2.14.4) unstable; urgency=medium
 .
   * mk-origtargz: Fix DEP8 test failures due to differences in how the script
     is named when it's run.
   * debchange: Use Dpkg::Changelog::Parse to parse the changelog instead of
     performing manual parsing in debchange.  (Closes: #749980)
Checksums-Sha1: 
 0ef1668ce80f7052115ce23a586da49316e72bcb 2273 devscripts_2.14.4.dsc
 4276293499e8d1a03664e4c2c88c4d18d46c3d65 595944 devscripts_2.14.4.tar.xz
 76eec0b74cd08f618bb7fc1c363e8ca6e30f5135 887494 devscripts_2.14.4_amd64.deb
Checksums-Sha256: 
 422955708419a7f14a0bf1871a12f872ad7841f61ac2745414515cdeb4244b63 2273 
devscripts_2.14.4.dsc
 0ff3144111e87ba70da60b7df7a28dab3949f3f3b21c1e3a46f4f39faf71d4a6 595944 
devscripts_2.14.4.tar.xz
 0b10aceb4b039388e6170c85343f074cd0ee88a9e11f36ae374f058d8717e7d7 887494 
devscripts_2.14.4_amd64.deb
Files: 
 10035363645ae3685f690aecf6579116 887494 devel optional 
devscripts_2.14.4_amd64.deb
 fcc616afb25530719662a19dc9ddfaa1 2273 devel optional devscripts_2.14.4.dsc
 660fdeed1881fc1c96e7162263b49fa1 595944 devel optional devscripts_2.14.4.tar.xz

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQJ8BAEBCgBmBQJTieSxXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ5MUJGQkY0RDY5NTZCRDVERjdCNzJEMjNE
RkU2OTFBRTMzMUJBM0RCAAoJEN/mka4zG6PbtRQP/0dOsFXx7a6piHB7hpA3ZPnb
ah76QTpqkrYT18sTg6tUYoErVdGantUIsgJjXeKsqtq93vGeCkmFxMGKFbPNYsGX
5OXL/p91Pdr/2UE7q7dv33p8ltj3ju2Auy82wj+jSouMdk4vkGpVxuGiC1dMzvEo
tTGssXZ5HvmsHpnvH4Py8fnWobitTZ6WBo7q6BN/jV+4wEGj+O/2PuRW7UUXc6/z
aGhzZSIaEeDzUIjckOZ9RXB2N0/ewm9EDWNhPXFTSE2iplCznah7LclPoBeWP31h
Qa4TYGvgjd0OW9NUoBVygwgQvyl+mYngRSXi+5ZjsbFH5o2ud5JVKHav/PswhWCf
xpKZOQugMy1NTC3o+cy4UpOjgrI2ZxwqhXCZkh4/e6IIwGw+OeJPLIMAi/XYfALm
KTlJsBH08GkWvmoePv6E8Ks1txY2sWx/c5xr8aeUXI8RUGNBFyOK1qyBXnhKQJqN
A2PlKhbb/eiN5p5SGpnTRUADNQ8Y+j3Hr2Tf6kKEs8hI2lxYGg1II4i6dx6TejTj
t2mW+7oFwE93tSegECeDA5UtiK/qvwia/KIUVUM/89G8omAMagbiBTZebjnuq5VM
Q94Vkp65bl86Rqd9qkPVhGngYG5iQ/IerC+kKJ0XCuNzhbPPlLgQxNjYK9gWrG8g
/84i+ZAe3M5Hd7J8vmu6
=G2hy
-----END PGP SIGNATURE-----

--- End Message ---
_______________________________________________
devscripts-devel mailing list
devscripts-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/devscripts-devel

Reply via email to