ruby-changes:62240
From: David <ko1@a...>
Date: Wed, 15 Jul 2020 16:05:55 +0900 (JST)
Subject: [ruby-changes:62240] a73ea2126f (master): [rubygems/rubygems] Clone rubygems from the local repo
https://git.ruby-lang.org/ruby.git/commit/?id=a73ea2126f From a73ea2126fe12f80a3edde167c78bf35884f895e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Rodr=C3=ADguez?= <deivid.rodriguez@r...> Date: Mon, 22 Jun 2020 00:06:16 +0200 Subject: [rubygems/rubygems] Clone rubygems from the local repo It simplifies things and should avoid issues like the one we had where the master branch had a bad `.gitattributes` file and changing it on a PR would be disregarded. In order for this to work, we need to make sure to fetch all tags from the repository, so that they can properly be checked out later. This does not apply to the case of testing against `RGV=..`, since no extra cloning is needed there. https://github.com/rubygems/rubygems/commit/d088d936b8 diff --git a/spec/bundler/support/rubygems_version_manager.rb b/spec/bundler/support/rubygems_version_manager.rb index e89d4ba..2dbffd5 100644 --- a/spec/bundler/support/rubygems_version_manager.rb +++ b/spec/bundler/support/rubygems_version_manager.rb @@ -108,7 +108,7 @@ private https://github.com/ruby/ruby/blob/trunk/spec/bundler/support/rubygems_version_manager.rb#L108 unless rubygems_path.directory? rubygems_path.parent.mkpath - sys_exec("git clone https://github.com/rubygems/rubygems.git #{rubygems_path}") + sys_exec("git clone .. #{rubygems_path}", :dir => source_root) end rubygems_path -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/