whimsical-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ru...@apache.org
Subject [whimsy] branch master updated: minimal but useful implementation of WHIMSY-77
Date Fri, 31 Mar 2017 19:15:06 GMT
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  a3a394a   minimal but useful implementation of WHIMSY-77
a3a394a is described below

commit a3a394a99f216bc4fdf5d33f14f6d9b5993f820f
Author: Sam Ruby <rubys@intertwingly.net>
AuthorDate: Fri Mar 31 15:14:44 2017 -0400

    minimal but useful implementation of WHIMSY-77
---
 www/committers/svn-info.cgi | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)

diff --git a/www/committers/svn-info.cgi b/www/committers/svn-info.cgi
new file mode 100755
index 0000000..4c48dc4
--- /dev/null
+++ b/www/committers/svn-info.cgi
@@ -0,0 +1,19 @@
+#!/usr/bin/env ruby
+
+require 'wunderbar'
+
+_html do
+  _h1 'ASF SVN info'
+  _style :system
+
+  _form do
+    _input type: 'text', name: 'url', size: 80, placeholder: 'SVN URL'
+    _input type: 'submit', value: 'Submit'
+  end
+
+  if @url
+    # output svn info
+    _.system ['svn', 'info', @url,
+       (['--username', $USER, '--password', $PASSWORD] if $PASSWORD) ]
+  end
+end

-- 
To stop receiving notification emails like this one, please contact
['"commits@whimsical.apache.org" <commits@whimsical.apache.org>'].

Mime
View raw message