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

[SCM] Debian package checker branch, master, updated. 273414b0021edba1f9ed118a16d6f3298ab9eabd



The following commit has been merged in the master branch:
commit 273414b0021edba1f9ed118a16d6f3298ab9eabd
Author: Jordà Polo <jorda@ettin.org>
Date:   Tue Jul 8 10:33:25 2008 -0700

    Mark packages that override all instances of a tag
    
    * reporting/lintian.css:
      + [RA] New style for marking packages that override a tag on the tag
        summary page.  Patch from Jordà Polo.
    * reporting/templates/tag.tmpl:
      + [RA] Mark packages that override all instances of a given tag.
        Patch from Jordà Polo.

diff --git a/debian/changelog b/debian/changelog
index b20a717..30e5f63 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -124,10 +124,15 @@ lintian (1.24.2) unstable; urgency=low
     + [ADB] Process packages using -E so that experimental tags are included.
   * reporting/html_reports:
     + [FL] Mark the tag pages with the correct code.
+  * reporting/lintian.css:
+    + [RA] New style for marking packages that override a tag on the tag
+      summary page.  Patch from Jordà Polo.
   * reporting/templates/clean.tmpl:
     + [ADB] Note that the full report includes experimental tags.
   * reporting/templates/tag.tmpl:
     + [FL] Mark overridden tags.
+    + [RA] Mark packages that override all instances of a given tag.
+      Patch from Jordà Polo.
   * reporting/templates/maintainer.tmpl:
     + [FL] Add useful links for each source package.
       With layout help by Jordà Polo.
diff --git a/reporting/lintian.css b/reporting/lintian.css
index 96b60e6..c5acb79 100644
--- a/reporting/lintian.css
+++ b/reporting/lintian.css
@@ -277,6 +277,17 @@ h2.tag a {
     font-weight: bold;
 }
 
+h2.tag span.type-O {
+    margin: 0 3px 0 0;
+    padding: 2px 4px;
+    color: #555;
+    background: #EEE;
+    font-family: monospace;
+    font-size: 1.1em;
+    font-weight: bold;
+    border: 1px solid #DDD;
+}
+
 /* E/W/I colors */
 
 span.type-I {
diff --git a/reporting/templates/tag.tmpl b/reporting/templates/tag.tmpl
index 7149180..e9b4f84 100644
--- a/reporting/templates/tag.tmpl
+++ b/reporting/templates/tag.tmpl
@@ -25,9 +25,9 @@
         if (!$last
 	    or "$info->{package} $info->{type}" ne "$last->{package} $last->{type}") {
 	    if ($last) {
-		my $overridden = $has_nonoverridden ? '' : qq{<span class="type-O">O</span> };
-		$OUT .= qq(  <h2 class="tag">$overridden<a href="../full/$last->{xref}">);
-		$OUT .= "$last->{package}</a> ($last->{type})</h2>\n";
+		my $overridden = $has_nonoverridden ? '' : qq{ <span class="type-O">overridden</span>};
+		$OUT .= qq(  <h2 class="tag"><a href="../full/$last->{xref}">);
+		$OUT .= "$last->{package}</a> ($last->{type})$overridden</h2>\n";
         	$OUT .= qq(  <ul class="tag">\n);
 	        $OUT .= $tag;
 	        $OUT .= "</ul>\n";
@@ -43,9 +43,9 @@
 	    $tag .= "$info->{extra}</li>\n";
 	}
     }
-    my $overridden = $has_nonoverridden ? '' : qq{<span class="type-O">O</span> };
-    $OUT .= qq(  <h2 class="tag">$overridden<a href="../full/$last->{xref}">);
-    $OUT .= "$last->{package}</a> ($last->{type})</h2>\n";
+    my $overridden = $has_nonoverridden ? '' : qq{ <span class="type-O">overridden</span>};
+    $OUT .= qq(  <h2 class="tag"><a href="../full/$last->{xref}">);
+    $OUT .= "$last->{package}</a> ($last->{type})$overridden</h2>\n";
     $OUT .= qq(  <ul class="tag">\n);
     $OUT .= $tag;
     $OUT .= "</ul>\n";

-- 
Debian package checker


Reply to: