class Capistrano::BundleRsync::SCM
Base class for SCM
strategy providers.
@abstract
Public Instance Methods
@abstract
Your implementation should check if the specified remote-repository is available.
@return [Boolean]
# File lib/capistrano/bundle_rsync/scm.rb, line 28 def check raise NotImplementedError.new( "Your SCM strategy module should provide a #check method" ) end
@abstract
Clean the contents of the cache-repository onto the release path
@return void
# File lib/capistrano/bundle_rsync/scm.rb, line 76 def clean_release raise NotImplementedError.new( "Your SCM strategy module should provide a #clean_release method" ) end
@abstract
Create a (new) clone of the remote-repository on the deployment target
@return void
# File lib/capistrano/bundle_rsync/scm.rb, line 40 def clone raise NotImplementedError.new( "Your SCM strategy module should provide a #clone method" ) end
@abstract
Copy the contents of the cache-repository onto the release path
@return void
# File lib/capistrano/bundle_rsync/scm.rb, line 64 def create_release raise NotImplementedError.new( "Your SCM strategy module should provide a #create_release method" ) end
@abstract
Rsync the contents of the release path
This is an additional task endpoint provided by capistrano-bundle_rsync
@return void
# File lib/capistrano/bundle_rsync/scm.rb, line 90 def rsync_release raise NotImplementedError.new( "Your SCM strategy module should provide a #rsync_release method" ) end
@abstract
Identify the SHA of the commit that will be deployed. This will most likely involve SshKit's capture method.
@return void
# File lib/capistrano/bundle_rsync/scm.rb, line 134 def set_current_revision raise NotImplementedError.new( "Your SCM strategy module should provide a #set_current_revision method" ) end
@abstract
Your implementation should check the existence of a cache repository on the deployment target
@return [Boolean]
# File lib/capistrano/bundle_rsync/scm.rb, line 15 def test raise NotImplementedError.new( "Your SCM strategy module should provide a #test method" ) end
@abstract
Update the clone on the deployment target
@return void
# File lib/capistrano/bundle_rsync/scm.rb, line 52 def update raise NotImplementedError.new( "Your SCM strategy module should provide a #update method" ) end