2006-03-18 18:12:11 -05:00
*SVN*
2006-04-04 17:43:56 -04:00
* Added Actor#stream method that makes it easy to create cross-server streams [DHH]. Example:
2006-04-04 17:40:39 -04:00
desc "Run a tail on multiple log files at the same time"
task :tail_fcgi, :roles => :app do
2006-04-04 17:43:56 -04:00
stream "tail -f #{shared_path}/log/fastcgi.crash.log"
2006-04-04 17:40:39 -04:00
end
2006-03-28 19:07:54 -05:00
* Make update_code and symlink a macro task under the name "update" for easy of deploy to servers that does not run fcgis [DHH]
2006-03-26 02:41:02 -05:00
* Changed setup, update_code, rollback_code, and symlink to work on all servers instead of only those in the :app, :web, and :db roles. A server can opt out of being part of the release deployment by setting :no_release => true [DHH]
* Added support for :except on task declarations as the opposite of :only [DHH]. Example:
role :app, "192.168.0.2"
role :file, "192.168.0.3", :no_release => true
task :symlink, :except => { :no_release => true } do
on_rollback { run "ln -nfs #{previous_release} #{current_path}" }
run "ln -nfs #{current_release} #{current_path}"
end
cap symlink # will not run on 192.168.0.3
2006-03-23 21:58:39 -05:00
* Deprecate the -r/--recipe switch in favor of -f/--file (for more make/rake-like semantics) [Jamis Buck]
2006-03-23 21:54:22 -05:00
* Fix gemspec to include a dependency on rake 0.7 [Jamis Buck]
2006-03-23 15:59:04 -05:00
* Added respect for ENV["HOSTS"] that'll be used instead of the roles specified in the task definition [DHH]. Example:
HOSTS=192.168.0.1 cap setup # one-off setup for that server, doesn't need to be prespecified in the recipes file
* Added respect for ENV["ROLES"] that'll be used instead of the roles specified in the task definition [DHH]. Example:
task :setup, :roles => [ :app, :web, :db ]
# normally this would run every where
end
ROLES=app cap setup # this will only run for the app role, overwritting the default declaration
* Added :hosts option to task definition that allows you to specify cross-cutting tasks [DHH]. Example:
task :setup, :hosts => [ "06.example.com", "01.example.com" ] do
# this task will happen on 06 and 01 regardless of which roles they belong to
end
2006-03-18 18:12:11 -05:00
* Fix operator precedence problem in script for touching the revisions.log #3223 [jason.garber@emu.edu]
2006-03-06 13:08:20 -05:00
*1.1.0* (March 6th, 2006)
2006-02-27 10:55:18 -05:00
2006-03-06 12:47:42 -05:00
* Simplify the generated capistrano.rake file, and make it easier to customize
2006-03-06 11:40:13 -05:00
* Use rake-like command-line semantics ("cap deploy", in addition to "cap -a deploy")
2006-03-05 22:48:35 -05:00
* Rename to capistrano
2006-03-06 12:47:42 -05:00
* Make the generated capistrano.rake file use rake namespaces, and include all default tasks
2006-02-27 10:55:18 -05:00
2006-03-06 11:40:13 -05:00
* Look for config/deploy.rb, capfile, and Capfile by default
2006-02-27 10:55:18 -05:00
2006-02-20 22:55:52 -05:00
*1.0.1* (February 20th, 2006)
2006-02-19 22:04:15 -05:00
* Fix broken switchtower_invoke function in switchtower.rake (missing require statement)
2006-02-18 22:46:23 -05:00
*1.0.0* (Feburary 18th, 2006)
2006-01-05 09:51:16 -05:00
2006-02-18 22:27:49 -05:00
* Make CVS module's :local value default to "."
2006-02-18 20:58:12 -05:00
* Add "invoke" task for executing one-off commands
2006-02-18 20:27:20 -05:00
* Make port selection smarter for gateway connections
2006-02-18 22:16:44 -05:00
* Add extension mechanism for custom ST operations and third-party task libraries
2006-02-18 17:09:05 -05:00
2006-02-18 17:08:29 -05:00
* Make ST rails rake tasks more configurable
2006-02-18 11:57:04 -05:00
* Add Actor#current_task and simplify Task#servers
2006-02-17 23:40:48 -05:00
* Add Actor#connect! method for working around lazy connection establishing
2006-01-28 11:04:07 -05:00
* Make sure IO::TRUNC is specified for Net::SFTP uploads (#3510)
2006-01-28 10:58:04 -05:00
* Add branch support to CVS [jeremy@hinegardner.org] (#3596)
2006-01-28 10:52:07 -05:00
* Add bazaar-ng SCM module [Damien Merenne]
2006-01-28 10:39:51 -05:00
* Add optional :svn_username and :svn_password variables
2006-01-21 00:26:10 -05:00
* Allow Proc-valued variables to be set more conveniently (set(:foo) { "bar" })
2006-01-21 00:03:23 -05:00
* Add perforce SCM module [Richard McMahon]
2006-01-20 23:55:10 -05:00
* Add bazaar (v1) SCM module [Edd Dumbill] (#3533)
2006-01-20 23:28:59 -05:00
* Fix stftime format string used in CVS module to be Windows-compatible (fixes #3383)
2006-01-11 23:37:08 -05:00
* Add an better error when a task is run and no servers match the required conditions
2006-01-07 17:06:14 -05:00
* Add default spinner and cold_deploy tasks, and spinner_user variable
* Changed restart_via variable to (boolean) use_sudo
2006-01-07 16:09:01 -05:00
* Only chmod when the revisions.log file is first created
2006-01-07 16:02:25 -05:00
* Make UPPERCASE variables work
* Added rails_env variable (defaults to production) for use by tasks that employ the RAILS_ENV environment variable
2006-01-05 09:51:16 -05:00
* Added Actor.default_io_proc
* Set :actor key on SSH channel instances
2006-01-02 12:28:42 -05:00
*0.10.0* (January 2nd, 2006)
2005-08-06 15:35:25 -04:00
2006-01-02 11:48:37 -05:00
* Handle ssh password prompts like "someone's password:"
2006-01-02 11:41:56 -05:00
* Make CLI#echo available as a class method.
* Add CLI#with_echo.
* Make the default password prompt available as a class method.
# Add documentation for the CLI class.
2006-01-02 00:01:58 -05:00
* Add a sanity check to make sure the correct versions of Net::SSH and Net::SFTP are installed.
2006-01-01 23:24:11 -05:00
* Added a cleanup task to remove unused releases from the deployment directory
2006-01-01 22:21:40 -05:00
* Allow password to be reentered on sudo if it was entered incorrectly
2006-01-01 01:39:13 -05:00
* Use && as the command separator for the checkouts, so that errors are caught early.
2005-12-31 23:11:46 -05:00
* Ping each SSH connection every 1s during command processing so that long-running commands don't cause the connection to timeout.
* Add a 0.01s sleep during the command loop so that the CPU doesn't go ballistic while ST is doing its thing.
2005-12-26 20:50:23 -05:00
* Add :restart_via variable for specifying whether restart ought to use :sudo (default, use sudo)
* Use SFTP for file transfers (if available).
2005-12-22 16:34:21 -05:00
* Add an "update_current" task that will do an svn up on the current release
2005-12-22 15:55:15 -05:00
* Use the :checkout variable to determine what operation to use for svn checkouts (instead of co, like "export").
2005-12-22 15:36:28 -05:00
* The Rails rake tasks now load ST directly, instead of invoking it via system
2005-11-09 11:43:40 -05:00
* Added ssh_options variable to configure the SSH connection parameters #2734 [jerrett@bravenet.com]
2006-01-01 22:21:40 -05:00
* Require Net::SSH 1.0.5
2005-11-09 09:53:36 -05:00
*0.9.0* (October 18th, 2005)
2005-10-13 16:06:27 -04:00
* Use process reaper instead of custom reap script for restarting
2005-10-10 21:59:19 -04:00
* Use -S switch to set variables before reading recipe files #2242
2005-10-10 21:43:41 -04:00
* Have setup.rb create a switchtower.cmd file on Win32 platforms #2402
2005-10-04 10:49:46 -04:00
* Add diff_from_last_deploy to the rails switchtower rakefile template
2005-10-04 09:06:43 -04:00
* Add diff_from_last_deploy task (currently only works with subversion)
2005-10-04 08:30:46 -04:00
* Add deploy_with_migrations task.
* Make the migrate task more customizable.
* If no password is given with the -p switch, prompt for password immediately.
2005-09-19 18:20:58 -04:00
* Do not install a switchtower stub in the script directory. Assume the switchtower executable is in the path.
2005-09-19 18:15:48 -04:00
* Remove trailing newlines from commands to prevent trailing backslash #2141
2005-09-19 18:12:14 -04:00
* Default parameters work correctly with the generator #2218 [Scott Barron]
2005-09-11 15:42:53 -04:00
* Attempt to require 'rubygems' explicitly when running the switchtower utility #2134
2005-09-05 06:37:00 -04:00
* Make default tasks work only on app/db/web roles, so that additional roles may be created for boxes with specific needs without needing to (for instance) deploy the app to those boxes
2005-09-03 11:27:26 -04:00
* Default the application name to "Application" when using --apply-to
2005-09-03 11:23:10 -04:00
* Show the help screen instead of an error when no arguments are given
2005-08-30 17:42:27 -04:00
* Make SwitchTower easier to invoke programmatically via SwitchTower::CLI
2005-08-30 16:53:32 -04:00
* Specify the revision to release via the :revision variable (defaults to latest revision)
* Allow variables to be set via the cli using the -s switch
* Log checkouts to a "revisions.log" file
* Changed behavior of checkout to use the timestamp as the release name, instead of the revision number
2005-08-17 06:13:25 -04:00
* Added CVS module (very very experimental!)
2005-08-13 14:36:02 -04:00
* Works with public keys now, for passwordless deployment
2005-08-12 17:40:38 -04:00
* Subversion module recognizes the password prompt for HTTP authentication
2005-08-12 16:32:23 -04:00
* Preserve +x on scripts when using darcs #1929 [Scott Barron]
2005-08-06 15:35:25 -04:00
* When executing multiline commands, use a backslash to escape the newline