Raphael Geissert <atom...@gmail.com> writes:

> It would be nice if lintian warned when Parse::DebianChangelog fails to
> parse the changelog, instead of just silently ignoring the errors.
> Example:
>
> 'errors' => {
>               'parser' => [[
>              'debfiles/changelog',
>              '5',
>              'couldn\'t parse date Mon, 29 Dec 2008 85:45:00 -0000'
>            ]]
>             },
> 'data' => [
>             bless( {
> [...]
>     'Date' => 'Mon, 29 Dec 2008 85:45:00 -0000',
>     'Urgency' => 'high',
>     'Urgency_Comment' => '',
>     'Timestamp' => undef,

It's supposed to.  That's what the code in changelog-file is supposed to
do:

    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?

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



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

Reply via email to