You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@whimsical.apache.org by ru...@apache.org on 2020/04/16 19:19:10 UTC
[whimsy] branch master updated: recover from checkout not found
This is an automated email from the ASF dual-hosted git repository.
rubys 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 0daacec recover from checkout not found
0daacec is described below
commit 0daacec7f1866e915cd722b79a7a798e3c5e2424
Author: Sam Ruby <ru...@intertwingly.net>
AuthorDate: Thu Apr 16 15:18:35 2020 -0400
recover from checkout not found
should allow the travis tests to pass once again
---
lib/whimsy/asf/board.rb | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/lib/whimsy/asf/board.rb b/lib/whimsy/asf/board.rb
index e282b06..71cd2ce 100644
--- a/lib/whimsy/asf/board.rb
+++ b/lib/whimsy/asf/board.rb
@@ -25,7 +25,8 @@ module ASF
# list of board meeting times as listed in
# committers/board/calendar.txt
def self.calendar
- svn = ASF::SVN['board']
+ svn = ASF::SVN.find('board')
+ return [] unless svn
txt = File.read(File.join(svn, 'calendar.txt'))
times = txt.scan(/^\s+\*\)\s(.*)/).flatten
times.map {|time| TIMEZONE.local_to_utc(Time.parse(time))}