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/06/05 16:36:09 UTC
[whimsy] branch master updated: Simplify
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 128580c Simplify
128580c is described below
commit 128580c27d6ab0c6e5fc1eff128c192931f9d187
Author: Sebb <se...@apache.org>
AuthorDate: Fri Jun 5 17:35:59 2020 +0100
Simplify
---
www/board/agenda/routes.rb | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/www/board/agenda/routes.rb b/www/board/agenda/routes.rb
index 6a4c7f5..233409a 100755
--- a/www/board/agenda/routes.rb
+++ b/www/board/agenda/routes.rb
@@ -521,9 +521,10 @@ get '/new' do
@prev_month = @meeting.to_date.prev_month.strftime('%B')
# retrieve latest committee info
+ # TODO: this is the workspace copy -- should it be using the copy from SVN instead?
cinfo = File.join(ASF::SVN['board'], 'committee-info.txt')
info = ASF::SVN.getInfo(cinfo, env.user, env.password)
- _, contents = ASF::SVN.get(cinfo, env.user, env.password)
+ contents = ASF::SVN.svn('cat', cinfo, {env: env})
ASF::Committee.load_committee_info(contents, info)
# extract committees expected to report 'next month'