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

Bug#930311: marked as done (lintian: Possible exception to package-contains-documentation-outside-usr-share-doc)



Your message dated Thu, 11 Jul 2019 11:12:20 -0300
with message-id <62a8c857-143c-41bf-b867-ba2a775eb567@www.fastmail.com>
and subject line Re: lintian: Possible exception to package-contains-documentation-outside-usr-share-doc
has caused the Debian Bug report #930311,
regarding lintian: Possible exception to package-contains-documentation-outside-usr-share-doc
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
930311: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=930311
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: lintian
Version: 2.15.0
Severity: normal

Hi,

I noticed that the dh-r package by default creates an override for
package-contains-documentation-outside-usr-share-doc when the R
package puts documentation in usr/lib/R/site-library:

"""
    my $check_for_docs = `find debian/$dh{FIRSTPACKAGE} -type f -name "*.md" -o -name "*.Rmd" -o -name "README" -o -name "README.md" | grep -v 'usr/share/doc'`;
    if ( $check_for_docs ) {
        say "Create lintian-override for package-contains-documentation-outside-usr-share-doc due to $check_for_docs";
        open(my $lintian, ">>", "debian/lintian-overrides");
        say $lintian "# The documentation is where it is expected by GNU R users";
        say $lintian "$dh{FIRSTPACKAGE}: package-contains-documentation-outside-usr-share-doc usr/lib/R/site-library/*";
        close $lintian;
    }
"""
(source: https://sources.debian.org/src/dh-r/20190121/dh/R.pm/?hl=3#L268)

My question is: Should we move this exception to lintian itself and
stop having people automate overrides or should something else be
done?  (To be explicit: The latter is an open question as I am not
sure what the "proper something else" would be in this case)

Thanks,
~Niels

--- End Message ---
--- Begin Message ---
Version: 2.16.0

Hi,

> lintian: Possible exception to package-contains-documentation-outside-usr-share-doc

This was fixed in 2.16.0 but was missing a debian/changelog entry due
to a gbp-dch snafu.


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby@debian.org / chris-lamb.co.uk
       `-

--- End Message ---

Reply to: