2007-06-16 09:51:12 -04:00
*SVN*
2007-06-17 16:13:08 -04:00
* Make sure Net::SSH versions prior to 1.1.0 still work [Jamis Buck]
2007-06-17 10:27:47 -04:00
* Allow the :hosts and :roles keys to accept lambdas, which will be evaluated lazily to allow runtime selection of hosts and roles in tasks [Jamis Buck]
2007-06-16 17:17:55 -04:00
* Use `which' to test whether a command exists in the remote path, instead of `test -p' [Jamis Buck]
2007-06-16 17:17:20 -04:00
2007-06-16 17:16:05 -04:00
* Make sure the connection factory is established synchronously, to avoid multiple gateway instances being spawned [Jamis Buck]
2007-06-16 09:51:12 -04:00
* Make sure symlink and finalize_update tasks reference the most recent release when called by themselves [Jamis Buck]
2007-05-31 22:56:42 -04:00
2007-06-16 09:51:12 -04:00
*1.99.2 (2.0 Preview 3)* June 15, 2007
2007-06-15 22:51:28 -04:00
* CVS SCM module [Brian Phillips]
2007-06-15 17:12:30 -04:00
* Fix typo in Perforce SCM module [Chris Bailey]
2007-06-14 12:01:49 -04:00
* ssh_options < server options when connecting [Jamis Buck]
2007-06-14 11:18:36 -04:00
* Logger defaults to $stderr instead of STDERR [lhartley]
2007-06-12 13:47:05 -04:00
* Use cp -RPp instead of -a in the remote cache strategy
2007-06-07 23:30:40 -04:00
* Make the UploadError exception include an array of the hosts that failed [rob@inversepath.com]
2007-06-06 09:20:25 -04:00
* Allow "empty" roles to be declared [Jamis Buck]
2007-06-05 12:16:17 -04:00
* Mercurial SCM module [Tobias Luetke, Matthew Elder]
2007-06-05 12:10:01 -04:00
* Invoke all commands via sh (customizable via :default_shell) [Jamis Buck]
2007-05-31 23:04:20 -04:00
* Make sure all directories exist on each deploy which are necessary for subsequent commands to succeed, since some SCM's won't save empty directories [Matthew Elder]
2007-05-31 22:56:42 -04:00
* Add :default_environment variable, which is applied to every command
2007-05-10 23:58:44 -04:00
*1.99.1 (2.0 Preview 2)* May 10, 2007
2007-03-04 13:19:26 -05:00
2007-05-10 23:50:41 -04:00
* Fix some documentation typos [eventualbuddha]
2007-05-10 23:45:16 -04:00
* Don't retry failed connections if an explicit auth_methods list is given [Chris Farms]
2007-05-09 01:24:21 -04:00
* Added support for load and exit callbacks, which get invoked when all recipes have been loaded and when all requested tasks have been executed [Jamis Buck]
2007-05-09 01:14:37 -04:00
* Added support for start and finish callbacks, which get invoked when any task is called via the command-line [Jamis Buck]
2007-05-09 01:05:05 -04:00
* Make `capify' understand simple command-line switches [Jamis Buck]
* Make the server definition itself available to SSH channels, rather than just the host name [Jamis Buck]
2007-05-09 00:45:54 -04:00
* Identify servers by their complete credentials in logs, rather than simply by hostname [Jamis Buck]
2007-05-09 00:05:39 -04:00
* Uniquely identify servers based on hostname, port, and username, instead of merely on hostname [Jamis Buck]
2007-05-09 00:02:50 -04:00
2007-05-08 23:36:26 -04:00
* Allow (e.g.) scm_command and local_scm_command to be set in the event of different paths to the scm command on local vs. remote hosts. [Jamis Buck]
2007-05-08 00:49:07 -04:00
* Kill the "deploy:app" namespace and move those tasks into deploy, directly. [Jamis Buck]
2007-05-08 00:31:43 -04:00
* Make sure 'desc' applies to the next defined task, in any namespace. [Jamis Buck]
2007-05-08 00:17:48 -04:00
* Fix shell so that servers for a task are correctly discovered. [Jamis Buck]
2007-05-08 00:12:29 -04:00
* Added before(), after(), and on() callback creation methods. [Jamis Buck]
2007-04-29 23:36:50 -04:00
* Fix broken check! method for some deployment strategies. [Jamis Buck]
2007-04-27 01:07:42 -04:00
* deploy:cold should also run migrations before starting the app [Jamis Buck]
2007-04-26 22:20:21 -04:00
* Make the copy strategy check out to a temporary directory [Jamis Buck]
*1.99.0 (2.0 Preview 1)* April 24, 2007
2007-04-19 23:05:34 -04:00
* Add `capify' script to make it easier to prepare a project for deployment using cap [Jamis Buck]
2007-04-05 01:18:46 -04:00
* Make sure the sudo helper understands the SuSE dialect of the sudo password prompt [Steven Wisener]
2007-03-30 15:40:26 -04:00
* Fix synchronization issue with Gateway initialization [Doug Barth]
2007-03-27 01:17:33 -04:00
* Added opt-in "compat" and "upgrade" recipes for tasks to aid in the upgrade process to Capistrano 2 [Jamis Buck]
2007-03-26 12:36:09 -04:00
* The deployment recipes are now opt-in. Just do 'load "deploy"' in your recipe script. [Jamis Buck]
2007-03-14 10:22:35 -04:00
* Added $CAPISTRANO:HOST$ placeholder in commands, which will be replaced with the name of the host on which the command is executing [Jamis Buck]
2007-03-04 13:19:26 -05:00
* Added -e switch to explain specific task. Added -X to extend -x. Made -h much briefer. Added -T to list known tasks. [Jamis Buck]
* Added namespaces for tasks [Jamis Buck]
* Merged the Configuration and Actor classes, performed various other massive refactorings of the code [Jamis Buck]
2007-04-26 22:20:21 -04:00
2007-02-24 15:29:21 -05:00
*1.4.1* (February 24, 2007)
2007-02-03 21:03:56 -05:00
2007-02-24 15:20:43 -05:00
* Use the no-auth-cache option with subversion so that username/password tokens do not get cached by capistrano usage [jonathan]
2007-02-24 15:06:45 -05:00
* Deprecated upper-cased variables [Jamis Buck]
2007-02-15 10:46:19 -05:00
* Make sure Actor#get does not close the SFTP channel (so subsequent SFTP operations work) [Dov Murik]
2007-02-03 21:03:56 -05:00
* Add :env option to 'run' (and friends) so that you can specify environment variables to be injected into the new process' environment [Mathieu Lajugie]
2007-02-03 13:06:35 -05:00
*1.4.0* (February 3, 2007)
2007-01-12 12:33:51 -05:00
2007-02-03 13:02:24 -05:00
* Use the auth info for subversion more consistently [Jamis Buck]
2007-01-22 11:19:39 -05:00
* Add a "capture" helper, for capturing the stdout of a remote command and returning it as a string [Jamis Buck]
2007-01-22 10:37:35 -05:00
* Add a "get" helper, to pull a file from a remote server to the localhost [bmihelac]
2007-01-22 10:10:32 -05:00
* Fix gateway to actually increment local_port if a port is in use, so that multiple capistrano instances can run at the same time [Mark Imbriaco]
2007-01-18 21:30:22 -05:00
* Refactor the permissions tweaking in update_code to a separate task so that people on shared hosts can override it as necessary [jaw6]
2007-01-18 21:21:24 -05:00
* Set umask during the setup task, so that intermediate directories are created with the proper permissions [NeilW]
2007-01-17 23:07:19 -05:00
* Removed -c/--caprc switch, since the new load order renders it meaningless (just use -f now) [Mike Bailey]
* Make sure the standard recipe loads first, so that .caprc and friends can override what it defines. [Mike Bailey]
* Add support for a system-wide capistrano config file [Mike Bailey]
2007-01-15 10:14:16 -05:00
* Make cold_deploy call update instead of deploy (to avoid invoking the restart task).
* Make the touch command run by update_code set the TZ to UTC, for consistent setting of asset timestamps. [NeilW]
2007-01-13 11:30:07 -05:00
2007-01-12 12:33:51 -05:00
* Fix off-by-one bug in show_tasks width-computation [NeilW]
2007-02-03 21:03:56 -05:00
2007-01-05 23:22:41 -05:00
*1.3.1* (January 5, 2007)
2007-01-03 23:17:01 -05:00
* Fix connection problems when using gateways [Ezra Zygmuntowicz]
2007-02-03 21:03:56 -05:00
2006-12-23 23:04:34 -05:00
*1.3.0* (December 23, 2006)
2006-09-18 18:54:47 -04:00
2006-12-23 23:04:34 -05:00
* Deprecate rake integration in favor of invoking `cap' directly [Jamis Buck]
2006-12-23 22:53:38 -05:00
2006-12-23 21:31:38 -05:00
* Make sure the CVS module references the repository explicitly in cvs_log [weyus@att.net]
2006-12-23 23:04:34 -05:00
* Remove trace messages when loading a file [Jamis Buck]
2006-12-23 21:09:32 -05:00
2006-12-23 23:04:34 -05:00
* Cleaner error messages for authentication failures and command errors [Jamis Buck]
2006-12-23 17:59:50 -05:00
2006-12-23 23:04:34 -05:00
* Added support for ~/.caprc, also -x and -c switches. [Jamis Buck]
2006-12-23 11:09:27 -05:00
2006-12-01 00:43:35 -05:00
* Updated migrate action to use db:migrate task in Rails instead of the deprecated migrate task [DHH]
2006-11-10 23:21:55 -05:00
* Allow SSH user and port to be encoded in the hostname strings [Ezra Zygmuntowicz]
2006-10-25 15:32:32 -04:00
* Fixed that new checkouts were not group-writable [DHH, Jamis Buck]
2006-10-24 13:11:04 -04:00
2006-10-24 12:37:21 -04:00
* Fixed that cap setup would use 755 on the deploy_to and shared directory roots instead of 775 [DHH]
2006-10-24 00:12:56 -04:00
* Don't run the cleanup task on servers marked no_release [Jamis Buck]
2006-10-21 13:06:37 -04:00
* Fix typo in default_io_proc so it correctly checks the stream parameter to see if it is the error stream [Stephen Haberman]
2006-10-20 13:52:51 -04:00
* Make sure assets in images, javascripts, and stylesheets are touched after updating the code, to ensure the asset timestamping feature of rails works correctly [Jamis Buck]
2006-10-05 13:46:51 -04:00
* Added warning if password is prompted for and termios is not installed [John Labovitz]
2006-09-18 18:54:47 -04:00
* Added :as option to sudo, so you can specify who the command is executed as [Mark Imbriaco]
2007-02-03 21:03:56 -05:00
2006-09-14 06:56:11 -04:00
*1.2.0* (September 14, 2006)
2006-03-18 18:12:11 -05:00
2006-09-14 06:46:39 -04:00
* Add experimental 'shell' task [Jamis Buck]
2006-09-09 19:39:44 -04:00
* Display file for external configurations, rather than inspected proc. [Jamis Buck]
2006-09-05 18:57:29 -04:00
* Connect to multiple servers in parallel, rather than serially. [Jamis Buck]
2006-08-27 02:55:15 -04:00
* Add SCM module for Mercurial (closes #4150) [Matthew Elder]
2006-08-27 02:49:20 -04:00
* Remove unused line in SCM::Base (closes #5619) [chris@seagul.co.uk]
2006-08-27 02:47:25 -04:00
* More efficient "svn log" usage (closes #5620) [Anatol Pomozov]
2006-08-27 02:37:19 -04:00
* Better support for key passphrases in the SVN module (closes #5920) [llasram@gmail.com]
2006-07-06 00:56:58 -04:00
* Fix missing default for :local in cvs.rb (closes #3645) [jeremy@hinegardner.org]
2006-07-06 00:50:06 -04:00
* Fix awkward spacing in gemspec file (closes #3888) [grant@antiflux.org]
2006-07-06 00:40:28 -04:00
* Add support for :sudo variable to specify path to sudo (closes #4578) [timothee.peignier@tryphon.org]
2006-07-06 00:36:58 -04:00
* Make previous_release return nil if there are no previous releases (closes #4959) [bdabney@cavoksolutions.com]
* Uncache releases list after update_code is called so that newly released dir is included (closes #3766) [Jamis Buck]
* Allow the subversion scm to accept HTTPS certificates (closes #4792) [Jamis Buck]
* Make sure rollbacks occur within the scope of the task that triggered them [Jamis Buck]
2006-05-26 13:38:39 -04:00
* Fixed the default recipe to work with setups that haven't yet gone pids [DHH]
2006-04-27 20:07:19 -04:00
* Symlink and setup for shared/pids to tmp/pids [DHH]
2006-04-26 17:53:20 -04:00
* Fix some incorrect usage text (closes #4507) [gerry_shaw@yahoo.com]
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