ruby-changes:34571
From: usa <ko1@a...>
Date: Wed, 2 Jul 2014 15:39:15 +0900 (JST)
Subject: [ruby-changes:34571] usa:r46652 (trunk): * tool/redmine-backporter.rb: support new status 'WONTFIX'.
usa 2014-07-02 15:39:06 +0900 (Wed, 02 Jul 2014) New Revision: 46652 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=46652 Log: * tool/redmine-backporter.rb: support new status 'WONTFIX'. Modified files: trunk/tool/redmine-backporter.rb Index: tool/redmine-backporter.rb =================================================================== --- tool/redmine-backporter.rb (revision 46651) +++ tool/redmine-backporter.rb (revision 46652) @@ -336,7 +336,7 @@ eom https://github.com/ruby/ruby/blob/trunk/tool/redmine-backporter.rb#L336 h = data["issue"]["custom_fields"].find{|x|x["id"]==5} if h and val = h["value"] case val[/(?:\A|, )#{Regexp.quote TARGET_VERSION}: ([^,]+)/, 1] - when 'REQUIRED', 'UNKNOWN', 'DONTNEED', 'REJECTED' + when 'REQUIRED', 'UNKNOWN', 'DONTNEED', 'WONTFIX' val[*$~.offset(1)] = 'DONE' when 'DONE' # , /\A\d+\z/ puts 'already backport is done' -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/