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/09/25 19:29:02 UTC
[whimsy] branch master updated: Extract constant
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 2422f08 Extract constant
2422f08 is described below
commit 2422f087602db26a3720b5d0a4fa137a7eb1f291
Author: Sebb <se...@apache.org>
AuthorDate: Wed Sep 25 20:28:53 2019 +0100
Extract constant
---
lib/whimsy/asf/mail.rb | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/lib/whimsy/asf/mail.rb b/lib/whimsy/asf/mail.rb
index 0aa9586..e322bc8 100644
--- a/lib/whimsy/asf/mail.rb
+++ b/lib/whimsy/asf/mail.rb
@@ -89,6 +89,8 @@ module ASF
WHITELIST = ['infra-users', 'jobs', 'site-dev', 'committers-cvs', 'site-cvs', 'party']
+ CHAIR_LIST = %w(board board-commits board-chat)
+
# which lists are available for subscription via Whimsy?
# member: true if member
# pmc_chair: true if pmc_chair
@@ -108,7 +110,7 @@ module ASF
# Chairs need the board lists
if pmc_chair
- lists += ['board', 'board-commits', 'board-chat']
+ lists += CHAIR_LIST
end
# (P)PMC members need their private lists