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 2020/12/30 17:01:14 UTC

[whimsy] branch master updated: Need to fetch env

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 <se...@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