Skip to content

Commit

Permalink
Ensure memapps is up to date
Browse files Browse the repository at this point in the history
  • Loading branch information
sebbASF committed Sep 20, 2024
1 parent 6c88e1c commit dca6d16
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion DEPLOYMENT.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions lib/whimsy/asf/memapps.rb
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@ def self.files

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
Expand Down
1 change: 1 addition & 0 deletions www/roster/models/committer.rb
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,7 @@ def self.serialize(id, env)
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')
Expand Down

0 comments on commit dca6d16

Please sign in to comment.