summaryrefslogtreecommitdiff
path: root/tool/make-snapshot
diff options
context:
space:
mode:
authorTakashi Kokubun <takashikkbn@gmail.com>2019-07-02 10:40:17 +0900
committerTakashi Kokubun <takashikkbn@gmail.com>2019-07-02 10:40:41 +0900
commit0b858425e1e4f2de40dc0d8e5dd105a2fd93e478 (patch)
tree36e09c3198eaa6510c1f0e98e799427e5a1af6d2 /tool/make-snapshot
parent7f3bc3529b3edb5512a32cda0ae8fe108af0beed (diff)
Use GitHub ruby.git for make-snapshot
Previously @hsbt disabled https git clone from git.ruby-lang.org. Using git.ruby-lang.org for non-commit purposes is discouraged. GitHub mirror is actually recommended because it's reliable than single-hosted git.ruby-lang.org, the mirror is almost always well-maintained, and its latency is very small (usually about 10s). So we should just use GitHub here. [Bug #15969]
Diffstat (limited to 'tool/make-snapshot')
-rwxr-xr-xtool/make-snapshot3
1 files changed, 2 insertions, 1 deletions
diff --git a/tool/make-snapshot b/tool/make-snapshot
index b166c7258f..fa234f5ca6 100755
--- a/tool/make-snapshot
+++ b/tool/make-snapshot
@@ -70,7 +70,8 @@ if mflags = ENV["GNUMAKEFLAGS"] and /\A-(\S*)j\d*/ =~ mflags
end
ENV["LC_ALL"] = ENV["LANG"] = "C"
SVNURL = URI.parse("https://svn.ruby-lang.org/repos/ruby/")
-GITURL = URI.parse("https://git.ruby-lang.org/ruby.git")
+# https git clone is disabled at git.ruby-lang.org/ruby.git.
+GITURL = URI.parse("https://github.com/ruby/ruby.git")
RUBY_VERSION_PATTERN = /^\#define\s+RUBY_VERSION\s+"([\d.]+)"/
ENV["VPATH"] ||= "include/ruby"