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 2024/10/23 23:12:22 UTC

(whimsy) branch master updated: Allow for a couple of official subscriptions

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 2b14ac3f Allow for a couple of official subscriptions
2b14ac3f is described below

commit 2b14ac3f5ffd8c3a83ce4f1f586beee71541a38f
Author: Sebb <se...@apache.org>
AuthorDate: Thu Oct 24 00:12:16 2024 +0100

    Allow for a couple of official subscriptions
---
 www/officers/subscriptioncheck.cgi | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/www/officers/subscriptioncheck.cgi b/www/officers/subscriptioncheck.cgi
index 684b1183..6bfd2273 100755
--- a/www/officers/subscriptioncheck.cgi
+++ b/www/officers/subscriptioncheck.cgi
@@ -14,6 +14,9 @@ unless user.asf_chair_or_member?
   exit
 end
 
+# These are OK for member-announce
+MEMBER_ANNOUNCE_OK = %w(board-chair@apache.org secretary@apache.org)
+
 DEFAULT_LISTS = 'board,markpub,members,members-announce,members-notify,operations,press,trademarks,private@infra.apache.org'
 listnames = ENV['QUERY_STRING']
 listnames = DEFAULT_LISTS if listnames == ''
@@ -89,6 +92,7 @@ _html do
           _a listid, href: "https://lists.apache.org/list.html?#{listid}"
           _ "(updated #{modtime})"
         end
+        subscribers -= MEMBER_ANNOUNCE_OK if listid == 'members-announce@apache.org'
         maillist = ASF::Mail.list
         subscribers.each do |line|
           person = maillist[line.downcase]