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 dca6d160 Ensure memapps is up to date
dca6d160 is described below
commit dca6d160589d894119f48c6231296548cd169a08
Author: Sebb <[email protected]>
AuthorDate: Fri Sep 20 16:14:32 2024 +0100
Ensure memapps is up to date
---
DEPLOYMENT.md | 2 +-
lib/whimsy/asf/memapps.rb | 1 +
www/roster/models/committer.rb | 1 +
3 files changed, 3 insertions(+), 1 deletion(-)
diff --git a/DEPLOYMENT.md b/DEPLOYMENT.md
index be0ba988..ffe6d0cd 100644
--- a/DEPLOYMENT.md
+++ b/DEPLOYMENT.md
@@ -108,7 +108,7 @@ and running - these are only needed for a new deployment.
(but may revert here)
https://svn.apache.org/repos/infra/infrastructure/apmail/trunk/bin:
* listmodsubs.sh - add the new host
* whimsy_qmail_ids.sh - add the new host
- * make sure that the host is added to the known_hosts file on hermes
+ * make sure that the host is added to the apmail:known_hosts file on
mailgw-he-de
(e.g. rsync whimsy-vmN.apache.org: and agree to the prompt if the hash is
correct; must be done from the apmail account)
* the old hosts should be removed sometime after switchover. This
approach requires two edits to the files
but ensures that the rsync has been tested for the new host and allows
the new host to be better tested
diff --git a/lib/whimsy/asf/memapps.rb b/lib/whimsy/asf/memapps.rb
index 8abed036..3c29cbaf 100644
--- a/lib/whimsy/asf/memapps.rb
+++ b/lib/whimsy/asf/memapps.rb
@@ -90,6 +90,7 @@ module ASF
def self.refresh
cache_dir = ASF::DocumentUtils.check_cache(STEM).first
+ # trimSlash, getEpoch
@@tag, list = ASF::SVN.getlisting(STEM, @@tag, true, false, cache_dir)
if list
@@files = list
diff --git a/www/roster/models/committer.rb b/www/roster/models/committer.rb
index 93ad2907..c63a9833 100644
--- a/www/roster/models/committer.rb
+++ b/www/roster/models/committer.rb
@@ -156,6 +156,7 @@ class Committer
member[:info] = person.members_txt
if person.icla # not all members have iclas
+ ASF::MemApps.update_cache(env)
file = ASF::MemApps.find1st(person)
if file
url = ASF::SVN.svnurl('member_apps')