From 60a5a85da2c5decddb848a14f0d03c5029847eee Mon Sep 17 00:00:00 2001 From: usa Date: Wed, 2 Jul 2014 06:39:06 +0000 Subject: * tool/redmine-backporter.rb: support new status 'WONTFIX'. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46652 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- tool/redmine-backporter.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tool/redmine-backporter.rb') diff --git a/tool/redmine-backporter.rb b/tool/redmine-backporter.rb index e0e0678af4..5d4b235e1a 100755 --- a/tool/redmine-backporter.rb +++ b/tool/redmine-backporter.rb @@ -336,7 +336,7 @@ eom 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' -- cgit v1.2.3