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

Bug#906033: DMD is still failing for me



Same issue.

(i just requested write access on salsa; otherwise please review and
apply my patch)

Christophe
>From 04202e85ea91ae3a5e5edbf9593a286e4f5dbd4f Mon Sep 17 00:00:00 2001
From: Christophe Siraut <tobald@debian.org>
Date: Wed, 15 Aug 2018 09:17:37 +0000
Subject: [PATCH] do not fail on neutral ci status (closes: #906033)

---
 web/inc/dmd-data.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/web/inc/dmd-data.rb b/web/inc/dmd-data.rb
index 20d2ae3..f46b0ab 100755
--- a/web/inc/dmd-data.rb
+++ b/web/inc/dmd-data.rb
@@ -429,7 +429,7 @@ EOF
       else
         poold = r['source'][0]
       end
-      if r['status'] == 'pass'
+      if r['status'] == 'pass' or r['status'] == 'neutral'
         prio = '<span class="prio_ok_nobold">'
         eprio = '</span>'
       elsif r['status'] == 'fail'
-- 
2.11.0


Reply to: