You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@whimsical.apache.org by se...@apache.org on 2019/03/07 02:29:02 UTC
[whimsy] branch master updated: Add summary of mailing lists
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 <se...@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']