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:04:10 UTC
[whimsy] branch master updated: Require needed
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 36e2f51 Require needed
36e2f51 is described below
commit 36e2f515c392e9d6e8c6c8f0ecce6eaddeeb7fcc
Author: Sebb <se...@apache.org>
AuthorDate: Wed Dec 30 17:04:01 2020 +0000
Require needed
---
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 75ed978..31e79b3 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}"
+ require 'whimsy/asf/rack'
ASF::Auth.decode(env = {})
filerev, svnrev = ASF::SVN.updatelisting(iclas, env.user, env.password, false, cache_dir)
if filerev && svnrev # it worked