Bug#715558: devscripts: drop some entries in control when wrap-and-sorted

James McCoy jamessan at debian.org
Thu Jul 11 00:28:57 UTC 2013


Control: reassign -1 python3-debian 0.1.21+nmu2
Control: affects -1 devscripts
Control: retitle -1 Deb822.iter_paragraphs elides a paragraph if followed by a whitespace-only line

On Wed, Jul 10, 2013 at 10:58:04AM -0400, James McCoy wrote:
> On Jul 10, 2013 10:00 AM, "Benjamin Drung" <bdrung at debian.org> wrote:
> >
> > Is this control file valid with the space in the empty line? If so, is
> > this a bug in wrap-and-sort or in python3-debian?
> 
> According to policy section 5.1, "The paragraphs are separated by empty
> lines.  Parsers may accept lines consisting solely of spaces and tabs as
> paragraph separators, but control files should use empty lines."
> 
> So a strict parser should require an empty line to delineate a new
> paragraph. This seems to be what python3-debian did and it discarded the
> entire ibus-gtk paragraph when it encountered the whitespace only line.
> 
> Also in 5.1 is "… and lines consisting only of spaces and tabs are not
> allowed within field values or between fields.  Empty lines in field values
> are usually escaped by representing them by a space followed by a dot."
> 
> According to the above, I'd suggest reassigning this to python3-debian and
> that it be changed to either treat the whitespace line as an empty line or
> throw an exception staying the file is malformed.

-- 
James
GPG Key: 4096R/331BA3DB 2011-12-05 James McCoy <jamessan at debian.org>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-python-debian-maint/attachments/20130710/2a13cba3/attachment.sig>


More information about the pkg-python-debian-maint mailing list