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

root/branches/cap2-on-netssh2/CHANGELOG

Revision 7210, 17.8 kB (checked in by minam, 1 year ago)

-q isn't really the default

Line 
1 *SVN*
2
3 * Change the "-h" output so that it does not say that "-q" is the default [Jamis Buck]
4
5
6 *2.0.0* July 21, 2007
7
8 * Make the "no matching servers" error more sane [halorgium]
9
10 * Make sure the invoke task gives a sane error when the COMMAND value is omitted [halorgium]
11
12 * Make sure variables are conditionally set in the deploy recipes, so as not to clobber values set elsewhere [Jamis Buck]
13
14 * Fix "input stream is empty" errors from HighLine on prompt [Jamis Buck]
15
16 * Added "synchronous_connect" setting to try and work around SFTP hangs for certain users [Jamis Buck]
17
18 * Auto-require the SSH shell service, to avoid race conditions [Jamis Buck]
19
20 * Add a millisecond sleep in upload to reduce CPU impact [Jamis Buck]
21
22 * Allow the logger to be set via Configuration#logger= [Jamis Buck]
23
24 * Allow $CAPISTRANO:HOST$ to be used in filenames to the put command [Jamis Buck]
25
26 * Allow execute_on_servers to be called without a current task again [Jamis Buck]
27
28 * Put $stdout in sync mode, so that Net::SSH prompts are displayed [Jamis Buck]
29
30 * Make sure deploy:check aborts if it fails [Jamis Buck]
31
32 * Spelling corrections in docs [Tim Carey-Smith, Giles Bowkett]
33
34
35 *1.99.3 (2.0 Preview 4)* June 28, 2007
36
37 * Don't break task descriptions on a period that appears in the middle of a sentence [Jamis Buck]
38
39 * Added support for :on_error => :continue in task definitions, allowing tasks to effectively ignore connection and execution errors that occur as they run [Rob Holland]
40
41 * Use correct parameters for Logger constructor in the SCM and Strategy base initializers [Jamis Buck]
42
43 * Set LC_ALL=C before querying the revision, to make sure the output is in a predictable locale and can be parsed predictably [via Leandro Nunes dos Santos]
44
45 * Add :copy_remote_dir variable for the :copy strategy, to indicate where the archive should be copied to on the remote servers [Jamis Buck]
46
47 * Make the awk use in the dependencies code work with POSIX awk [mcornick]
48
49 * Make variable accesses thread safe [via Adrian Danieli]
50
51 * Make user input for yes/no prompts work correctly in the Mercurial module [Matthew Elder]
52
53 * Use single quotes to escape semicolon in find command, instead of a backslash [via michael.italia@gmail.com]
54
55 * Better quoting of reserved characters in commands [Jamis Buck]
56
57 * Make sure Net::SSH versions prior to 1.1.0 still work [Jamis Buck]
58
59 * 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]
60
61 * Use `which' to test whether a command exists in the remote path, instead of `test -p' [Jamis Buck]
62
63 * Make sure the connection factory is established synchronously, to avoid multiple gateway instances being spawned [Jamis Buck]
64
65 * Make sure symlink and finalize_update tasks reference the most recent release when called by themselves [Jamis Buck]
66
67
68 *1.99.2 (2.0 Preview 3)* June 15, 2007
69  
70 * CVS SCM module [Brian Phillips]
71
72 * Fix typo in Perforce SCM module [Chris Bailey]
73
74 * ssh_options < server options when connecting [Jamis Buck]
75
76 * Logger defaults to $stderr instead of STDERR [lhartley]
77
78 * Use cp -RPp instead of -a in the remote cache strategy
79
80 * Make the UploadError exception include an array of the hosts that failed [rob@inversepath.com]
81
82 * Allow "empty" roles to be declared [Jamis Buck]
83
84 * Mercurial SCM module [Tobias Luetke, Matthew Elder]
85
86 * Invoke all commands via sh (customizable via :default_shell) [Jamis Buck]
87
88 * 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]
89
90 * Add :default_environment variable, which is applied to every command
91
92
93 *1.99.1 (2.0 Preview 2)* May 10, 2007
94
95 * Fix some documentation typos [eventualbuddha]
96
97 * Don't retry failed connections if an explicit auth_methods list is given [Chris Farms]
98
99 * 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]
100
101 * Added support for start and finish callbacks, which get invoked when any task is called via the command-line [Jamis Buck]
102
103 * Make `capify' understand simple command-line switches [Jamis Buck]
104
105 * Make the server definition itself available to SSH channels, rather than just the host name [Jamis Buck]
106
107 * Identify servers by their complete credentials in logs, rather than simply by hostname [Jamis Buck]
108
109 * Uniquely identify servers based on hostname, port, and username, instead of merely on hostname [Jamis Buck]
110
111 * 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]
112
113 * Kill the "deploy:app" namespace and move those tasks into deploy, directly. [Jamis Buck]
114
115 * Make sure 'desc' applies to the next defined task, in any namespace. [Jamis Buck]
116
117 * Fix shell so that servers for a task are correctly discovered. [Jamis Buck]
118
119 * Added before(), after(), and on() callback creation methods. [Jamis Buck]
120
121 * Fix broken check! method for some deployment strategies. [Jamis Buck]
122
123 * deploy:cold should also run migrations before starting the app [Jamis Buck]
124
125 * Make the copy strategy check out to a temporary directory [Jamis Buck]
126
127
128 *1.99.0 (2.0 Preview 1)* April 24, 2007
129
130 * Add `capify' script to make it easier to prepare a project for deployment using cap [Jamis Buck]
131
132 * Make sure the sudo helper understands the SuSE dialect of the sudo password prompt [Steven Wisener]
133
134 * Fix synchronization issue with Gateway initialization [Doug Barth]
135
136 * Added opt-in "compat" and "upgrade" recipes for tasks to aid in the upgrade process to Capistrano 2 [Jamis Buck]
137
138 * The deployment recipes are now opt-in. Just do 'load "deploy"' in your recipe script. [Jamis Buck]
139
140 * Added $CAPISTRANO:HOST$ placeholder in commands, which will be replaced with the name of the host on which the command is executing [Jamis Buck]
141
142 * Added -e switch to explain specific task. Added -X to extend -x. Made -h much briefer. Added -T to list known tasks. [Jamis Buck]
143
144 * Added namespaces for tasks [Jamis Buck]
145
146 * Merged the Configuration and Actor classes, performed various other massive refactorings of the code [Jamis Buck]
147
148
149 *1.4.1* (February 24, 2007)
150
151 * Use the no-auth-cache option with subversion so that username/password tokens do not get cached by capistrano usage [jonathan]
152
153 * Deprecated upper-cased variables [Jamis Buck]
154
155 * Make sure Actor#get does not close the SFTP channel (so subsequent SFTP operations work) [Dov Murik]
156
157 * Add :env option to 'run' (and friends) so that you can specify environment variables to be injected into the new process' environment [Mathieu Lajugie]
158
159
160 *1.4.0* (February 3, 2007)
161
162 * Use the auth info for subversion more consistently [Jamis Buck]
163
164 * Add a "capture" helper, for capturing the stdout of a remote command and returning it as a string [Jamis Buck]
165
166 * Add a "get" helper, to pull a file from a remote server to the localhost [bmihelac]
167
168 * 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]
169
170 * Refactor the permissions tweaking in update_code to a separate task so that people on shared hosts can override it as necessary [jaw6]
171
172 * Set umask during the setup task, so that intermediate directories are created with the proper permissions [NeilW]
173
174 * Removed -c/--caprc switch, since the new load order renders it meaningless (just use -f now) [Mike Bailey]
175
176 * Make sure the standard recipe loads first, so that .caprc and friends can override what it defines. [Mike Bailey]
177
178 * Add support for a system-wide capistrano config file [Mike Bailey]
179
180 * Make cold_deploy call update instead of deploy (to avoid invoking the restart task).
181
182 * Make the touch command run by update_code set the TZ to UTC, for consistent setting of asset timestamps. [NeilW]
183
184 * Fix off-by-one bug in show_tasks width-computation [NeilW]
185
186
187 *1.3.1* (January 5, 2007)
188
189 * Fix connection problems when using gateways [Ezra Zygmuntowicz]
190
191
192 *1.3.0* (December 23, 2006)
193
194 * Deprecate rake integration in favor of invoking `cap' directly [Jamis Buck]
195
196 * Make sure the CVS module references the repository explicitly in cvs_log [weyus@att.net]
197
198 * Remove trace messages when loading a file [Jamis Buck]
199
200 * Cleaner error messages for authentication failures and command errors [Jamis Buck]
201
202 * Added support for ~/.caprc, also -x and -c switches. [Jamis Buck]
203
204 * Updated migrate action to use db:migrate task in Rails instead of the deprecated migrate task [DHH]
205
206 * Allow SSH user and port to be encoded in the hostname strings [Ezra Zygmuntowicz]
207
208 * Fixed that new checkouts were not group-writable [DHH, Jamis Buck]
209
210 * Fixed that cap setup would use 755 on the deploy_to and shared directory roots instead of 775 [DHH]
211
212 * Don't run the cleanup task on servers marked no_release [Jamis Buck]
213
214 * Fix typo in default_io_proc so it correctly checks the stream parameter to see if it is the error stream [Stephen Haberman]
215
216 * 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]
217
218 * Added warning if password is prompted for and termios is not installed [John Labovitz]
219
220 * Added :as option to sudo, so you can specify who the command is executed as [Mark Imbriaco]
221
222
223 *1.2.0* (September 14, 2006)
224
225 * Add experimental 'shell' task [Jamis Buck]
226
227 * Display file for external configurations, rather than inspected proc. [Jamis Buck]
228
229 * Connect to multiple servers in parallel, rather than serially. [Jamis Buck]
230
231 * Add SCM module for Mercurial (closes #4150) [Matthew Elder]
232
233 * Remove unused line in SCM::Base (closes #5619) [chris@seagul.co.uk]
234
235 * More efficient "svn log" usage (closes #5620) [Anatol Pomozov]
236
237 * Better support for key passphrases in the SVN module (closes #5920) [llasram@gmail.com]
238
239 * Fix missing default for :local in cvs.rb (closes #3645) [jeremy@hinegardner.org]
240
241 * Fix awkward spacing in gemspec file (closes #3888) [grant@antiflux.org]
242
243 * Add support for :sudo variable to specify path to sudo (closes #4578) [timothee.peignier@tryphon.org]
244
245 * Make previous_release return nil if there are no previous releases (closes #4959) [bdabney@cavoksolutions.com]
246
247 * Uncache releases list after update_code is called so that newly released dir is included (closes #3766) [Jamis Buck]
248
249 * Allow the subversion scm to accept HTTPS certificates (closes #4792) [Jamis Buck]
250
251 * Make sure rollbacks occur within the scope of the task that triggered them [Jamis Buck]
252
253 * Fixed the default recipe to work with setups that haven't yet gone pids [DHH]
254
255 * Symlink and setup for shared/pids to tmp/pids [DHH]
256
257 * Fix some incorrect usage text (closes #4507) [gerry_shaw@yahoo.com]
258
259 * Added Actor#stream method that makes it easy to create cross-server streams [DHH]. Example:
260
261     desc "Run a tail on multiple log files at the same time"
262     task :tail_fcgi, :roles => :app do
263       stream "tail -f #{shared_path}/log/fastcgi.crash.log"
264     end
265
266 * Make update_code and symlink a macro task under the name "update" for easy of deploy to servers that does not run fcgis [DHH]
267
268 * 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]
269
270 * Added support for :except on task declarations as the opposite of :only [DHH]. Example:
271
272     role :app, "192.168.0.2"
273     role :file, "192.168.0.3", :no_release => true
274
275     task :symlink, :except => { :no_release => true } do
276       on_rollback { run "ln -nfs #{previous_release} #{current_path}" }
277       run "ln -nfs #{current_release} #{current_path}"
278     end
279    
280     cap symlink # will not run on 192.168.0.3
281
282 * Deprecate the -r/--recipe switch in favor of -f/--file (for more make/rake-like semantics) [Jamis Buck]
283
284 * Fix gemspec to include a dependency on rake 0.7 [Jamis Buck]
285
286 * Added respect for ENV["HOSTS"] that'll be used instead of the roles specified in the task definition [DHH]. Example:
287
288     HOSTS=192.168.0.1 cap setup # one-off setup for that server, doesn't need to be prespecified in the recipes file
289
290 * Added respect for ENV["ROLES"] that'll be used instead of the roles specified in the task definition [DHH]. Example:
291
292     task :setup, :roles => [ :app, :web, :db ]
293       # normally this would run every where
294     end
295    
296     ROLES=app cap setup # this will only run for the app role, overwritting the default declaration
297
298 * Added :hosts option to task definition that allows you to specify cross-cutting tasks [DHH]. Example:
299
300     task :setup, :hosts => [ "06.example.com", "01.example.com" ] do
301       # this task will happen on 06 and 01 regardless of which roles they belong to
302     end
303
304 * Fix operator precedence problem in script for touching the revisions.log #3223 [jason.garber@emu.edu]
305
306
307 *1.1.0* (March 6th, 2006)
308
309 * Simplify the generated capistrano.rake file, and make it easier to customize
310
311 * Use rake-like command-line semantics ("cap deploy", in addition to "cap -a deploy")
312
313 * Rename to capistrano
314
315 * Make the generated capistrano.rake file use rake namespaces, and include all default tasks
316
317 * Look for config/deploy.rb, capfile, and Capfile by default
318
319
320 *1.0.1* (February 20th, 2006)
321
322 * Fix broken switchtower_invoke function in switchtower.rake (missing require statement)
323
324
325 *1.0.0* (Feburary 18th, 2006)
326
327 * Make CVS module's :local value default to "."
328
329 * Add "invoke" task for executing one-off commands
330
331 * Make port selection smarter for gateway connections
332
333 * Add extension mechanism for custom ST operations and third-party task libraries
334
335 * Make ST rails rake tasks more configurable
336
337 * Add Actor#current_task and simplify Task#servers
338
339 * Add Actor#connect! method for working around lazy connection establishing
340
341 * Make sure IO::TRUNC is specified for Net::SFTP uploads (#3510)
342
343 * Add branch support to CVS [jeremy@hinegardner.org] (#3596)
344
345 * Add bazaar-ng SCM module [Damien Merenne]
346
347 * Add optional :svn_username and :svn_password variables
348
349 * Allow Proc-valued variables to be set more conveniently (set(:foo) { "bar" })
350
351 * Add perforce SCM module [Richard McMahon]
352
353 * Add bazaar (v1) SCM module [Edd Dumbill] (#3533)
354
355 * Fix stftime format string used in CVS module to be Windows-compatible (fixes #3383)
356
357 * Add an better error when a task is run and no servers match the required conditions
358
359 * Add default spinner and cold_deploy tasks, and spinner_user variable
360
361 * Changed restart_via variable to (boolean) use_sudo
362
363 * Only chmod when the revisions.log file is first created
364
365 * Make UPPERCASE variables work
366
367 * Added rails_env variable (defaults to production) for use by tasks that employ the RAILS_ENV environment variable
368
369 * Added Actor.default_io_proc
370
371 * Set :actor key on SSH channel instances
372
373
374 *0.10.0* (January 2nd, 2006)
375
376 * Handle ssh password prompts like "someone's password:"
377
378 * Make CLI#echo available as a class method.
379
380 * Add CLI#with_echo.
381
382 * Make the default password prompt available as a class method.
383
384 # Add documentation for the CLI class.
385
386 * Add a sanity check to make sure the correct versions of Net::SSH and Net::SFTP are installed.
387
388 * Added a cleanup task to remove unused releases from the deployment directory
389
390 * Allow password to be reentered on sudo if it was entered incorrectly
391
392 * Use && as the command separator for the checkouts, so that errors are caught early.
393
394 * Ping each SSH connection every 1s during command processing so that long-running commands don't cause the connection to timeout.
395
396 * Add a 0.01s sleep during the command loop so that the CPU doesn't go ballistic while ST is doing its thing.
397
398 * Add :restart_via variable for specifying whether restart ought to use :sudo (default, use sudo)
399
400 * Use SFTP for file transfers (if available).
401
402 * Add an "update_current" task that will do an svn up on the current release
403
404 * Use the :checkout variable to determine what operation to use for svn checkouts (instead of co, like "export").
405
406 * The Rails rake tasks now load ST directly, instead of invoking it via system
407
408 * Added ssh_options variable to configure the SSH connection parameters #2734 [jerrett@bravenet.com]
409
410 * Require Net::SSH 1.0.5
411
412
413 *0.9.0* (October 18th, 2005)
414
415 * Use process reaper instead of custom reap script for restarting
416
417 * Use -S switch to set variables before reading recipe files #2242
418
419 * Have setup.rb create a switchtower.cmd file on Win32 platforms #2402
420
421 * Add diff_from_last_deploy to the rails switchtower rakefile template
422
423 * Add diff_from_last_deploy task (currently only works with subversion)
424
425 * Add deploy_with_migrations task.
426
427 * Make the migrate task more customizable.
428
429 * If no password is given with the -p switch, prompt for password immediately.
430
431 * Do not install a switchtower stub in the script directory. Assume the switchtower executable is in the path.
432
433 * Remove trailing newlines from commands to prevent trailing backslash #2141
434
435 * Default parameters work correctly with the generator #2218 [Scott Barron]
436
437 * Attempt to require 'rubygems' explicitly when running the switchtower utility #2134
438
439 * 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
440
441 * Default the application name to "Application" when using --apply-to
442
443 * Show the help screen instead of an error when no arguments are given
444
445 * Make SwitchTower easier to invoke programmatically via SwitchTower::CLI
446
447 * Specify the revision to release via the :revision variable (defaults to latest revision)
448
449 * Allow variables to be set via the cli using the -s switch
450
451 * Log checkouts to a "revisions.log" file
452
453 * Changed behavior of checkout to use the timestamp as the release name, instead of the revision number
454
455 * Added CVS module (very very experimental!)
456
457 * Works with public keys now, for passwordless deployment
458
459 * Subversion module recognizes the password prompt for HTTP authentication
460
461 * Preserve +x on scripts when using darcs #1929 [Scott Barron]
462
463 * When executing multiline commands, use a backslash to escape the newline
Note: See TracBrowser for help on using the browser.