ruby-changes:59805
From: Hiroshi <ko1@a...>
Date: Sun, 26 Jan 2020 07:42:13 +0900 (JST)
Subject: [ruby-changes:59805] da2d6ca8f1 (master): Show the repository name before update task
https://git.ruby-lang.org/ruby.git/commit/?id=da2d6ca8f1 From da2d6ca8f180a1d88f08fa09812ab3b333cc5c9d Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA <hsbt@r...> Date: Sun, 26 Jan 2020 07:37:50 +0900 Subject: Show the repository name before update task diff --git a/tool/sync_default_gems.rb b/tool/sync_default_gems.rb index 03db90e..c065b9c 100644 --- a/tool/sync_default_gems.rb +++ b/tool/sync_default_gems.rb @@ -374,8 +374,11 @@ def sync_lib(repo) https://github.com/ruby/ruby/blob/trunk/tool/sync_default_gems.rb#L374 end def update_default_gems(gem) + author, repository = $repositories[gem.to_sym].split('/') + puts "Update #{author}/#{repository}" + unless File.exist?("../../#{author}/#{repository}") mkdir_p("../../#{author}") `git clone git@g...:#{author}/#{repository}.git ../../#{author}/#{repository}` -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/