This is an automated email from the git hooks/post-receive script.

nthykier pushed a commit to branch master
in repository lintian.

commit 8fd2653d2f631171718798e595b90262dfd156c0
Author: Niels Thykier <ni...@thykier.net>
Date:   Sun Feb 4 09:47:49 2018 +0000

    r/t/maintainer.tmpl: Add a distinct status for incomplete reports
    
    Signed-off-by: Niels Thykier <ni...@thykier.net>
---
 reporting/templates/lintian.css.tmpl | 4 ++++
 reporting/templates/maintainer.tmpl  | 2 ++
 2 files changed, 6 insertions(+)

diff --git a/reporting/templates/lintian.css.tmpl 
b/reporting/templates/lintian.css.tmpl
index 7660e34..cc3e8a3 100644
--- a/reporting/templates/lintian.css.tmpl
+++ b/reporting/templates/lintian.css.tmpl
@@ -378,6 +378,10 @@ li.type-O {
     color: #444;
 }
 
+b.processing-error {
+    color: #FF6700;
+}
+
 blockquote {
     padding: 6px 16px;
     background-color: #EEE;
diff --git a/reporting/templates/maintainer.tmpl 
b/reporting/templates/maintainer.tmpl
index 9fdd6c4..3e58c5b 100644
--- a/reporting/templates/maintainer.tmpl
+++ b/reporting/templates/maintainer.tmpl
@@ -108,6 +108,8 @@
                     my $status = 'up-to-date';
                     my $last_processed_by = $state->{'last-processed-by'} // 
'N/A';
                     $status = '<i>outdated</i>' if 
(exists($state->{'out-of-date'}));
+                    $status = '<b class="processing-error">incomplete report; 
an error occurred during the last check</b>'
+                      if exists($state->{'processing-errors'}) and 
$state->{'processing-errors'};
                     $OUT .= qq(  <div class="source-header">\n);
                     $OUT .= qq(   <h2 id="$pkg_info->{anchor}">);
                     $OUT .= "$source ($version$component)";

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/lintian/lintian.git

Reply via email to