Bug#930369: dh-r: Please drop automated package-contains-documentation-outside-usr-share-doc Lintian override generation

2019-06-12 Thread Andreas Tille
On Wed, Jun 12, 2019 at 03:51:28PM +0100, Chris Lamb wrote:
> > Would you also add an exception for lintian to not warn about those
> > fonts coming with R packages […]
> 
> Thanks for making the changes on your end; you can go ahead and remove
> the font exception generation too now as I've done the Lintian side in:
> 
>   
> https://salsa.debian.org/lintian/lintian/commit/d6aa1908790321af0aa3c7ab7250f19f8f56db2a

Done in Git.  I'll test the changes for some time and may be we'll wait
with any upload after Buster release.

Kind regards

  Andreas.

-- 
http://fam-tille.de



Bug#930369: dh-r: Please drop automated package-contains-documentation-outside-usr-share-doc Lintian override generation

2019-06-12 Thread Chris Lamb
Hi Andreas,

> https://salsa.debian.org/r-pkg-team/dh-r/blob/master/dh/R.pm
> 
> in line 268 (you see I've just commited a fix for the doc issue).
>
> Would you also add an exception for lintian to not warn about those
> fonts coming with R packages […]

Thanks for making the changes on your end; you can go ahead and remove
the font exception generation too now as I've done the Lintian side in:

  
https://salsa.debian.org/lintian/lintian/commit/d6aa1908790321af0aa3c7ab7250f19f8f56db2a

> […] I'm fine if you leave it but make it of level pedantic instead
> of info

(Lintian does not support per-instance severity levels; it is a
"global" property of the tag.)


Best wishes,

-- 
  ,''`.
 : :'  : Chris Lamb
 `. `'`  la...@debian.org 🍥 chris-lamb.co.uk
   `-



Bug#930369: dh-r: Please drop automated package-contains-documentation-outside-usr-share-doc Lintian override generation

2019-06-12 Thread Andreas Tille
Hi Chris,

On Tue, Jun 11, 2019 at 03:43:33PM +0100, Chris Lamb wrote:
> In #930311, Niels Thykier mentions that he:
> 
> > 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
> 
> To wit, https://sources.debian.org/src/dh-r/20190121/dh/R.pm/?hl=3#L268.
> 
> My retort was that "the idea of automatically-generated overrides
> simply makes me squirm" and so I added an exception to Lintian itself
> here:
> 
>   
> https://salsa.debian.org/lintian/lintian/commit/a16cd3a1c812c8894bddf9b920561eb0dd602d85

Thanks for this.
 
> Accordingly, please remove the automatic generation code. At the very
> least it will now result in annoying "unused override" warnings
> instead.
> 
> (As an aside, if a similar situation occurs in the future, please
> consider requesting the Lintian maintainers to make a general
> exception; it is surely poor software engineering practice to litter
> our entire archive when we can so easily fix it in one place.)

I fully agree.  As always this was a quick-n-dirty hack which survived
way longer than planed.  Since I somehow sticked to this hack it was
also done for

font-in-non-font-package and font-outside-font-dir

as you can see in

https://salsa.debian.org/r-pkg-team/dh-r/blob/master/dh/R.pm

in line 268 (you see I've just commited a fix for the doc issue).
Would you also add an exception for lintian to not warn about those
fonts coming with R packages (I'm fine if you leave it but make it
of level pedantic instead of info).

Kind regards and thanks a lot for maintaining lintian

 Andreas.

-- 
http://fam-tille.de



Bug#930369: dh-r: Please drop automated package-contains-documentation-outside-usr-share-doc Lintian override generation

2019-06-11 Thread Chris Lamb
Package: dh-r
Version: 20190121
Severity: wishlist
X-Debbugs-CC: lintian-ma...@debian.org

Hi,

In #930311, Niels Thykier mentions that he:

> 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

To wit, https://sources.debian.org/src/dh-r/20190121/dh/R.pm/?hl=3#L268.

My retort was that "the idea of automatically-generated overrides
simply makes me squirm" and so I added an exception to Lintian itself
here:

  
https://salsa.debian.org/lintian/lintian/commit/a16cd3a1c812c8894bddf9b920561eb0dd602d85

Accordingly, please remove the automatic generation code. At the very
least it will now result in annoying "unused override" warnings
instead.

(As an aside, if a similar situation occurs in the future, please
consider requesting the Lintian maintainers to make a general
exception; it is surely poor software engineering practice to litter
our entire archive when we can so easily fix it in one place.)


Best wishes,

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