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 1e6e6b94 Create listing as is done for CCLAs/ICLAs etc
1e6e6b94 is described below
commit 1e6e6b9478aec2b4c3d34ac173bec9ffa94fd8f1
Author: Sebb <[email protected]>
AuthorDate: Thu Apr 7 11:42:06 2022 +0100
Create listing as is done for CCLAs/ICLAs etc
---
lib/whimsy/asf/memapps.rb | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/lib/whimsy/asf/memapps.rb b/lib/whimsy/asf/memapps.rb
index 27a43175..5e048a62 100644
--- a/lib/whimsy/asf/memapps.rb
+++ b/lib/whimsy/asf/memapps.rb
@@ -83,7 +83,9 @@ module ASF
private
def self.refresh
- @@tag, list = ASF::SVN.getlisting('member_apps', @@tag)
+ cache_dir = ASF::Config.get(:cache)
+ ASF::DocumentUtils.update_cache('member_apps', cache_dir)
+ @@tag, list = ASF::SVN.getlisting('member_apps', @@tag, true, false,
cache_dir)
if list
@@files = list
end
@@ -93,6 +95,7 @@ end
# for test purposes
if __FILE__ == $0
+ require_relative 'documents'
puts ASF::MemApps.files.length
puts ASF::MemApps.names.length
puts ASF::MemApps.stems.length