Bug#675134: libparse-debcontrol-perl: Reports a parse error if first line of file is a comment
Travis Cross
tc at traviscross.com
Wed May 30 05:46:01 UTC 2012
On 2012-05-30 05:31, Jason White wrote:
> If the first line of the control file is a comment and I run dch -i, which
> invokes libparse-debcontrol-perl, I get:
> Parse error: invalid key/value stansa at line 1 of data ("### Do not edit!
> This file is auto-generated from debian/bootstrap.sh.").
Quoting the Debian policy document:
Lines starting with # without any preceding whitespace are comments
lines that are only permitted in source package control files
(debian/control). These comment lines are ignored, even between two
continuation lines. They do not end logical lines.
http://www.debian.org/doc/debian-policy/ch-controlfields.html
It definitely seems that libparse-debcontrol-perl should allow this.
More information about the pkg-perl-maintainers
mailing list