Class Capistrano::Deploy::Strategy::Remote
In: lib/capistrano/recipes/deploy/strategy/remote.rb
Parent: Base

An abstract superclass, which forms the base for all deployment strategies which work by grabbing the code from the repository directly from remote host. This includes deploying by checkout (the default), and deploying by export.

Methods

check!   command   deploy!   mark   scm_run  

Public Instance methods

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

Protected Instance methods

An abstract method which must be overridden in subclasses, to return the actual SCM command(s) which must be executed on each target host in order to perform the deployment.

Returns the command which will write the identifier of the revision being deployed to the REVISION file on each host.

Runs the given command, filtering output back through the handle_data filter of the SCM implementation.

[Validate]