[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



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.

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


Reply to: