[前][次][番号順一覧][スレッド一覧]

ruby-changes:56340

From: Takashi <ko1@a...>
Date: Tue, 2 Jul 2019 10:45:21 +0900 (JST)
Subject: [ruby-changes:56340] Takashi Kokubun: 0b858425e1 (master): Use GitHub ruby.git for make-snapshot

https://git.ruby-lang.org/ruby.git/commit/?id=0b858425e1

From 0b858425e1e4f2de40dc0d8e5dd105a2fd93e478 Mon Sep 17 00:00:00 2001
From: Takashi Kokubun <takashikkbn@g...>
Date: Tue, 2 Jul 2019 10:40:17 +0900
Subject: 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]

diff --git a/tool/make-snapshot b/tool/make-snapshot
index b166c72..fa234f5 100755
--- a/tool/make-snapshot
+++ b/tool/make-snapshot
@@ -70,7 +70,8 @@ if mflags = ENV["GNUMAKEFLAGS"] and /\A-(\S*)j\d*/ =~ mflags https://github.com/ruby/ruby/blob/trunk/tool/make-snapshot#L70
 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"
-- 
cgit v0.10.2


--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]