Merge pull request #2121 from rbenv/drop-svn-support

Drop svn support
This commit is contained in:
Hiroshi SHIBATA 2022-12-28 15:37:59 +09:00 committed by GitHub
commit 697bcff8b5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 22 deletions

View file

@ -174,10 +174,6 @@ install_git() {
install_package_using "git" 2 "$@"
}
install_svn() {
install_package_using "svn" 2 "$@"
}
install_package_using() {
local package_type="$1"
local package_type_nargs="$2"
@ -493,23 +489,6 @@ fetch_git() {
fi
}
fetch_svn() {
local package_name="$1"
local svn_url="$2"
local svn_rev="$3"
echo "Checking out ${svn_url}..." >&2
if type svn &>/dev/null; then
svn co -r "$svn_rev" "$svn_url" "${package_name}" >&4 2>&1
elif type svnlite &>/dev/null; then
svnlite co -r "$svn_rev" "$svn_url" "${package_name}" >&4 2>&1
else
echo "error: please install Subversion and try again" >&2
exit 1
fi
}
build_package() {
local package_name="$1"
shift

View file

@ -1,4 +1,4 @@
require_gcc
install_package "yaml-0.1.6" "http://pyyaml.org/download/libyaml/yaml-0.1.6.tar.gz#7da6971b4bd08a986dd2a61353bc422362bd0edcc67d7ebaac68c95f74182749" --if needs_yaml
install_svn "ruby-1.9.2-p326" "http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_2" "44353" warn_eol autoconf standard
install_git "ruby-1.9.2-p326" "https://github.com/ruby/ruby.git" "2b93dbd8e7e3d71dc4cb4c7e381974176b134c5b" warn_eol autoconf standard
install_package "rubygems-1.8.23" "https://rubygems.org/rubygems/rubygems-1.8.23.tgz#e4a1c6bbaac411eaab94deae78228b7584033a1f10a022f52bffa9613aa29061" ruby