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

Bug#513766: lintian should warn when it failed to parse the changelog

Raphael Geissert <atomo64@gmail.com> writes:
> On Saturday 31 January 2009 19:40:55 you wrote:
> [...]

>> It's supposed to.  That's what the code in changelog-file is supposed to
>> do:
> hmm
>>     my $changes = $info->changelog;
>>     if (my @errors = $changes->get_parse_errors) {
>>         foreach (@errors) {
>>             tag "syntax-error-in-debian-changelog", "line $_->[1]",
>> "\"$_->[2]\""; }
>>     }
>> This is checked in the test suite, so it presumably didn't stop working
>> entirely.  Do you have a changelog file that you expected to produce
>> errors which didn't?

> Yes, attached changelog files is the culprit.

Oh, were you looking at just the source package portion of lintian.log?
changelog-file is a binary package check, so the errors wouldn't show up
until Lintian got to the corresponding binary packages.

Russ Allbery (rra@debian.org)               <http://www.eyrie.org/~eagle/>

Reply to: