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

Re: Full lintian run?



On Tue, Jun 10, 2008 at 10:06:12PM -0700, Russ Allbery wrote:
> I've noticed that the new web pages are less than ideal in some
> situations.  See, for example,
> 
>     http://lintian.debian.org/maintainer/rra@debian.org.html
> 
> at the bottom of the page, the sident package.  It looks like the same tag
> repeated across multiple binary packages doesn't cause reiteration of the
> tag, and I think it should.  openafs under
> 
>     http://lintian.debian.org/full/rra@debian.org.html
> 
> has a related problem and loses track of the nesting of the lists.

Oups, that was my fault. I think the attached patch fixes both problems.
Index: reporting/templates/maintainer.tmpl
===================================================================
--- reporting/templates/maintainer.tmpl	(revision 1374)
+++ reporting/templates/maintainer.tmpl	(working copy)
@@ -73,7 +73,7 @@
                 }
 
                 # Display tag name only once.
-                if ($tag ne $info->{tag}) {
+                if ($tag ne $info->{tag} or $new_binary) {
                     $OUT .= "</ul>\n    </li>\n" unless $first or $new_binary;
                     $OUT .= "    <li>\n";
                     $OUT .= qq(      <span class="type-$info->{code}">);

Reply to: