From d9020e6f1d56c8ed0adb15d12ecb98053c5d1407 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 6e97c386..245a2b0a 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 | html %]:[% j.name | html %] [% END; END %] [% END %]