Sha256: e51209fd08f2f38a234cb1c207092aa479a17d3eb69be42580414809d039f1e9

Contents?: true

Size: 533 Bytes

Versions: 99

Compression:

Stored size: 533 Bytes

Contents

require 'capistrano/recipes/deploy/strategy/remote'

module Capistrano
  module Deploy
    module Strategy

      # Implements the deployment strategy which does an SCM checkout on each
      # target host. This is the default deployment strategy for Capistrano.
      class Checkout < Remote
        protected

          # Returns the SCM's checkout command for the revision to deploy.
          def command
            @command ||= source.checkout(revision, configuration[:release_path])
          end
      end

    end
  end
end

Version data entries

99 entries across 99 versions & 11 rubygems

Version Path
capistrano-2.15.11 lib/capistrano/recipes/deploy/strategy/checkout.rb
capistrano-2.15.10 lib/capistrano/recipes/deploy/strategy/checkout.rb
capistrano-2.15.9 lib/capistrano/recipes/deploy/strategy/checkout.rb
wulffeld-capistrano-2.5.8.3 lib/capistrano/recipes/deploy/strategy/checkout.rb
capistrano-2.15.8 lib/capistrano/recipes/deploy/strategy/checkout.rb
capistrano-2.5.22 lib/capistrano/recipes/deploy/strategy/checkout.rb
capistrano-2.15.7 lib/capistrano/recipes/deploy/strategy/checkout.rb
capistrano-2.15.6 lib/capistrano/recipes/deploy/strategy/checkout.rb
dan-capistrano-2.5.6 lib/capistrano/recipes/deploy/strategy/checkout.rb
fotonauts-capistrano-2.5.2 lib/capistrano/recipes/deploy/strategy/checkout.rb
mbailey-capistrano-2.5.5 lib/capistrano/recipes/deploy/strategy/checkout.rb
mbailey-capistrano-2.5.6 lib/capistrano/recipes/deploy/strategy/checkout.rb
mbailey-capistrano-2.5.7 lib/capistrano/recipes/deploy/strategy/checkout.rb
sneakin-capistrano-2.5.5 lib/capistrano/recipes/deploy/strategy/checkout.rb
thoughtbot-capistrano-2.5.5 lib/capistrano/recipes/deploy/strategy/checkout.rb
thoughtbot-capistrano-2.5.6 lib/capistrano/recipes/deploy/strategy/checkout.rb
wulffeld-capistrano-2.5.8.1 lib/capistrano/recipes/deploy/strategy/checkout.rb
wulffeld-capistrano-2.5.8 lib/capistrano/recipes/deploy/strategy/checkout.rb
capistrano-2.15.5 lib/capistrano/recipes/deploy/strategy/checkout.rb
minmb-capistrano-2.15.4 lib/capistrano/recipes/deploy/strategy/checkout.rb