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

Bug#1017966: lintian: Systematic false positives for source-is-missing in r-cran-* documentation



Am Sun, Sep 18, 2022 at 12:26:20AM +0100 schrieb Colin Watson:
> On Tue, Aug 23, 2022 at 08:23:43AM +0200, Andreas Tille wrote:
> > lintian is doing a check for overlong lines to guess for included
> > JavaScript in html pages (and may be more).  I now realised that several
> > R packages are including
> > 
> >    img src="data:image/png;base64
> > 
> > images that were generated by the source of the documentation which is
> > always shipped with these docs.  For example see the documentation of
> > r-cran-patchwork[1].  It would be great if lintian would not report
> > these false positives since the source is provided by upstream and the
> > html file can be re-generated by an automated process.
> 
> I think this may be https://bugs.debian.org/1019980, but I filed that
> separately just in case I'm wrong.

I do not think that the issue of included data:image/png is the same as
included compressed JS.  I admit I don't mind much if those lots of
false positives in R packages could be avoided.

Its just a fact that all html documentation that comes in R packages is
accompanied by an Rmd file with the same name.  The html file that is
rendered with tools that are packaged in Debian and thus could be
reproduced might contain data:image/png, compressed JS (that could also
be obtained from Debian packaged JS) or simply some lines that are
unusually long.

It would be great if this could be somehow expressed in lintian to
avoid false positives.

Kind regards

      Andreas.

-- 
http://fam-tille.de


Reply to: