mirror of
https://github.com/capistrano/capistrano
synced 2023-03-27 23:21:18 -04:00
auto-require the SSH shell service, to avoid race conditions. fix documentation for the get command.
git-svn-id: http://svn.rubyonrails.org/rails/tools/capistrano@7194 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
This commit is contained in:
parent
5c370ba427
commit
01103e63ea
3 changed files with 4 additions and 3 deletions
|
@ -1,5 +1,7 @@
|
|||
*SVN*
|
||||
|
||||
* Auto-require the SSH shell service, to avoid race conditions [Jamis Buck]
|
||||
|
||||
* Add a millisecond sleep in upload to reduce CPU impact [Jamis Buck]
|
||||
|
||||
* Allow the logger to be set via Configuration#logger= [Jamis Buck]
|
||||
|
|
|
@ -16,9 +16,7 @@ module Capistrano
|
|||
end
|
||||
|
||||
# Get file remote_path from FIRST server targetted by
|
||||
# the current task and transfer it to local machine as path. It will use
|
||||
# SFTP if Net::SFTP is installed; otherwise it will fall back to using
|
||||
# 'cat', which may cause corruption in binary files.
|
||||
# the current task and transfer it to local machine as path.
|
||||
#
|
||||
# get "#{deploy_to}/current/log/production.log", "log/production.log.web"
|
||||
def get(remote_path, path, options = {})
|
||||
|
|
|
@ -19,6 +19,7 @@ module Capistrano
|
|||
service/agentforward/services service/agentforward/driver
|
||||
service/process/driver util/prompter
|
||||
service/forward/services service/forward/driver service/forward/local-network-handler service/forward/remote-network-handler
|
||||
service/shell/services service/shell/driver
|
||||
lenient-host-key-verifier
|
||||
transport/compress/services transport/compress/zlib-compressor transport/compress/none-compressor transport/compress/zlib-decompressor transport/compress/none-decompressor
|
||||
transport/kex/services transport/kex/dh transport/kex/dh-gex
|
||||
|
|
Loading…
Reference in a new issue