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: Must allow root emails to private@
Date Fri, 04 Jun 2021 09:34:46 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 d17771b  Must allow root emails to private@
d17771b is described below

commit d17771b3c0f7341e738b2a2af8e04457026663fa
Author: Sebb <sebb@apache.org>
AuthorDate: Fri Jun 4 10:34:38 2021 +0100

    Must allow root emails to private@
---
 DEPLOYMENT.md     |  1 +
 tools/inactive.rb | 16 ++++++++++++++++
 2 files changed, 17 insertions(+)

diff --git a/DEPLOYMENT.md b/DEPLOYMENT.md
index 48f8b05..26d2881 100644
--- a/DEPLOYMENT.md
+++ b/DEPLOYMENT.md
@@ -110,6 +110,7 @@ and running - these are only needed for a new deployment.
     * Subscribe `svnupdate@whimsy-vm4.apache.org` to `foundation-commits@apache.org`.
     * Subscribe `board@whimsy-vm4.apache.org` to `board@apache.org`.
     * Subscribe `members@whimsy-vm4.apache.org` to `members@apache.org`.
+    * Subscribe `root@whimsy-vm4.apache.org` to `private-allow@whimsical.apache.org`.
     * Add `secretary@whimsy-vm4.apache.org` to the `secretary@apache.org` alias.
 
  * Verify that email can be sent to non-apache.org email addresses.
diff --git a/tools/inactive.rb b/tools/inactive.rb
new file mode 100755
index 0000000..a828993
--- /dev/null
+++ b/tools/inactive.rb
@@ -0,0 +1,16 @@
+#!/usr/bin/env ruby
+
+$LOAD_PATH.unshift '/srv/whimsy/lib'
+
+require 'whimsy/asf'
+
+ASF::Person.preload(%w(uid))
+cttees = ASF::Committee.load_committee_info
+cttees.each do |cttee|
+  cttee.info.each do |availid|
+    person = ASF::Person[availid]
+    if person.asf_member?.to_s.start_with? 'Deceased'
+      p [cttee.name,availid,person.asf_member?]
+    end
+  end
+end
\ No newline at end of file

Mime
View raw message