Methods

Files

Class/Module Index [+]

Quicksearch

Capistrano::Deploy::Strategy::RemoteCache

Implements the deployment strategy that keeps a cached checkout of the source code on each remote server. Each deploy simply updates the cached checkout, and then does a copy from the cached copy to the final deployment location.

Public Instance Methods

check!() click to toggle source
# File lib/capistrano/recipes/deploy/strategy/remote_cache.rb, line 19
def check!
  super.check do |d|
    d.remote.command("rsync") unless copy_exclude.empty?
    d.remote.writable(shared_path)
  end
end
deploy!() click to toggle source

Executes the SCM command for this strategy and writes the REVISION mark file to each host.

# File lib/capistrano/recipes/deploy/strategy/remote_cache.rb, line 14
def deploy!
  update_repository_cache
  copy_repository_cache
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.