whimsical-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sam Ruby <ru...@apache.org>
Subject [whimsy.git] [1/1] Commit 721cd66: host Steve whatif tool
Date Mon, 07 Mar 2016 21:08:34 GMT
Commit 721cd665a886616518d34adbf9a8bd46ce571726:
    host Steve whatif tool


Branch: refs/heads/master
Author: Sam Ruby <rubys@intertwingly.net>
Committer: Sam Ruby <rubys@intertwingly.net>
Pusher: rubys <rubys@apache.org>

------------------------------------------------------------
www/index.html                                               | + -
www/members/whatif.cgi                                       | ++++++++++ 
------------------------------------------------------------
12 changes: 11 additions, 1 deletions.
------------------------------------------------------------


diff --git a/www/index.html b/www/index.html
index 37ee03e..da5b349 100644
--- a/www/index.html
+++ b/www/index.html
@@ -85,7 +85,7 @@ <h2 id="member">Member Only</h2>
     <ul>
       <li><a href="members/subscriptions/">Member subscription cross-checks</a></li>
       <li><a href="members/watch/">Member watch</a></li>
-      <li><a href="voter/whatif">STV Explorer</a></li>
+      <li><a href="members/whatif">STV Explorer</a></li>
     </ul>
 
     <h2 id="secretary">Secretarial team</h2>
diff --git a/www/members/whatif.cgi b/www/members/whatif.cgi
new file mode 100755
index 0000000..5990c81
--- /dev/null
+++ b/www/members/whatif.cgi
@@ -0,0 +1,10 @@
+#!/usr/bin/env ruby
+$LOAD_PATH.unshift File.realpath(File.expand_path('../../../lib', __FILE__))
+
+require 'whimsy/asf/config'
+require 'whimsy/asf/svn'
+
+MEETINGS = ASF::SVN['private/foundation/Meetings']
+
+Dir.chdir ASF::SVN['asf/steve/trunk']
+require "./whatif"

Mime
View raw message