From a0cc37786398577a8bbba7c1f85c29f38662f0da Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Mon, 11 Aug 2025 01:29:14 +0200 Subject: [PATCH] jobset-eval: reduce compare options to active jobsets The list of jobsets is very high on hydra.nixos.org and the compare to dropdown listing goes over multiple full pages in the busy projects. If we ignore jobsets that we disable this interface becomes more usable again. --- src/root/jobset-eval.tt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/root/jobset-eval.tt b/src/root/jobset-eval.tt index 11965ce2..693c24ba 100644 --- a/src/root/jobset-eval.tt +++ b/src/root/jobset-eval.tt @@ -13,7 +13,7 @@ This jobset one month earlier [% IF project.jobsets_rs.count > 1 %] - [% FOREACH j IN project.jobsets.sort('name'); IF j.name != jobset.name %] + [% FOREACH j IN project.jobsets.sort('name'); IF j.name != jobset.name && j.enabled == 1 %] Jobset [% project.name %]:[% j.name %] [% END; END %] [% END %]