[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#491365: lintian: debian-copyright-line-too-long should honour word boundaries



Package: lintian
Version: 1.24.2
Severity: normal

The debian-copyright-line-too-long complains about too long lines, even
if there's no chance to make the line shorter, as you can't break the
word. For example 
       http://foo/bar/fuzz/foo/bar/fuzz/foo/bar/fuzz/foo/bar/fuzz/foo/bar/fuzz/foo/bar/fuzz/boo.html
is not possible to write in a different way.
So imho the check should be changed to complain only about lines which
consist of more than one word. Only lines matching something like
(^ *[^ ]+ +[^ ]*) should be checked for their length. The regexp should
be enhanced to match all white spaces probably...

Thanks,

Bernd



Reply to: