* tool/redmine-backporter.rb: added !
command.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49421 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
8516d7433f
commit
b03c6a74b7
@ -1,3 +1,7 @@
|
|||||||
|
Tue Jan 27 16:04:19 2015 NAKAMURA Usaku <usa@ruby-lang.org>
|
||||||
|
|
||||||
|
* tool/redmine-backporter.rb: added `!` command.
|
||||||
|
|
||||||
Tue Jan 27 15:58:23 2015 NAKAMURA Usaku <usa@ruby-lang.org>
|
Tue Jan 27 15:58:23 2015 NAKAMURA Usaku <usa@ruby-lang.org>
|
||||||
|
|
||||||
* tool/redmine-backporter.rb: added history feature for platforms which
|
* tool/redmine-backporter.rb: added history feature for platforms which
|
||||||
|
@ -486,6 +486,8 @@ eom
|
|||||||
Net::HTTP.start(uri.host, uri.port, http_options) do |http|
|
Net::HTTP.start(uri.host, uri.port, http_options) do |http|
|
||||||
show_last_journal(http, uri)
|
show_last_journal(http, uri)
|
||||||
end
|
end
|
||||||
|
when /\A!\s*(.*)\s*\z/
|
||||||
|
system($1)
|
||||||
when ''
|
when ''
|
||||||
when nil, 'quit', 'exit'
|
when nil, 'quit', 'exit'
|
||||||
exit
|
exit
|
||||||
@ -497,6 +499,7 @@ eom
|
|||||||
puts 'done [TICKET] [-- NOTE]'.color(bold: true) + ' set Backport field of the TICKET to DONE'
|
puts 'done [TICKET] [-- NOTE]'.color(bold: true) + ' set Backport field of the TICKET to DONE'
|
||||||
puts 'close [TICKET] '.color(bold: true) + ' close the TICKET'
|
puts 'close [TICKET] '.color(bold: true) + ' close the TICKET'
|
||||||
puts 'last [TICKET] '.color(bold: true) + ' show the last journal of the TICKET'
|
puts 'last [TICKET] '.color(bold: true) + ' show the last journal of the TICKET'
|
||||||
|
puts '! COMMAND '.color(bold: true) + ' execute COMMAND'
|
||||||
else
|
else
|
||||||
puts "error #{l.inspect}"
|
puts "error #{l.inspect}"
|
||||||
end
|
end
|
||||||
|
Loading…
x
Reference in New Issue
Block a user