1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* 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
This commit is contained in:
usa 2014-07-02 06:39:06 +00:00
parent ed762c0be1
commit 60a5a85da2

View file

@ -336,7 +336,7 @@ eom
h = data["issue"]["custom_fields"].find{|x|x["id"]==5} h = data["issue"]["custom_fields"].find{|x|x["id"]==5}
if h and val = h["value"] if h and val = h["value"]
case val[/(?:\A|, )#{Regexp.quote TARGET_VERSION}: ([^,]+)/, 1] case val[/(?:\A|, )#{Regexp.quote TARGET_VERSION}: ([^,]+)/, 1]
when 'REQUIRED', 'UNKNOWN', 'DONTNEED', 'REJECTED' when 'REQUIRED', 'UNKNOWN', 'DONTNEED', 'WONTFIX'
val[*$~.offset(1)] = 'DONE' val[*$~.offset(1)] = 'DONE'
when 'DONE' # , /\A\d+\z/ when 'DONE' # , /\A\d+\z/
puts 'already backport is done' puts 'already backport is done'