ruby-changes:58148
From: Kazuhiro <ko1@a...>
Date: Mon, 7 Oct 2019 19:07:47 +0900 (JST)
Subject: [ruby-changes:58148] bb86611c9b (master): Remove `-s3` option
https://git.ruby-lang.org/ruby.git/commit/?id=bb86611c9b From bb86611c9b61b47ba7ff65c3b0a0737a20183460 Mon Sep 17 00:00:00 2001 From: Kazuhiro NISHIYAMA <zn@m...> Date: Mon, 7 Oct 2019 19:03:06 +0900 Subject: Remove `-s3` option It will not use in `ruby/actions`, and `default=tmp` is not correct. diff --git a/tool/make-snapshot b/tool/make-snapshot index f9716dd..68a9f51 100755 --- a/tool/make-snapshot +++ b/tool/make-snapshot @@ -17,7 +17,6 @@ $keep_temp ||= nil https://github.com/ruby/ruby/blob/trunk/tool/make-snapshot#L17 $patch_file ||= nil $packages ||= nil $digests ||= nil -$s3 ||= nil $tooldir = File.expand_path("..", __FILE__) $unicode_version = nil if ($unicode_version ||= nil) == "" $colorize = Colorize.new @@ -35,7 +34,6 @@ options: https://github.com/ruby/ruby/blob/trunk/tool/make-snapshot#L34 -unicode_version=VER Unicode version to generate encodings -svn[=URL] make snapshot from SVN repository (#{SVNURL}) - -s3=PATH s3 bucket path(default=tmp) -help, --help show this message version: master, trunk, stable, branches/*, tags/*, X.Y, X.Y.Z, X.Y.Z-pL @@ -601,11 +599,6 @@ revisions.collect {|rev| package(vcs, rev, destdir, tmp)}.flatten.each do |name| https://github.com/ruby/ruby/blob/trunk/tool/make-snapshot#L599 next end str = open(name, "rb") {|f| f.read} - if $s3 - %x[aws s3 cp #{name} s3://ftp.r-l.o/pub/#{$s3}/#{Pathname(name).basename}] - FileUtils.rm_f name - name = "https://s3.amazonaws.com/ftp.r-l.o/pub/#{$s3}/#{Pathname(name).basename}" - end puts "* #{$colorize.pass(name)}" puts " SIZE: #{str.bytesize} bytes" $digests.each do |alg| -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/