mina-deploy / mina

Blazing fast deployer and server automation tool
https://rubygems.org/gems/mina
Other
4.36k stars 491 forks source link

Mina does not allow any special characters despite US-ASCII based in commit owner's name #655

Open KickFlip71 opened 4 years ago

KickFlip71 commented 4 years ago

Mina throws exception during deploy while commit owner's name contains special characters (in this case ą character). When i changed my git name to another without special characters, and then pushed commit with deploy it works fine.

Error:

/builds/project/vendor/ruby/2.6.0/gems/mina-1.2.3/lib/mina/helpers/output.rb:6:in `===': invalid byte sequence in US-ASCII (ArgumentError)
from /builds/project/vendor/ruby/2.6.0/gems/mina-1.2.3/lib/mina/helpers/output.rb:6:in `print_line'
from /builds/project/vendor/ruby/2.6.0/gems/mina-1.2.3/lib/mina/runner/pretty.rb:21:in `block (2 levels) in run'

#<Thread:0x0000558153915940@/builds/project/vendor/ruby/2.6.0/gems/mina-1.2.3/lib/mina/runner/pretty.rb:25 run> terminated with exception (report_on_exception is true):
/builds/project/vendor/ruby/2.6.0/gems/mina-1.2.3/lib/mina/runner/pretty.rb:26:in `gets': stream closed in another thread (IOError)
from /builds/project/vendor/ruby/2.6.0/gems/mina-1.2.3/lib/mina/runner/pretty.rb:26:in `block (2 levels) in run'
mina aborted!
ArgumentError: invalid byte sequence in US-ASCII