You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@whimsical.apache.org by se...@apache.org on 2019/11/29 11:04:06 UTC

[whimsy] branch master updated: Cache the fetch

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 21621b2  Cache the fetch
21621b2 is described below

commit 21621b271cd1a695389cbe35c152ceff2623afe8
Author: Sebb <se...@apache.org>
AuthorDate: Fri Nov 29 11:03:46 2019 +0000

    Cache the fetch
---
 lib/whimsy/asf/icla.rb | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/lib/whimsy/asf/icla.rb b/lib/whimsy/asf/icla.rb
index b94e059..d1a6749 100644
--- a/lib/whimsy/asf/icla.rb
+++ b/lib/whimsy/asf/icla.rb
@@ -277,7 +277,8 @@ module ASF
     # listing of top-level icla file/directory names
     # Directories are listed without trailing "/"
     def self.listnames
-      Dir[File.join(ASF::SVN['iclas'], '*')]
+      @@ICLAFILES = ASF::SVN['iclas'] unless @@ICLAFILES
+      Dir[File.join(@@ICLAFILES, '*')]
     end
   end