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

ruby-changes:40682

From: naruse <ko1@a...>
Date: Fri, 27 Nov 2015 00:41:19 +0900 (JST)
Subject: [ruby-changes:40682] naruse:r52761 (trunk): Use more tough server: GitHub or repo.or.cz

naruse	2015-11-27 00:40:58 +0900 (Fri, 27 Nov 2015)

  New Revision: 52761

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=52761

  Log:
    Use more tough server: GitHub or repo.or.cz
    
    https://gcc.gnu.org/wiki/GitMirror

  Modified files:
    trunk/tool/downloader.rb
Index: tool/downloader.rb
===================================================================
--- tool/downloader.rb	(revision 52760)
+++ tool/downloader.rb	(revision 52761)
@@ -40,7 +40,11 @@ class Downloader https://github.com/ruby/ruby/blob/trunk/tool/downloader.rb#L40
 
   class GNU < self
     def self.download(name, *rest)
-      super("#{https}://gcc.gnu.org/git/?p=gcc.git;a=blob_plain;f=#{name};hb=master", name, *rest)
+      if https == 'https'
+        super("https://raw.githubusercontent.com/gcc-mirror/gcc/master/#{name}", name, *rest)
+      else
+        super("http://repo.or.cz/official-gcc.git/blob_plain/HEAD:/#{name}", name, *rest)
+      end
     end
   end
 

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

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