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 0846d44f Document voluntary emeritus in members.txt
0846d44f is described below
commit 0846d44f0d35438b15781a98ed0cd1c9306e4061
Author: Sebb <[email protected]>
AuthorDate: Tue Mar 4 20:48:45 2025 +0000
Document voluntary emeritus in members.txt
---
www/roster/views/actions/memstat.json.rb | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/www/roster/views/actions/memstat.json.rb
b/www/roster/views/actions/memstat.json.rb
index c89f6c71..76da5b00 100644
--- a/www/roster/views/actions/memstat.json.rb
+++ b/www/roster/views/actions/memstat.json.rb
@@ -37,6 +37,12 @@ if %w{active emeritus deceased
involuntary_emeritus}.include? @action
# if pending emeritus request was found, move it to emeritus
pathname, basename = ASF::EmeritusRequestFiles.findpath(user)
if pathname
+ # Add details of emeritus file commit.
+ # The file is moved to the emeritus directory as part of the commit,
so we show today's date
+ # and the details of the file from the received directory.
+ info = ASF::SVN.getInfoAsHash(pathname, env.user, env.password)
+ reason = "updated #{Time.now.utc.strftime "%Y-%m-%d"} received as
r#{info['Last Changed Rev']} #{info['Last Changed Date'].split().first}}"
+ entry.sub! "\n", " /* emeritus, #{reason} */\n" # add the reason
comment
extra << ['mv', pathname, ASF::SVN.svnpath!('emeritus', basename)]
else # there should be a request file
_warn 'Emeritus request file not found'