Ruby on Rails | Screencasts | Download | Documentation | Weblog | Community | Source

root/tools/capistrano/CHANGELOG

Revision 5145, 8.7 kB (checked in by minam, 4 years ago)

Added :as option to sudo so you can specify who a command should be executed as

Line 
1 *SVN*
2
3 * Added :as option to sudo, so you can specify who the command is executed as [Mark Imbriaco]
4
5 *1.2.0* (September 14, 2006)
6
7 * Add experimental 'shell' task [Jamis Buck]
8
9 * Display file for external configurations, rather than inspected proc. [Jamis Buck]
10
11 * Connect to multiple servers in parallel, rather than serially. [Jamis Buck]
12
13 * Add SCM module for Mercurial (closes #4150) [Matthew Elder]
14
15 * Remove unused line in SCM::Base (closes #5619) [chris@seagul.co.uk]
16
17 * More efficient "svn log" usage (closes #5620) [Anatol Pomozov]
18
19 * Better support for key passphrases in the SVN module (closes #5920) [llasram@gmail.com]
20
21 * Fix missing default for :local in cvs.rb (closes #3645) [jeremy@hinegardner.org]
22
23 * Fix awkward spacing in gemspec file (closes #3888) [grant@antiflux.org]
24
25 * Add support for :sudo variable to specify path to sudo (closes #4578) [timothee.peignier@tryphon.org]
26
27 * Make previous_release return nil if there are no previous releases (closes #4959) [bdabney@cavoksolutions.com]
28
29 * Uncache releases list after update_code is called so that newly released dir is included (closes #3766) [Jamis Buck]
30
31 * Allow the subversion scm to accept HTTPS certificates (closes #4792) [Jamis Buck]
32
33 * Make sure rollbacks occur within the scope of the task that triggered them [Jamis Buck]
34
35 * Fixed the default recipe to work with setups that haven't yet gone pids [DHH]
36
37 * Symlink and setup for shared/pids to tmp/pids [DHH]
38
39 * Fix some incorrect usage text (closes #4507) [gerry_shaw@yahoo.com]
40
41 * Added Actor#stream method that makes it easy to create cross-server streams [DHH]. Example:
42
43     desc "Run a tail on multiple log files at the same time"
44     task :tail_fcgi, :roles => :app do
45       stream "tail -f #{shared_path}/log/fastcgi.crash.log"
46     end
47
48 * Make update_code and symlink a macro task under the name "update" for easy of deploy to servers that does not run fcgis [DHH]
49
50 * 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]
51
52 * Added support for :except on task declarations as the opposite of :only [DHH]. Example:
53
54     role :app, "192.168.0.2"
55     role :file, "192.168.0.3", :no_release => true
56
57     task :symlink, :except => { :no_release => true } do
58       on_rollback { run "ln -nfs #{previous_release} #{current_path}" }
59       run "ln -nfs #{current_release} #{current_path}"
60     end
61    
62     cap symlink # will not run on 192.168.0.3
63
64 * Deprecate the -r/--recipe switch in favor of -f/--file (for more make/rake-like semantics) [Jamis Buck]
65
66 * Fix gemspec to include a dependency on rake 0.7 [Jamis Buck]
67
68 * Added respect for ENV["HOSTS"] that'll be used instead of the roles specified in the task definition [DHH]. Example:
69
70     HOSTS=192.168.0.1 cap setup # one-off setup for that server, doesn't need to be prespecified in the recipes file
71
72 * Added respect for ENV["ROLES"] that'll be used instead of the roles specified in the task definition [DHH]. Example:
73
74     task :setup, :roles => [ :app, :web, :db ]
75       # normally this would run every where
76     end
77    
78     ROLES=app cap setup # this will only run for the app role, overwritting the default declaration
79
80 * Added :hosts option to task definition that allows you to specify cross-cutting tasks [DHH]. Example:
81
82     task :setup, :hosts => [ "06.example.com", "01.example.com" ] do
83       # this task will happen on 06 and 01 regardless of which roles they belong to
84     end
85
86 * Fix operator precedence problem in script for touching the revisions.log #3223 [jason.garber@emu.edu]
87
88
89 *1.1.0* (March 6th, 2006)
90
91 * Simplify the generated capistrano.rake file, and make it easier to customize
92
93 * Use rake-like command-line semantics ("cap deploy", in addition to "cap -a deploy")
94
95 * Rename to capistrano
96
97 * Make the generated capistrano.rake file use rake namespaces, and include all default tasks
98
99 * Look for config/deploy.rb, capfile, and Capfile by default
100
101
102 *1.0.1* (February 20th, 2006)
103
104 * Fix broken switchtower_invoke function in switchtower.rake (missing require statement)
105
106
107 *1.0.0* (Feburary 18th, 2006)
108
109 * Make CVS module's :local value default to "."
110
111 * Add "invoke" task for executing one-off commands
112
113 * Make port selection smarter for gateway connections
114
115 * Add extension mechanism for custom ST operations and third-party task libraries
116
117 * Make ST rails rake tasks more configurable
118
119 * Add Actor#current_task and simplify Task#servers
120
121 * Add Actor#connect! method for working around lazy connection establishing
122
123 * Make sure IO::TRUNC is specified for Net::SFTP uploads (#3510)
124
125 * Add branch support to CVS [jeremy@hinegardner.org] (#3596)
126
127 * Add bazaar-ng SCM module [Damien Merenne]
128
129 * Add optional :svn_username and :svn_password variables
130
131 * Allow Proc-valued variables to be set more conveniently (set(:foo) { "bar" })
132
133 * Add perforce SCM module [Richard McMahon]
134
135 * Add bazaar (v1) SCM module [Edd Dumbill] (#3533)
136
137 * Fix stftime format string used in CVS module to be Windows-compatible (fixes #3383)
138
139 * Add an better error when a task is run and no servers match the required conditions
140
141 * Add default spinner and cold_deploy tasks, and spinner_user variable
142
143 * Changed restart_via variable to (boolean) use_sudo
144
145 * Only chmod when the revisions.log file is first created
146
147 * Make UPPERCASE variables work
148
149 * Added rails_env variable (defaults to production) for use by tasks that employ the RAILS_ENV environment variable
150
151 * Added Actor.default_io_proc
152
153 * Set :actor key on SSH channel instances
154
155
156 *0.10.0* (January 2nd, 2006)
157
158 * Handle ssh password prompts like "someone's password:"
159
160 * Make CLI#echo available as a class method.
161
162 * Add CLI#with_echo.
163
164 * Make the default password prompt available as a class method.
165
166 # Add documentation for the CLI class.
167
168 * Add a sanity check to make sure the correct versions of Net::SSH and Net::SFTP are installed.
169
170 * Added a cleanup task to remove unused releases from the deployment directory
171
172 * Allow password to be reentered on sudo if it was entered incorrectly
173
174 * Use && as the command separator for the checkouts, so that errors are caught early.
175
176 * Ping each SSH connection every 1s during command processing so that long-running commands don't cause the connection to timeout.
177
178 * Add a 0.01s sleep during the command loop so that the CPU doesn't go ballistic while ST is doing its thing.
179
180 * Add :restart_via variable for specifying whether restart ought to use :sudo (default, use sudo)
181
182 * Use SFTP for file transfers (if available).
183
184 * Add an "update_current" task that will do an svn up on the current release
185
186 * Use the :checkout variable to determine what operation to use for svn checkouts (instead of co, like "export").
187
188 * The Rails rake tasks now load ST directly, instead of invoking it via system
189
190 * Added ssh_options variable to configure the SSH connection parameters #2734 [jerrett@bravenet.com]
191
192 * Require Net::SSH 1.0.5
193
194
195 *0.9.0* (October 18th, 2005)
196
197 * Use process reaper instead of custom reap script for restarting
198
199 * Use -S switch to set variables before reading recipe files #2242
200
201 * Have setup.rb create a switchtower.cmd file on Win32 platforms #2402
202
203 * Add diff_from_last_deploy to the rails switchtower rakefile template
204
205 * Add diff_from_last_deploy task (currently only works with subversion)
206
207 * Add deploy_with_migrations task.
208
209 * Make the migrate task more customizable.
210
211 * If no password is given with the -p switch, prompt for password immediately.
212
213 * Do not install a switchtower stub in the script directory. Assume the switchtower executable is in the path.
214
215 * Remove trailing newlines from commands to prevent trailing backslash #2141
216
217 * Default parameters work correctly with the generator #2218 [Scott Barron]
218
219 * Attempt to require 'rubygems' explicitly when running the switchtower utility #2134
220
221 * 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
222
223 * Default the application name to "Application" when using --apply-to
224
225 * Show the help screen instead of an error when no arguments are given
226
227 * Make SwitchTower easier to invoke programmatically via SwitchTower::CLI
228
229 * Specify the revision to release via the :revision variable (defaults to latest revision)
230
231 * Allow variables to be set via the cli using the -s switch
232
233 * Log checkouts to a "revisions.log" file
234
235 * Changed behavior of checkout to use the timestamp as the release name, instead of the revision number
236
237 * Added CVS module (very very experimental!)
238
239 * Works with public keys now, for passwordless deployment
240
241 * Subversion module recognizes the password prompt for HTTP authentication
242
243 * Preserve +x on scripts when using darcs #1929 [Scott Barron]
244
245 * When executing multiline commands, use a backslash to escape the newline
Note: See TracBrowser for help on using the browser.