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

ruby-changes:56119

From: nagachika <ko1@a...>
Date: Sun, 16 Jun 2019 12:00:50 +0900 (JST)
Subject: [ruby-changes:56119] nagachika: 17e6536fe0 (trunk): tool/redmine-backporter.rb: Change redmine git revisions URL path.

https://git.ruby-lang.org/ruby.git/commit/?id=17e6536fe0

From 17e6536fe0c6a7d213f500827346cacc210c536e Mon Sep 17 00:00:00 2001
From: nagachika <nagachika@r...>
Date: Sun, 16 Jun 2019 11:59:52 +0900
Subject: tool/redmine-backporter.rb: Change redmine git revisions URL path.


diff --git a/tool/redmine-backporter.rb b/tool/redmine-backporter.rb
index 2ce181b..245e2a6 100755
--- a/tool/redmine-backporter.rb
+++ b/tool/redmine-backporter.rb
@@ -271,7 +271,7 @@ def backport_command_string https://github.com/ruby/ruby/blob/trunk/tool/redmine-backporter.rb#L271
 
       # check if the Git revision is included in trunk
       begin
-        uri = URI("#{REDMINE_BASE}/projects/ruby-trunk/repository/ruby-git/revisions/#{c}")
+        uri = URI("#{REDMINE_BASE}/projects/ruby-trunk/repository/git/revisions/#{c}")
         uri.read($openuri_options)
         true
       rescue
@@ -382,7 +382,7 @@ eom https://github.com/ruby/ruby/blob/trunk/tool/redmine-backporter.rb#L382
       uri = URI("#{REDMINE_BASE}/projects/ruby-trunk/repository/trunk/revisions/#{rev}/issues.json")
     when /\A\h{7,40}\z/ # Git
       rev = args
-      uri = URI("#{REDMINE_BASE}/projects/ruby-trunk/repository/ruby-git/revisions/#{rev}/issues.json")
+      uri = URI("#{REDMINE_BASE}/projects/ruby-trunk/repository/git/revisions/#{rev}/issues.json")
     else
       raise CommandSyntaxError
     end
-- 
cgit v0.10.2


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

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