Subject: bug#72601: closed (Re: bug#72601: cuirass: Color the failures that are because of a dependency light red (differently from red))

From: [email-masked] (GNU bug Tracking System)
Date: Tue, 20 Aug 2024 13:15:02 +0000

Your bug report

#72601: cuirass: Color the failures that are because of a dependency light red (differently from red)

which was filed against the guix-patches package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
72601: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=72601
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: bug#72601: cuirass: Color the failures that are because of a dependency light red (differently from red)
From: Ludovic Courtès <[email-masked]>
To: "Danny Milosavljevic" <[email-masked]>
Cc: [email-masked]
Date: Tue, 20 Aug 2024 15:13:18 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

Hi Danny,

"Danny Milosavljevic" <[email-masked]> skribis:

>>>From 2e1ddf5bc553ee2218489fd9ef2467bd1e5cf7c0 Mon Sep 17 00:00:00 2001
> Message-ID: <[email-masked]>
> From: Danny Milosavljevic <[email-masked]>
> Date: Mon, 12 Aug 2024 12:16:12 +0200
> Subject: [PATCH] js: Color failures where a dependency has failed already
>  light red.
>
> * src/static/js/cuirass.js (color): Modify.

Good idea.  Pushed, thanks!

Ludo’.

Subject: cuirass: Color the failures that are because of a dependency light red (differently from red)
From: "Danny Milosavljevic" <[email-masked]>
To: [email-masked]
Date: Tue, 13 Aug 2024 10:18:36 +0200 (CEST)
List-Id: <debbugs-submit.debbugs.gnu.org>

Try it on something like this https://ci.guix.gnu.org/eval/668365/dashboard

>From 2e1ddf5bc553ee2218489fd9ef2467bd1e5cf7c0 Mon Sep 17 00:00:00 2001
Message-ID: <[email-masked]>
From: Danny Milosavljevic <[email-masked]>
Date: Mon, 12 Aug 2024 12:16:12 +0200
Subject: [PATCH] js: Color failures where a dependency has failed already
 light red.

* src/static/js/cuirass.js (color): Modify.
---
 src/static/js/cuirass.js | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/src/static/js/cuirass.js b/src/static/js/cuirass.js
index 42f28f1..b09fab2 100644
--- a/src/static/js/cuirass.js
+++ b/src/static/js/cuirass.js
@@ -150,7 +150,9 @@ ready(() => {
                 case 0:
                     return '#9f9';	/* high contrast with others */
                 case 1:
-                case 2:
+                    return 'red';
+                case 2: // failed-dependency
+                    return 'lightcoral';
                 case 3:
                 case 4:
                     return 'red';

base-commit: 19c09d53395bf50810fce679e07187304b9f9a8c
-- 
2.45.2