Bug#646985: lintian: vcs-* fields containing new-lines

2011-10-29 Thread Niels Thykier
On 2011-10-29 02:56, Russ Allbery wrote:
 Niels Thykier ni...@thykier.net writes:
 
 From lintian.d.o:
 
 libfax-hylafax-client-perl (1.02-1):
 [...]
 vcs-field-uses-unknown-uri-format
 
 vcs-browser \n 
 http://svn.debian.org/wsvn/pkg-perl/trunk/libfax-hylafax-client-perl/
 
 The check should probably ignore newlines.
 
 I think there's another open bug about this somewhere.  The question is
 whether it's safe to have newlines in those fields and if all the parsers
 handle it.  This isn't something that one can necessarily assume; simple
 fields may not be folded, and there are quite a few simple fields in the
 debian/control syntax that will break some parsers if folded.
 

True, but then we should emit a multiline-field tag instead of the \n
$url error, which just looks like lintian is broken.

~Niels





-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#646985: lintian: vcs-* fields containing new-lines

2011-10-29 Thread Russ Allbery
Niels Thykier ni...@thykier.net writes:

 True, but then we should emit a multiline-field tag instead of the \n
 $url error, which just looks like lintian is broken.

Good point.

-- 
Russ Allbery (r...@debian.org)   http://www.eyrie.org/~eagle/



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#646985: lintian: vcs-* fields containing new-lines

2011-10-28 Thread Niels Thykier
Package: lintian
Severity: normal

From lintian.d.o:

libfax-hylafax-client-perl (1.02-1):
[...]
vcs-field-uses-unknown-uri-format

vcs-browser \n 
http://svn.debian.org/wsvn/pkg-perl/trunk/libfax-hylafax-client-perl/

The check should probably ignore newlines.

~Niels



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#646985: lintian: vcs-* fields containing new-lines

2011-10-28 Thread Russ Allbery
Niels Thykier ni...@thykier.net writes:

 From lintian.d.o:

 libfax-hylafax-client-perl (1.02-1):
 [...]
 vcs-field-uses-unknown-uri-format

 vcs-browser \n 
 http://svn.debian.org/wsvn/pkg-perl/trunk/libfax-hylafax-client-perl/

 The check should probably ignore newlines.

I think there's another open bug about this somewhere.  The question is
whether it's safe to have newlines in those fields and if all the parsers
handle it.  This isn't something that one can necessarily assume; simple
fields may not be folded, and there are quite a few simple fields in the
debian/control syntax that will break some parsers if folded.

-- 
Russ Allbery (r...@debian.org)   http://www.eyrie.org/~eagle/



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org