summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornormal <normal@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-07-28 03:34:30 +0000
committernormal <normal@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-07-28 03:34:30 +0000
commit3943dcd1806491197ab702cec69dd249afb69f1f (patch)
treea0c9df7c3c2dca0003e1c86fc42ddafefb4a2e18
parent856bd77aea9450e63a3acdc2deba04613050da43 (diff)
use https:// instead of git:// when possible
Avoid MitM when downloading from insecure networks. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64084 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--README.md2
-rw-r--r--common.mk6
-rw-r--r--doc/contributing.rdoc4
-rwxr-xr-xtool/make-snapshot2
4 files changed, 7 insertions, 7 deletions
diff --git a/README.md b/README.md
index 7e9e426..099bc14 100644
--- a/README.md
+++ b/README.md
@@ -46,7 +46,7 @@ to see the list of branches:
Or if you are using git then use the following command:
- $ git ls-remote git://github.com/ruby/ruby.git
+ $ git ls-remote https://github.com/ruby/ruby.git
## Ruby home page
diff --git a/common.mk b/common.mk
index 89777fe..858fbb8 100644
--- a/common.mk
+++ b/common.mk
@@ -43,11 +43,11 @@ GEM_VENDOR =
BENCHMARK_DRIVER_GIT_URL = https://github.com/benchmark-driver/benchmark-driver
BENCHMARK_DRIVER_GIT_REF = v0.14.6
-SIMPLECOV_GIT_URL = git://github.com/colszowka/simplecov.git
+SIMPLECOV_GIT_URL = https://github.com/colszowka/simplecov.git
SIMPLECOV_GIT_REF = v0.15.0
-SIMPLECOV_HTML_GIT_URL = git://github.com/colszowka/simplecov-html.git
+SIMPLECOV_HTML_GIT_URL = https://github.com/colszowka/simplecov-html.git
SIMPLECOV_HTML_GIT_REF = v0.10.2
-DOCLIE_GIT_URL = git://github.com/ms-ati/docile.git
+DOCLIE_GIT_URL = https://github.com/ms-ati/docile.git
DOCLIE_GIT_REF = v1.1.5
STATIC_RUBY = static-ruby
diff --git a/doc/contributing.rdoc b/doc/contributing.rdoc
index 9888f53..c68c397 100644
--- a/doc/contributing.rdoc
+++ b/doc/contributing.rdoc
@@ -285,7 +285,7 @@ Now let's build CRuby:
* Checkout the CRuby source code:
- git clone git://github.com/ruby/ruby.git ruby-trunk
+ git clone https://github.com/ruby/ruby.git ruby-trunk
* Generate the configuration files and build:
@@ -317,7 +317,7 @@ For older versions of Ruby you will need to run the build setup again after
checking out the associated branch in git, for example if you wanted to
checkout 1.9.3:
- git clone git://github.com/ruby/ruby.git --branch ruby_1_9_3
+ git clone https://github.com/ruby/ruby.git --branch ruby_1_9_3
Once you checked out the source code, you can update the local copy by:
diff --git a/tool/make-snapshot b/tool/make-snapshot
index d014b1c..f206ca9 100755
--- a/tool/make-snapshot
+++ b/tool/make-snapshot
@@ -70,7 +70,7 @@ if mflags = ENV["GNUMAKEFLAGS"] and /\A-(\S*)j\d*/ =~ mflags
end
ENV["LC_ALL"] = ENV["LANG"] = "C"
SVNURL = URI.parse("http://svn.ruby-lang.org/repos/ruby/")
-GITURL = URI.parse("git://github.com/ruby/ruby.git")
+GITURL = URI.parse("https://github.com/ruby/ruby.git")
RUBY_VERSION_PATTERN = /^\#define\s+RUBY_VERSION\s+"([\d.]+)"/
ENV["VPATH"] ||= "include/ruby"