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: Need to fetch env
Date Wed, 30 Dec 2020 17:01:14 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 258fe96  Need to fetch env
258fe96 is described below

commit 258fe966c4390e6cde45a09324379202ca0b4c14
Author: Sebb <sebb@apache.org>
AuthorDate: Wed Dec 30 17:01:05 2020 +0000

    Need to fetch env
---
 lib/whimsy/asf/documents.rb | 1 +
 1 file changed, 1 insertion(+)

diff --git a/lib/whimsy/asf/documents.rb b/lib/whimsy/asf/documents.rb
index 719ddb5..75ed978 100644
--- a/lib/whimsy/asf/documents.rb
+++ b/lib/whimsy/asf/documents.rb
@@ -98,6 +98,7 @@ module ASF
       age = (Time.now - begin File.mtime(file) rescue 0 end).to_i
       if age > 600 # 5 minutes
         Wunderbar.warn "Updating listing #{file} #{age}"
+        ASF::Auth.decode(env = {})
         filerev, svnrev = ASF::SVN.updatelisting(iclas, env.user, env.password, false, cache_dir)
         if filerev && svnrev # it worked
           FileUtils.touch file # last time it was checked


Mime
View raw message