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/05/06 10:45:21 UTC
[whimsy] 02/02: delete just this one file this time
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
commit d7d106b072d81829ad986ffdf4457d4b870ed3b8
Author: Sam Ruby <ru...@intertwingly.net>
AuthorDate: Wed May 6 06:45:00 2020 -0400
delete just this one file this time
---
www/committers/svn-info.cgi | 47 ---------------------------------------------
1 file changed, 47 deletions(-)
diff --git a/www/committers/svn-info.cgi b/www/committers/svn-info.cgi
deleted file mode 100755
index 5ba4c40..0000000
--- a/www/committers/svn-info.cgi
+++ /dev/null
@@ -1,47 +0,0 @@
-#!/usr/bin/env ruby
-PAGETITLE = "Subversion Info Helper" # Wvisible:tools svn
-$LOAD_PATH.unshift '/srv/whimsy/lib'
-require 'wunderbar'
-require 'wunderbar/bootstrap'
-require 'whimsy/asf'
-
-_html do
- _body? do
- _style :system
- _whimsy_body(
- title: PAGETITLE,
- related: {
- 'https://www.apache.org/dev/#version-control' => "How To Use Apache's SVN and Git",
- 'https://svn.apache.org/viewvc/' => 'View Public SVN Repositories',
- 'https://github.com/apache/' => 'View Public Git Repositories'
- },
- helpblock: -> {
- _ 'Enter the URL to a file in an Apache Subversion repository to see the results of the '
- _code 'svn info'
- _ "command on that file. This is useful if you don't have a subversion client locally."
- }
- ) do
-
- _form do
- _div.form_group do
- _label.control_label for: 'url' do
- _ 'Enter a svn.apache.org/repos URL'
- end
- _input.form_control type: 'text', name: 'url', size: 120, placeholder: 'https://svn.apache.org/repos/asf/'
- end
- _div.form_group do
- _input.btn.btn_primary type: 'submit', value: 'Submit'
- end
- end
-
- if @url
- # output svn info
- _div.well.well_lg do
- _.system ['svn', 'info', @url,
- ['--non-interactive', '--no-auth-cache'], # not needed in output
- (['--username', $USER, '--password', $PASSWORD] if $PASSWORD) ] # must not be in output
- end
- end
- end
- end
-end