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

Bug#498617: package with only I tags is displayed on normal report and PTS



On Thu, Sep 11, 2008 at 07:23:15PM +0100, Adam D. Barratt wrote:
> On Thu, 2008-09-11 at 16:16 +0200, Thijs Kinkhorst wrote:
> > I have a package (php-net-socket) that currently just has two info-level 
> > lintian tags. On the page
> > http://lintian.debian.org/maintainer/pkg-php-maint@lists.alioth.debian.org.html
> > it is listed in the bulleted list near the top but the anchor doesn't go 
> > anywhere.
> 
> I can reproduce this using the code from current git and a slightly
> hacked reporting harness which only checks php-net-socket. From my
> investigations so far, it looks like a bug in the package scheduling
> code but I need to dig a little deeper.

Nothing complicated really, the code that produces the listing at the
top doesn't actually checks whether the package has an E or W tag. And
since the template gets all the packages even if it only should show
errors and warnings it isn't actually trivial to decide whether the
package should be listed. This should either be fixed in html_reports
to only pass the required packages to the template or in the template
by doing the filtering that comes later before printing the package
listing.

> > Also the PTS links to this page as if it had something to say about the 
> > package which it doesn't.
> 
> That's a symptom of the same problem. The PTS reads a file produced by
> the lintian.d.o reporting setup indicating which packages had issues
> rated "warning" or "error". In this case, the file contains
> "php-net-socket 0 0" which whilst technically accurate is somewhat
> confusing...

I don't actually think that this has anything to do with the
lintian.debian.org problem.

Gruesse,
-- 
Frank Lichtenheld <djpig@debian.org>
www: http://www.djpig.de/



Reply to: