On Wed, Oct 28, 2020 at 08:00:22PM +0800, Cao Xueliang wrote:
On Wed, Oct 28, 2020 at 06:18:52PM +0800, Lu Weitao wrote:
auto group jobs with user-defined template to support template compare mode background: before compare, create job-groups for all jobs that query from ES with user's filter then, create matrices-groups according job-groups finally, compare each group matrices
Signed-off-by: Lu Weitao luweitaobe@163.com
lib/params_group.rb | 120 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 120 insertions(+)
diff --git a/lib/params_group.rb b/lib/params_group.rb index 0f07d26..4d10dbe 100644 --- a/lib/params_group.rb +++ b/lib/params_group.rb @@ -113,3 +113,123 @@ end def remove_singleton(groups) groups.delete_if { |_k, v| v.length < 2 } end
+# -------------------------------------------------------------------------------------------------- +# auto group job_list by user's template +# Exammple: +# Input:
Example, pls use F3 do the spell check.
Is F3 a vim tool?
Thanks, Xijian