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

Bug#683224: lintian: does not report "debian-changelog-file-missing" when there is a missing Debian changelog if /usr/share/doc is missing



Control: clone -1 -2
Control: tags -1 pending
Control: retitle -2 lintian: Do not assume another check will emit a tag

On 2012-07-30 02:33, Russ Allbery wrote:
> Niels Thykier <niels@thykier.net> writes:
> 
>> This happens to be the intended behaviour as far as I can tell (slightly
>> re-arrranged due to stupid MUA):
> 
>> """
>> # ignore packages which don't have a /usr/share/doc/$pkg directory,
>> # since the copyright check will complain about this
>> """
> 
>> Where "this" is most likely the no-copyright-file (the comment / context
>> does not say).
> 
> "this" here is "the missing /usr/share/doc/$pkg directory."
> 
> The motivation for this and a few other places in Lintian is that certain
> severe errors, such as having /usr/share/doc be missing entirely, would
> produce a whole cascade of errors.  There are a few places where serious
> issues are deferred to one check to complain about them.  (This stuff
> predates when I started working on Lintian.)
> 
> At this point, we should probably take all code like that out, since it's
> possible to run only certain checks, and those may not include the checks
> that complain about serious errors.  The gain was never all that
> significant, anyway.
> 

Okay; I have fixed this in git for checks/changelog-file, but I didn't
go through the other checks yet.  Hench the clone as a TODO reminder.

~Niels


Reply to: