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

ruby-changes:47160

From: usa <ko1@a...>
Date: Fri, 7 Jul 2017 11:15:14 +0900 (JST)
Subject: [ruby-changes:47160] usa:r59275 (trunk): * tool/redmine-backporter.rb (show): just report and ignore if a feature ticket

usa	2017-07-07 11:14:57 +0900 (Fri, 07 Jul 2017)

  New Revision: 59275

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

  Log:
    * tool/redmine-backporter.rb (show): just report and ignore if a feature ticket
      is specified instead of aborting.

  Modified files:
    trunk/tool/redmine-backporter.rb
Index: tool/redmine-backporter.rb
===================================================================
--- tool/redmine-backporter.rb	(revision 59274)
+++ tool/redmine-backporter.rb	(revision 59275)
@@ -368,6 +368,11 @@ commands = { https://github.com/ruby/ruby/blob/trunk/tool/redmine-backporter.rb#L368
     unless i["changesets"]
       abort "You don't have view_changesets permission"
     end
+    unless i["custom_fields"]
+      puts "The specified ticket \##{@issue} seems to be a feature ticket"
+      @issue = nil
+      next
+    end
     id = "##{i["id"]}".color(*PRIORITIES[i["priority"]["name"]])
     sio = StringIO.new
     sio.puts <<eom

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

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