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 5618754d Extract list of accepted invites
5618754d is described below
commit 5618754d72102bb1a06bc09e7ece4af4d0cf752b
Author: Sebb <[email protected]>
AuthorDate: Thu Apr 13 12:45:02 2023 +0100
Extract list of accepted invites
---
www/members/watch.cgi | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/www/members/watch.cgi b/www/members/watch.cgi
index 13878f26..f72ee248 100755
--- a/www/members/watch.cgi
+++ b/www/members/watch.cgi
@@ -123,6 +123,10 @@ _html do
scan(/^(yes|no)\s+(yes|no)\s+(yes|no)\s+(yes|no)\s+(\w+)\s/)
status = status.map {|tokens| [tokens.pop, tokens]}.to_h
list = status.keys.map {|id| ASF::Person.find(id)}
+ _p do
+ _ 'Accepted:'
+ _ status.filter_map {|k, v| list.find{|p| p.name ==
k}.public_name.to_s if v[1] == 'yes' }.sort.join(', ')
+ end
else
_h2_ 'From potential-member-watch-list.txt'
list = watch_list