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

Osamu Aoki osamu at debian.org
Wed Jul 10 14:25:50 UTC 2013


Hi,

On Wed, Jul 10, 2013 at 03:56:38PM +0200, Benjamin Drung wrote:
> Am Mittwoch, den 10.07.2013, 23:08 +1000 schrieb Dmitry Smirnov:
> > Probably this is a duplicate of #694142...
> 
> Nope. This bug is not caused or influenced by comments.
> 
> I can reproduce the bug and found the reason for this behavior. The
> ibus-gtk and ibus-gtk3 paragraphs are separated by an empty line, but
> this empty line contains a space.

... sharp eye!  Thanks.

(under non-insert mode vi, it is not easy to catch them.)

> 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?

Debian policy "5.1 Syntax of control files" has:

A control file consists of one or more paragraphs of fields[32]. 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 this is wishlist bug to wrap-and-sort to accept such lines consisting
solely of spaces and tabs and convert them to true empty line
considering its intended use as lint.

Thanks.

Osamu



More information about the devscripts-devel mailing list