mirror of
https://github.com/capistrano/capistrano
synced 2023-03-27 23:21:18 -04:00
Doc corrections. Fix dependency checking for remote cache strategy.
git-svn-id: http://svn.rubyonrails.org/rails/tools/capistrano@7175 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
This commit is contained in:
parent
c713de9548
commit
7ae3dd9ff7
3 changed files with 14 additions and 8 deletions
|
@ -4,7 +4,7 @@
|
|||
|
||||
* Make sure deploy:check aborts if it fails [Jamis Buck]
|
||||
|
||||
* Spelling correction in docs [Tim Carey-Smith]
|
||||
* Spelling corrections in docs [Tim Carey-Smith, Giles Bowkett]
|
||||
|
||||
|
||||
*1.99.3 (2.0 Preview 4)* June 28, 2007
|
||||
|
|
|
@ -88,7 +88,7 @@ namespace :deploy do
|
|||
desc <<-DESC
|
||||
Deploys your project. This calls both `update' and `restart'. Note that \
|
||||
this will generally only work for applications that have already been deployed \
|
||||
once. For a "cold" deploy, you'll want to take a look at the `cold_deploy' \
|
||||
once. For a "cold" deploy, you'll want to take a look at the `deploy:cold' \
|
||||
task, which handles the cold start specifically.
|
||||
DESC
|
||||
task :default do
|
||||
|
@ -180,8 +180,8 @@ namespace :deploy do
|
|||
end
|
||||
|
||||
desc <<-DESC
|
||||
Updates the symlink to the most recently deployed version. Capistrano works
|
||||
by putting each new release of your application in its own directory. When
|
||||
Updates the symlink to the most recently deployed version. Capistrano works \
|
||||
by putting each new release of your application in its own directory. When \
|
||||
you deploy a new version, this task's job is to update the `current' symlink \
|
||||
to point at the new version. You will rarely need to call this task \
|
||||
directly; instead, use the `deploy' task (which performs a complete \
|
||||
|
@ -264,9 +264,9 @@ namespace :deploy do
|
|||
deployed version of the app. However, you can specify a different release \
|
||||
via the migrate_target variable, which must be one of :latest (for the \
|
||||
default behavior), or :current (for the release indicated by the \
|
||||
`current' symlink). Strings will work for those values instead of symbols,
|
||||
too. You can also specify additional environment variables to pass to rake
|
||||
via the migrate_env variable. Finally, you can specify the full path to the
|
||||
`current' symlink). Strings will work for those values instead of symbols, \
|
||||
too. You can also specify additional environment variables to pass to rake \
|
||||
via the migrate_env variable. Finally, you can specify the full path to the \
|
||||
rake executable by setting the rake variable. The defaults are:
|
||||
|
||||
set :rake, "rake"
|
||||
|
@ -368,7 +368,7 @@ namespace :deploy do
|
|||
Deploys and starts a `cold' application. This is useful if you have not \
|
||||
deployed your application before, or if your application is (for some \
|
||||
other reason) not currently running. It will deploy the code, run any \
|
||||
pending migrations, and then instead of invoking `deploy:restart', it will
|
||||
pending migrations, and then instead of invoking `deploy:restart', it will \
|
||||
invoke `deploy:start' to fire up the application servers.
|
||||
DESC
|
||||
task :cold do
|
||||
|
|
|
@ -16,6 +16,12 @@ module Capistrano
|
|||
copy_repository_cache
|
||||
end
|
||||
|
||||
def check!
|
||||
super.check do |d|
|
||||
d.remote.writable(shared_path)
|
||||
end
|
||||
end
|
||||
|
||||
private
|
||||
|
||||
def repository_cache
|
||||
|
|
Loading…
Add table
Reference in a new issue