This is an automated email from the ASF dual-hosted git repository.

sebb pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/whimsy.git


The following commit(s) were added to refs/heads/master by this push:
     new a7e82dec ASF::Mail.lists was moved
a7e82dec is described below

commit a7e82dec9db7eac38443bcea725b365ecf830ef5
Author: Sebb <s...@apache.org>
AuthorDate: Sun Apr 7 23:25:25 2024 +0100

    ASF::Mail.lists was moved
---
 www/incubator/maillist.cgi | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/www/incubator/maillist.cgi b/www/incubator/maillist.cgi
index 93312ca1..06761de0 100755
--- a/www/incubator/maillist.cgi
+++ b/www/incubator/maillist.cgi
@@ -4,6 +4,7 @@ PAGETITLE = "Incubator Podling Mailing Lists" # 
Wvisible:incubator mail
 $LOAD_PATH.unshift '/srv/whimsy/lib'
 
 require 'whimsy/asf'
+require 'whimsy/asf/mlist' # not loaded by default
 require 'wunderbar/bootstrap'
 
 _html do
@@ -20,7 +21,7 @@ _html do
         _a 
'https://whimsy.apache.org/test/dataflow.cgi#/lib/whimsy/asf/podlings.rb', 
href: '/test/dataflow.cgi#/lib/whimsy/asf/podlings.rb'
       }
     ) do
-      lists = ASF::Mail.lists
+      lists = ASF::MLIST
 
       _table.table do
         _tr do
@@ -42,7 +43,7 @@ _html do
 
             _td podling.status
             _td podling.reporting.join(', ')
-            _td lists.select {|list| podling.mail_list?(list) }.join(', ')
+            _td ASF::MLIST.domain_lists(podling.name, true).keys.join(', ')
           end
         end
       end

Reply via email to