whimsical-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject [whimsy] branch master updated: Cache the fetch
Date Fri, 29 Nov 2019 11:04:06 GMT
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 <sebb@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
 


Mime
View raw message