whimsical-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject [whimsy] branch master updated: Add summary of mailing lists
Date Thu, 07 Mar 2019 02:29:02 GMT
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 a247037  Add summary of mailing lists
a247037 is described below

commit a2470375c681dc605c8e8b07ad5216891ce3a908
Author: Sebb <sebb@apache.org>
AuthorDate: Thu Mar 7 02:27:45 2019 +0000

    Add summary of mailing lists
---
 lib/whimsy/asf/mlist.rb | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/lib/whimsy/asf/mlist.rb b/lib/whimsy/asf/mlist.rb
index d07285a..3b1c664 100644
--- a/lib/whimsy/asf/mlist.rb
+++ b/lib/whimsy/asf/mlist.rb
@@ -165,6 +165,14 @@ module ASF
       end
     end
 
+    # return the [domain, list] for all entries in the subscriber listings
+    # the subscribers are not included 
+    def self.each_list
+      list_parse('sub') do |dom, list, subs|
+        yield [dom, list]
+      end
+    end
+
     private
 
     # return the archiver type as array: [:MBOX|:PONY|:MINO, 'public'|'private'|'alias'|'direct']


Mime
View raw message