capistrano 2.0.0 → 2.15.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (124) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +10 -0
  3. data/.travis.yml +9 -0
  4. data/CHANGELOG +755 -18
  5. data/Gemfile +13 -0
  6. data/README.md +94 -0
  7. data/Rakefile +11 -0
  8. data/bin/cap +0 -0
  9. data/bin/capify +37 -22
  10. data/capistrano.gemspec +40 -0
  11. data/lib/capistrano/callback.rb +5 -1
  12. data/lib/capistrano/cli/execute.rb +10 -7
  13. data/lib/capistrano/cli/help.rb +39 -16
  14. data/lib/capistrano/cli/help.txt +44 -16
  15. data/lib/capistrano/cli/options.rb +71 -11
  16. data/lib/capistrano/cli/ui.rb +13 -1
  17. data/lib/capistrano/cli.rb +5 -5
  18. data/lib/capistrano/command.rb +215 -58
  19. data/lib/capistrano/configuration/actions/file_transfer.rb +29 -14
  20. data/lib/capistrano/configuration/actions/inspect.rb +3 -3
  21. data/lib/capistrano/configuration/actions/invocation.rb +224 -22
  22. data/lib/capistrano/configuration/alias_task.rb +26 -0
  23. data/lib/capistrano/configuration/callbacks.rb +26 -27
  24. data/lib/capistrano/configuration/connections.rb +130 -52
  25. data/lib/capistrano/configuration/execution.rb +34 -18
  26. data/lib/capistrano/configuration/loading.rb +99 -6
  27. data/lib/capistrano/configuration/log_formatters.rb +75 -0
  28. data/lib/capistrano/configuration/namespaces.rb +45 -12
  29. data/lib/capistrano/configuration/roles.rb +34 -2
  30. data/lib/capistrano/configuration/servers.rb +51 -10
  31. data/lib/capistrano/configuration/variables.rb +3 -3
  32. data/lib/capistrano/configuration.rb +20 -4
  33. data/lib/capistrano/errors.rb +12 -8
  34. data/lib/capistrano/ext/multistage.rb +67 -0
  35. data/lib/capistrano/ext/string.rb +5 -0
  36. data/lib/capistrano/extensions.rb +1 -1
  37. data/lib/capistrano/fix_rake_deprecated_dsl.rb +8 -0
  38. data/lib/capistrano/logger.rb +112 -5
  39. data/lib/capistrano/processable.rb +55 -0
  40. data/lib/capistrano/recipes/compat.rb +2 -2
  41. data/lib/capistrano/recipes/deploy/assets.rb +202 -0
  42. data/lib/capistrano/recipes/deploy/dependencies.rb +2 -2
  43. data/lib/capistrano/recipes/deploy/local_dependency.rb +10 -2
  44. data/lib/capistrano/recipes/deploy/remote_dependency.rb +54 -2
  45. data/lib/capistrano/recipes/deploy/scm/accurev.rb +169 -0
  46. data/lib/capistrano/recipes/deploy/scm/base.rb +31 -11
  47. data/lib/capistrano/recipes/deploy/scm/bzr.rb +14 -14
  48. data/lib/capistrano/recipes/deploy/scm/cvs.rb +11 -9
  49. data/lib/capistrano/recipes/deploy/scm/darcs.rb +12 -1
  50. data/lib/capistrano/recipes/deploy/scm/git.rb +299 -0
  51. data/lib/capistrano/recipes/deploy/scm/mercurial.rb +23 -15
  52. data/lib/capistrano/recipes/deploy/scm/none.rb +55 -0
  53. data/lib/capistrano/recipes/deploy/scm/perforce.rb +54 -28
  54. data/lib/capistrano/recipes/deploy/scm/subversion.rb +36 -18
  55. data/lib/capistrano/recipes/deploy/scm.rb +1 -1
  56. data/lib/capistrano/recipes/deploy/strategy/base.rb +32 -4
  57. data/lib/capistrano/recipes/deploy/strategy/copy.rb +238 -43
  58. data/lib/capistrano/recipes/deploy/strategy/remote.rb +1 -1
  59. data/lib/capistrano/recipes/deploy/strategy/remote_cache.rb +11 -1
  60. data/lib/capistrano/recipes/deploy/strategy/unshared_remote_cache.rb +21 -0
  61. data/lib/capistrano/recipes/deploy/strategy.rb +4 -3
  62. data/lib/capistrano/recipes/deploy.rb +265 -123
  63. data/lib/capistrano/recipes/standard.rb +1 -1
  64. data/lib/capistrano/role.rb +102 -0
  65. data/lib/capistrano/server_definition.rb +6 -1
  66. data/lib/capistrano/shell.rb +30 -33
  67. data/lib/capistrano/ssh.rb +46 -60
  68. data/lib/capistrano/task_definition.rb +16 -8
  69. data/lib/capistrano/transfer.rb +218 -0
  70. data/lib/capistrano/version.rb +8 -17
  71. data/lib/capistrano.rb +4 -1
  72. data/test/cli/execute_test.rb +3 -3
  73. data/test/cli/help_test.rb +33 -7
  74. data/test/cli/options_test.rb +109 -6
  75. data/test/cli/ui_test.rb +2 -2
  76. data/test/cli_test.rb +3 -3
  77. data/test/command_test.rb +144 -124
  78. data/test/configuration/actions/file_transfer_test.rb +41 -20
  79. data/test/configuration/actions/inspect_test.rb +21 -7
  80. data/test/configuration/actions/invocation_test.rb +141 -30
  81. data/test/configuration/alias_task_test.rb +118 -0
  82. data/test/configuration/callbacks_test.rb +41 -46
  83. data/test/configuration/connections_test.rb +187 -36
  84. data/test/configuration/execution_test.rb +18 -2
  85. data/test/configuration/loading_test.rb +33 -4
  86. data/test/configuration/namespace_dsl_test.rb +54 -5
  87. data/test/configuration/roles_test.rb +114 -4
  88. data/test/configuration/servers_test.rb +97 -4
  89. data/test/configuration/variables_test.rb +12 -2
  90. data/test/configuration_test.rb +9 -13
  91. data/test/deploy/local_dependency_test.rb +76 -0
  92. data/test/deploy/remote_dependency_test.rb +146 -0
  93. data/test/deploy/scm/accurev_test.rb +23 -0
  94. data/test/deploy/scm/base_test.rb +1 -1
  95. data/test/deploy/scm/bzr_test.rb +51 -0
  96. data/test/deploy/scm/darcs_test.rb +37 -0
  97. data/test/deploy/scm/git_test.rb +274 -0
  98. data/test/deploy/scm/mercurial_test.rb +134 -0
  99. data/test/deploy/scm/none_test.rb +35 -0
  100. data/test/deploy/scm/perforce_test.rb +23 -0
  101. data/test/deploy/scm/subversion_test.rb +68 -0
  102. data/test/deploy/strategy/copy_test.rb +240 -26
  103. data/test/extensions_test.rb +2 -2
  104. data/test/logger_formatting_test.rb +149 -0
  105. data/test/logger_test.rb +13 -2
  106. data/test/recipes_test.rb +25 -0
  107. data/test/role_test.rb +11 -0
  108. data/test/server_definition_test.rb +15 -2
  109. data/test/shell_test.rb +33 -1
  110. data/test/ssh_test.rb +40 -24
  111. data/test/task_definition_test.rb +18 -2
  112. data/test/transfer_test.rb +168 -0
  113. data/test/utils.rb +28 -33
  114. data/test/version_test.rb +4 -17
  115. metadata +215 -100
  116. data/MIT-LICENSE +0 -20
  117. data/README +0 -43
  118. data/examples/sample.rb +0 -14
  119. data/lib/capistrano/gateway.rb +0 -131
  120. data/lib/capistrano/recipes/deploy/templates/maintenance.rhtml +0 -53
  121. data/lib/capistrano/recipes/upgrade.rb +0 -33
  122. data/lib/capistrano/upload.rb +0 -146
  123. data/test/gateway_test.rb +0 -167
  124. data/test/upload_test.rb +0 -131
data/CHANGELOG CHANGED
@@ -1,4 +1,741 @@
1
- *2.0.0* July 21, 2007
1
+ ## 2.15.9
2
+
3
+ * Continue if `HOSTROLEFILTER=` is set
4
+ * Don't treat `run()` as a parallel task in logging
5
+
6
+ ## 2.15.8 / May 30, 2016
7
+
8
+ * Empty release bump
9
+
10
+ ## 2.15.7 / May 30, 2016
11
+
12
+ * Fix subversion authentication arguments
13
+ * Fix rescue block for asset_manifest_prefix
14
+
15
+ ## 2.15.6 / June 17 2015
16
+
17
+ * Handle new Sprockets manifest name (@skaes)
18
+
19
+ ## 2.15.5 / July 4 2013
20
+
21
+ * Fix multistage argument parsing when using the `-s` option. (@jmazzi)
22
+ * Tweaks to the asset recipes. (@curtislinden)
23
+ * Use quotes around SCM usernames and passwords (@carloslopes)
24
+ * Avoid git warning when cloning Git repository using sha1 (@bpaquet)
25
+
26
+ ## 2.15.4 / April 29 2013
27
+
28
+ * Fix parallel command logging (@gnufied)
29
+ * Fix a double-asset manifest problem on Rails upgrades. (@jimryan)
30
+
31
+ ## 2.15.3 / April 25 2012
32
+
33
+ * For deploy:cleanup, use try_sudo with rm command. (@joshstaiger)
34
+ * Restore maintenance.rhtml (@chulkilee)
35
+ * Fixes GH-434, If branches is an array of array, iterate them separately. (@gnufied)
36
+
37
+ A big "thank you" to the people who've pushed really amazing patches to the
38
+ 2.15.x branch so soon after it's release. 2.15.0 was just too huge to go out
39
+ bug free.
40
+
41
+ ## 2.15.2 / April 24 2013
42
+
43
+ * Fixed a bug with asset_paths (String vs. Array). (@joeycarmello)
44
+
45
+ ## 2.15.1 / April 23 2013
46
+
47
+ * Support for Rails 4 (and other) randomised asset manifest names. (@jimryan)
48
+
49
+ ## 2.15.0 / April 23 2013
50
+
51
+ * New varaible :shared_assets_prefix to allow people to host somewhere other
52
+ than `/assets/`. Default is `assets`.
53
+ * Bring back web:enable and web:disable tasks. Sincerely apologies to all affected
54
+ removing these was one of the most glaring mistakes we've made on this project
55
+ and I feel personally responsible.
56
+ * Makes :git_shallow_clone work with branches (@cannikin)
57
+ * Avoid removing required assets (@bosko)
58
+ * Fix escaping of asset_paths when calling `deploy:finalize_update` (@mcary)
59
+ * Improve parallel command logging (@mpapis)
60
+ * Allow updating variables in the cap shell `cap> set :some_setting new_value`
61
+ (@jpfuentes2)
62
+ * Add the option to configure `Capistrano::Logger.default_formatters=` this
63
+ relates to the previous merging of the capistrano-colors gem. (@kellyredding)
64
+ * Don't attempt to connect to a nil `:gateway` (@mattheath)
65
+ * Simplify our .gemspec dependency list (@timoschilling)
66
+ * Make the existece of `config/deploy/{stage}.rb` optional, it'll be loaded if
67
+ it exists, otherwise we continue without it (@ymainier)
68
+ * Misc spelling/typo fixes. (@mv)
69
+ * Update mtime and atime with touch when fixing asset timestamps (@wildoats)
70
+ * Change call of `rake {env} precompile:all` to drop the errornous `{env}` (@zxiest)
71
+ * Evaluate assets_role at runtime using a lambda (@nlenepveu)
72
+ * Handle when hosts (for example by joining/leaving the no_release meta group)
73
+ have different old releases for `deploy:cleanup` (@oggy)
74
+ * Check for nil when tearing down connections (@yyuu)
75
+ * Go back to using SCP for uploads as against SFTP (@pjungwir)
76
+ * Added an option to dereference symlinks when using the :copy strategy
77
+ (`set :copy_dereference_symlink, true`) useful when your working directory
78
+ contains files symlinked in from outside your project root (@mehmetc)
79
+ * Small typo fix in README (@yule)
80
+ * Add Ruby 2.0.0-p0 to the TravisCI build (@jarrettmeyer)
81
+ * Add the option to set the shared asset prefix for Rails,
82
+ (`set :shared_assets_prefix, "my_shared_assets"`) corresponds with it's
83
+ namesake in Rails. By default is set to `assets`. (@spectator)
84
+ * Improved error messages for `cap {stage} deploy:check` (@petems)
85
+ * Make `run_locally` work with the `--dry-run` flag. (@flagthisiskun)
86
+ * Fix a link in the README to writing a good commit message. (@mhutchin)
87
+ * Code style fixes (@mv)
88
+ * Report differently if the command was killed by a signal (for example the
89
+ oom killer on Ubuntu/Debian). (@tanob)
90
+
91
+
92
+ ## 2.14.0 / January 9 2013
93
+
94
+ * Removed ui.output_cols limit of 80 chars (@aussielunix)
95
+ * Added :p4charset variable for Perforce command line (@randyinla)
96
+ * Added support for rolling back assets, and removing expired assets (@ndbroadbent)
97
+ * Merged in `capistrano_colors` gem, and renamed to 'log_formatters', since it does much more than just colors
98
+ (@ndbroadbent)
99
+ * Use more intelligence in setting the :scm variable based on known version control directory names (@czarneckid)
100
+ * Remove the deploy:web:{disable, enable} tasks (@carsomyr)
101
+ * Group finalize_update shell commands into one command, harden shell calls with #shellescape, and separate arguments
102
+ with -- (@ndbroadbent)
103
+
104
+ ## 2.13.0 / August 21 2012
105
+
106
+ This release contains multiple bugfixes and handling of exotic situations. The
107
+ `Configuration#capture` method should now work in spite of `ActiveSupport`
108
+ shenanigans. Thank you, the community, for all of your contributions:
109
+
110
+ * Close input streams when sending commands that don't read input. Dylan Smith
111
+ (dylanahsmith)
112
+ * Listen for method definition on `Kernel` and undefine on `Namespace`. Chris
113
+ Griego (cgriego)
114
+ * Fixed shell `Thread.abort_on_exception` bug. George Malamidis (nutrun)
115
+ * Adding a log method to `Capistrano::Deploy::SCM::None` to maintain
116
+ consistency with other SCM classes. Kevin Lawver (kplawver)
117
+ * Add deprecation warning if someone uses old `deploy:symlink` syntax on
118
+ callbacks. Ken Mazaika (kenmazaika)
119
+ * Simplify the `finalize_update` code by respecting the `:shared_children`
120
+ variable during removal and recreation of the parent. John Knight
121
+ (knightlabs)
122
+
123
+ ## 2.12.0 / April 13 2012
124
+
125
+ This release reverts the very verbose logging introduced in the previous version, it also
126
+ enables a handful of power-user features which are largely un-documented, but shouldn't be
127
+ important unless you are looking for them. Undocumented code shouldn't scare you, simply
128
+ read through deploy.rb in the Gem if you want to know how a new feature works!
129
+
130
+ * Update mapped commands to remove symlink deprecation warning. Despo Pentara (despo)
131
+ * Add the "rpm" remote dependency. Nick Hoffman (nickhoffman)
132
+ * Add commented deploy:cleanup task to default recipe. Jean-Philippe Doyle (j15e)
133
+ * Teach deploy:web:enable to fail gracefully. Lee Marlow (lmarlow)
134
+ * Ticket 193 alias task show wrong name when it is not overridden. Rafa García (rgo)
135
+ * Allow configuration of which roles assets are precompiled on. Frederick Cheung (fcheung)
136
+ * Fix transfer action to honor dry-run flag. Serg Podtynnyi (shtirlic)
137
+ * Changed single to double quotes for Windows, fixes a Windows bug in the HG module. Matthew J Morrison (mattjmorrison)
138
+ * Add UnsharedRemoteCache (copied from eycap gem). Ben Symonds (bensymonds)
139
+
140
+ As ever, a sincere thanks to all contributors, and do not hesitate to contact me if this
141
+ release causes problems for you.
142
+
143
+ ## 2.11.0 / Febuary 20 2012
144
+
145
+ This release replaces and fixes a broken 2.10.0 release (see below for
146
+ information)
147
+
148
+ This release includes all fixes as documented for 2.10.0, plus additional code
149
+ cleanup (SHA: 3eecac2), as well as changing the public API from
150
+ `deploy:symlink`, to `deploy:create_symlink`
151
+
152
+ * Remove a testing dependency on `ruby-debug` (Lee Hambley, reported by Serg
153
+ Podtynnyi)
154
+
155
+ * Formerly deprecate `deploy:symlink`, this move was prompted by the Rake
156
+ namespace fiasco of their 0.9.0 release, and is replaced by
157
+ `deploy:create_symlink`. If you are looking for a place to hook asset related
158
+ tasks, please consider `deploy:finalize_update`. Replaced by
159
+ `deploy:create_symlink`, `deploy:symlink` now raises a deprecation warning,
160
+ and defers to `deploy:symlink`. (Lee Hambley)
161
+
162
+ * Update the 2.10.0 changelog. (Lee Hambley, reported by Jérémy Lecour)
163
+
164
+ ## 2.10.0 / Febuary 19 2012
165
+
166
+ If you are reading this after Febuary 20th 2012, do not be surprised when you
167
+ cannot find 2.10.0 on Rubygems.org, it has been removed because of a breaking
168
+ API change. It is replaced logically enough by 2.11.0 where the API is still
169
+ changed, but now issues a warning and falls back to the expected behaviour.
170
+
171
+ The CHANGELOG for this release was updated retrospectively, I'm sorry I missed
172
+ that when releasing the gem, 2.10.0 apparently not my finest hour as a
173
+ maintainer.
174
+
175
+ Ths fixes in this release include
176
+
177
+ * Include sample NGinx config for `deploy:web:disable`(added by Roger Ertesvåg)
178
+
179
+ * Fix gemspec time format warning (reported by Tony Arcieri, fixed by building the Gem against Ruby-1.9.3)
180
+
181
+ * Finally removed deprecated `before_` and `after_` tasks. (Lee Hambley)
182
+
183
+ * Rake 0.9.x compatibility (reported by James Miller, fixed by Lee Hambley)
184
+
185
+ * More detailed logging output (fixed by Huang Liang)
186
+
187
+ * Includes multistage, without `capistrano-ext`. `require 'capistrano/ext/multistage'` (fixed by Lee Hambley)
188
+
189
+ ## 2.9.0 / September 24 2011
190
+
191
+ A vairly heavy release, including some new features which most of you won't
192
+ need, but power users have contributed, this also marks the beginning of the
193
+ end of the 2.x series, more information will follow in due course, but with
194
+ the proliferation of Bundler, and better ways to do deployment, we will be
195
+ introducing heavier changes to Capistrano to keep the tool current.
196
+
197
+ **Please note, following some reported problems with the asset pipeline code
198
+ being not found, remember Capistrano needs to be in your Gemfile, and as such
199
+ needs to be run with Bundler, otherwise you risk loading a system-wide version
200
+ of Capistrano who's behaviour might be different from that specified in your
201
+ Gemfile. This is also good practice because much of the deploy logic resides
202
+ in the Gem, and you wouldn't want that to change without your knowledge. Rails
203
+ applications include Cap in the Gemfile anyway, you should follow this
204
+ convention.**
205
+
206
+ * find_servers() will no longer raise if there are no servers, this behaviour
207
+ can be modified by way of the `:on_no_matching_servers` option. Thanks to
208
+ `@ppgengler`.
209
+
210
+ * Short Git SHA1 fragments are now supported in commands such as `cap deploy
211
+ -s revision=d7e99f` thanks to `@ndbroadbent`.
212
+
213
+ * One can now specify individual SCM commands by setting
214
+ `:scm_arguments_<command_name>`. Thanks to `@alextk`.
215
+
216
+ * Travis CI build now passes thanks to @andrew, build tested against MRI
217
+ `1.8.7`. `1.9.2` and `REE`.
218
+
219
+ * Support for Perforce labels, I don't know much about this, but I believe
220
+ it's much like deploying a Git tag, thanks to `@ak47`.
221
+
222
+ * Git SCM now correctly adheres to the `:scm_verbose` setting. Thanks
223
+ `@dubek`.
224
+
225
+ * `set()` can now be used to set a `false` value, previously this was a no-op.
226
+ Thanks to `@nilbus`.
227
+
228
+ * Support for Git 1.6x submodules, The Git SCM strategy now queries Git on the
229
+ server-side to ensure it supports the `--recursive` flag, if it doesn't then
230
+ it will fall back to using the long-hand. Many thanks to all those involved in
231
+ the discussion surrounding this topic, and to `@nilbus` for a beautifully
232
+ clean solution which doesn't hold us back.
233
+
234
+ * When using `:cached_copy` with Subversion, use `svn switch` to for more
235
+ reliable switching of branches/etc. Thanks to `@iGEL` for the patch that we
236
+ accepted finally, and to `@richmeyers` who also submitted a patch and
237
+ contributed to the discssion.
238
+
239
+ Other cleanups and minor improvements to the code and tests were committed by yours truly
240
+ (@leehambley), @maxim, @ak47 and @andrew).
241
+
242
+ ## 2.8.0 / August 3 2011
243
+
244
+ A short release, after the last. Announcing Rails 3.1 asset pipeline support.
245
+
246
+ The asset pipeline support requires an additiona `load` in your `Capfile`.
247
+
248
+ You can see information pertaining to the pull request, including the inline
249
+ comments here: https://github.com/capistrano/capistrano/pull/35
250
+
251
+ Documentation will be available soon in the wiki.
252
+
253
+ * Drop-In Rails 3.1 asset pipeline support. (Chris Griego)
254
+
255
+ ## 2.7.0 / August 3 2011
256
+
257
+ A fairly substantial release. There are fixes so that current_release works
258
+ during dry-runs, (although, apparently still not with bundler.)
259
+
260
+ The test-suite was also modified to work with Ruby 1.9.2, except in one case
261
+ where Ruby 1.9.x calls `to_ary` and `to_a` on mocks, which still makes an
262
+ error. 1.9.x has always been supported, but due to lack of maintenance on my
263
+ part the tests didn't ever pass.
264
+
265
+ The `start`, `stop` and `restart` tasks have been reduced to mere hooks into
266
+ which extensions can define their own functionality.
267
+
268
+ The `readme` was also slightly improved, simply tweaks to express how best to
269
+ run the test suite.
270
+
271
+ * Ensure dry-run works with `:current_release` variable (Carol Nichols)
272
+ * Added a new variable `:git_submodules_recursive`, setting the value to false
273
+ will ensure Git doesn't recursively initialize and checkout submodules. (Konstantin Kudryashov)
274
+ * Added an additional task option, `:on_no_matching_servers`, setting the
275
+ value to `:continue` will ensure tasks with no matched servers continue
276
+ without error, instead of raising `Capistrano::NoMatchingServersError` as was
277
+ the previous behaviour. (Chris Griego)
278
+
279
+ A huge thanks to all contributors, as always!
280
+
281
+ Remember: @capistranorb on twitter for news.
282
+
283
+ ## 2.6.1 / June 25 2011
284
+
285
+ A short maintenance release, Some fixes to the verbose flag inside the Git SCM
286
+ as well as another argument for the (internal) `variable()` command, offering
287
+ a default. The Git SCM is now verbose by default, but can be disabled by
288
+ setting `:scm_verbose` to false.
289
+
290
+ There has been an additional method added to string, within the context of the
291
+ test suite, I'm always sketchy about adding additional methods to core
292
+ classes, but it's a short term fix until I make the time to patch the test
293
+ suite not to compare strings literally. The method is `String#compact`, and is
294
+ implemented simply as `self.gsub(/\s+/, ' ')`.
295
+
296
+ Here's the run-down of changes, and their committers, as always - a huge thank
297
+ you to the community that continues to drive Capistrano's development.
298
+
299
+ * `deploy:setup` now respects `:group_writable` (Daniel Duvall)
300
+ * Fixes to `:scm_verbose` for the Git module (defaults to On.) (Matthew Davies)
301
+ * Will now copy hidden files in the project's root into the release
302
+ directory (Mark Jaquith)
303
+ * Now handles closing already-dead connections in a sane way (does not raise
304
+ an exception) (Will Bryant)
305
+ * Renamed `Capistrano::VERSION::TINY` to `Capistrano::VERSION::PATCH` (Lee
306
+ Hambley)
307
+ * Removed the `VERSION` file (Lee Hambley)
308
+
309
+ ## 2.6.0 / May 3 2011
310
+
311
+ A rather large release, feature-version bump because of the new
312
+ multiple-gateways feature as implemented by Ryan Duryea (way to go!)
313
+
314
+ Please also note from this release that if you use Git submodules, the
315
+ Git-version requirement for the new implementation is now >= 1.5.6, from
316
+ previously un-documented. (1.5.6 is new-enough that I think this is
317
+ acceptable)
318
+
319
+ * Upgrade Net::SSH-gateway dependency to 1.1 (fixes a thread-deadlocking bug on MRI 1.9)
320
+ * Respect "dry-run" on transfer methods (Florian Frank)
321
+ * Add support for multiple gateways: (Ryan Duryea)
322
+ set :gateway, {
323
+ 'gate1.example.com' => 'server1.example.com',
324
+ [ 'gate2.example.com', 'gate3.example.com' ] => [ 'server5.example.com', 'server6.example.com' ]
325
+ }
326
+ * Properly support nested Git submodules, moves Git requirement to >= 1.5.6 [if you rely upon submodules] (Ken Miller)
327
+ * Fetch tags into the remote cache, allows deploying a tag when using Git, with the remote_cache strategy (Florian Frank)
328
+ * Various fixes to path handling bugs in the copt strategy. (Philippe Rathé)
329
+
330
+ ## 2.5.21 / April 6 2011
331
+
332
+ * Fixed to follow best-practice guidelines from Bundler (Ben Langfeld)
333
+ * No longer force a gemset for Capistrano development. (Ben Langfeld)
334
+
335
+ ## 2.5.20 / March 16 2011
336
+
337
+ * `deploy:migrations` will now always operate on the latest_release, not
338
+ current_release (Mike Vincent)
339
+ * Adds a check for the presence of `rsync` when using the copy strategy with `rsync`. (Chris Griego)
340
+ * Do not try to look up the `:release_path` on servers which are defined `:no_release` (Chris Griego)
341
+ * Tiny patch to the `CVS` SCM code to be Ruby 1.9 compatible (Martin Carpenter)
342
+ * Changed the default `Git` submodule behaviour to use `--recursive`, Lighthouse Issue #176. (Lee Hambley)
343
+ * `:public_children` can now be `set()`, the default is unchanged, thanks (Chris Griego)
344
+ * Fixing the load path in the default `Capfile` to search vendored/unpacked Gems. Lighthouse Issue #174 (Mari Carmen/Rafael García)
345
+ * Adds a `maintenance_basename` variable (default value is `maintenance`) to allow you to set the maintenance page name (Celestino Gomes)
346
+ * Spelling fixes in inline-documentation (Tom Copeland)
347
+ * Make `zip` and `tar` handle symlinks the same way (zip follows symlinks by default, tar needs the option `-h`) (Ross Cooperman)
348
+
349
+ ## 2.5.19 / June 21, 2010
350
+
351
+ * Small bug fixes, no improvements for people who weren't experiencing problems anyway.
352
+
353
+ ## 2.5.18 / March 14, 2010
354
+
355
+ Small fix for rolling back if a shell scripts exits non-zero; enabled a rollback if git (or other) externals fail during the deploy.
356
+
357
+ * #151 check return code status of system command to create local copy and rollback if not 0 (David King)
358
+
359
+ ## 2.5.17 / February 27, 2010
360
+
361
+ Various small bug fixes.
362
+
363
+ ## 2.5.16 / February 14, 2010
364
+
365
+ Fixed a small regression in 2.5.15
366
+
367
+ ## 2.5.15 / 14 February 2010
368
+
369
+ Fixes a feature request not to overwrite roles when using the ROLES environmental variable.
370
+
371
+ * #126 - The option to not overwriting the roles which are defined in the task definition.
372
+ * Removed the `upgrade` file as it has been a couple of years since 1.x was in the wild.
373
+ * Slight internal re-factor of the way we calculate the `version`
374
+
375
+ ## 2.5.14 / 18 January 2010
376
+
377
+ Fixes a low-value bug, thanks to Chris G for the well submitted patch:
378
+
379
+ * #139 - Improves consistency of variable lookup, scm variables with a local_ prefix will be honoured with priority locally (Chris Griego)
380
+
381
+ ## 2.5.13 / 6 January 2010
382
+
383
+ * Small maintenance release:
384
+
385
+ * #118 - Modified CLI test to not load user or system configuration file (Emily Price)
386
+ * #88 - Re-fixed a problem here, massive apologies to all concerned. (Hangover from 2.5.12)
387
+
388
+ ## 2.5.12 / 5 January 2010
389
+
390
+ * Tweak the directory version listing (caused a lot of problems, please upgrade immediately)
391
+
392
+ ## 2.5.11 / December 2009
393
+
394
+ * Deprecations and other small changes
395
+
396
+ ## 2.5.10 / 3 November 2009
397
+
398
+ * Fixes Darcs remote repository problem when using the copy strategy [Alex `regularfry` Young]
399
+ * Documentation improvements for embedding Capistrano [Lee Hambley]
400
+ * Fixes ticket #95 -formally deprecating the before_something and after_something methods [Lee Hambley]
401
+
402
+ ## 2.5.9 / 1 August 2009
403
+
404
+ * Adds support for customizing which `tar` command to use. [Jeremy Wells]
405
+
406
+ * Fixes a couple of documentation problems, typos and worse. [Lee Hambley]
407
+
408
+ * #105 - Add skip_hostfilter option to find_servers() [Eric]
409
+ * #103 - Using non-master branch fails with Ruby 1.9 [Suraj Kurapati]
410
+ * #96 - Tweak for 1.9 Compatibility
411
+ * #79 - Capistrano hangs on shell command for many computers
412
+ * #77 - Copy command doesn't work on Solaris due to tar/gtar
413
+ * #76 - Invalid Subversion URL
414
+ * Improved web:disable task, now suggests a .htaccess block to use suggested by Rafael García
415
+ * Includes more logger options (can now select stdout, stderr of a file) [Rafael García]
416
+
417
+ ## 2.5.8 / July 2009
418
+
419
+ * Fixes a problem in 2.5.7 where deploy:finalize_update had been badly merged.
420
+
421
+ ## 2.5.6 & 2.5.7 / July 2009
422
+
423
+ * 2.5.7 masks a broken 2.5.6 release that was accidentally mirrored via Rubyforge.
424
+
425
+ * Clean the cached git repository [Graeme Mathieson]
426
+
427
+ * Fixes perforce issues reported at http://bit.ly/wt0es [Scott Johnson]
428
+
429
+ * Improved back-tick handling code in relation to the above.
430
+
431
+ * Fixes a Git issue when submodules update upstream. (via mailing list) [sneakin]
432
+
433
+ * Capify now creates the config directory in directories without one.
434
+
435
+ ## 2.5.5 / 24 Feb 2009
436
+
437
+ * Make sure role(:foo) actually declares an (empty) role for :foo, even without server arguments [Jamis Buck]
438
+
439
+
440
+ ## 2.5.4 / 4 Feb 2009
441
+
442
+ * When using rsync with the remote_cache strategy include -t switch to preserve file times [Kevin McCarthy]
443
+
444
+ * Bump Net::SSH dependency to version 2.0.10 [Jamis Buck]
445
+
446
+ * Use 'user' from .ssh/config appropriately [Jamis Buck]
447
+
448
+ * Allow respond_to?() method to accept optional second parameter (include_priv) [Matthias Marschall]
449
+
450
+ * Make sure sudo prompts are retried correctly even if "try again" and the prompt appear in the same text chunk from the server [Jamis Buck]
451
+
452
+ * Add supported environment variables to -H output [François Beausoleil]
453
+
454
+
455
+ ## 2.5.3 / December 6, 2008
456
+
457
+ * Make previous_release return nil if there is no previous release [Mathias Meyer]
458
+
459
+ * Play nice with rubies that don't inspect terminals well (ie. JRuby) by defaulting screen columns to 80 [Bob McWhirter]
460
+
461
+ * Rollback of deploy:symlink would explode if there was no previous revision to rollback to [Jamis Buck]
462
+
463
+ * Fix bug in transfer.rb that caused get/put/upload/download to ignore blocks passed to them [arika]
464
+
465
+ * Fix issue with git SCM that caused "Unable to resolve revision" errors when there was trailing whitespace in git's output [Mark Zuneska, Daniel Berlinger and Evan Closson]
466
+
467
+
468
+ ## 2.5.2 / November 13, 2008
469
+
470
+ * Fix issue with git SCM that caused "Unable to resolve revision for 'HEAD'" errors on deploy [Jamis Buck]
471
+
472
+
473
+ ## 2.5.1 / November 7, 2008
474
+
475
+ * Add -t (--tools) switch for better task lists for external tools [Jamis Buck]
476
+
477
+ * Make the RemoteDependency#try method use invoke_command instead of run, for sudo-ability [Matthias Marschall]
478
+
479
+ * Make locally executed commands in Windows more Windows-friendly [esad@esse.at]
480
+
481
+ * Added :scm_arguments variable for custom SCM arguments (subversion-only, currently) [David Abdemoulaie]
482
+
483
+ * Don't emit -p for sudo when :sudo_prompt is blank [Matthias Marschall]
484
+
485
+ * Copy symlinks when using rsync [Paul Paradise]
486
+
487
+ * Make sure git query-revision matches on exact branch name [grant@nightriot.com]
488
+
489
+ * Use -T <arg> to filter listed tasks by a pattern [Mathias Meyer, Geoffrey Grosenbach]
490
+
491
+ * Expose the #scm method on SCM::Base for building custom scm commands [Mathias Meyer]
492
+
493
+ * Start logging some locally executed commands [springyweb]
494
+
495
+ * Added HOSTFILTER environment variable for constraining tasks so they run only on hosts matching the given list of servers [Walter Smith]
496
+
497
+ * Make sure the glob matching for copy excludes does not delete parent directories [Fabio Akita]
498
+
499
+ * Ruby 1.9 compatibility [Jamis Buck]
500
+
501
+
502
+ ## 2.5.0 / August 28, 2008
503
+
504
+ * Allow :gateway to be set to an array, in which case a chain of tunnels is created [Kerry Buckley]
505
+
506
+ * Allow HOSTS spec to override even non-existent roles [Mike Bailey]
507
+
508
+ * Sort releases via "ls -xt" instead of "ls -x" to allow for custom release names [Yan Pritzker]
509
+
510
+ * Convert arguments to -s and -S into integers, booleans, etc. based on whether the arguments appear to be those types [Jamis Buck]
511
+
512
+ * Add descriptions of -n and -d to the verbose help text [Jamis Buck]
513
+
514
+ * Make rollbacks work with processes that need the current directory to be valid in order to restart properly (e.g. mongrel_rails) [Jamis Buck]
515
+
516
+ * Rename deploy:rollback_code to deploy:rollback:code [Jamis Buck]
517
+
518
+ * Added parallel() helper for executing multiple different commands in parallel [Jamis Buck]
519
+
520
+ * Make sure a task only uses the last on_rollback block, once, on rollback [Jamis Buck]
521
+
522
+ * Add :shared_children variable to customize which subdirectories are created by deploy:setup [Jonathan Share]
523
+
524
+ * Allow filename globbing in copy_exclude setting for the copy strategy [Jonathan Share]
525
+
526
+ * Allow remote_cache strategy to use copy_exclude settings (requires rsync) [Lewis Mackenzie]
527
+
528
+ * Make None SCM module work in Windows [Carlos Kozuszko]
529
+
530
+ * Recognize mingw as a Windows platform [Carlos Kozuszko]
531
+
532
+ * Fixed failing tests in Windows [Carlos Kozuszko]
533
+
534
+ * Made :scm_auth_cache control whether password option is emitted in subversion module [Brendan Schwartz]
535
+
536
+ * Fixed timestamp bug in CVS module [Jørgen Fjeld]
537
+
538
+ * Added -n/--dry-run switch, to display but not execute remote tasks [Paul Gross]
539
+
540
+
541
+ ## 2.4.3 / June 28, 2008
542
+
543
+ * Fix gem dependencies so gem actually understands them [Jamis Buck]
544
+
545
+
546
+ ## 2.4.2 / June 27, 2008
547
+
548
+ * Specify gem dependencies in rakefile [Jamis Buck]
549
+
550
+
551
+ ## 2.4.1 / June 27, 2008
552
+
553
+ * Use Echoe to manage the Rakefile [Jamis Buck]
554
+
555
+ * Let Net::SSH manage the default SSH port selection [Ben Lavender]
556
+
557
+ * Changed capture() helper to not raise an exception on error, but to warn instead [Jeff Forcier]
558
+
559
+
560
+ ## 2.4.0 / June 13, 2008
561
+
562
+ * Added :normalize_asset_timestamps option to deployment, defaulting to true, which allows asset timestamping to be disabled [John Trupiano]
563
+
564
+
565
+ ## 2.4.0 Preview Release #1 (2.3.101) / June 5, 2008
566
+
567
+ * Only make deploy:start, deploy:stop, and deploy:restart try sudo as :runner. The other sudo-enabled tasks (deploy:setup, deploy:cleanup, etc.) will now use the :admin_runner user (which by default is unset). [Jamis Buck]
568
+
569
+ * Make sure triggers defined as a block inherit the scope of the task they are attached to, instead of the task they were called from [Jamis Buck]
570
+
571
+ * Make deploy:upload use the upload() helper for more efficient directory processing [Jamis Buck]
572
+
573
+ * Make deploy:upload accept globs [Mark Imbriaco]
574
+
575
+ * Make sure the host is reported with the output from scm_run [Jamis Buck]
576
+
577
+ * Make git SCM honor the :scm_verbose option [Jamis Buck]
578
+
579
+ * Don't follow symlinks when using :copy_cache [Jamis Buck]
580
+
581
+ * If :mode is given to upload() helper, do a chmod after to set the mode [Jamis Buck]
582
+
583
+ * Fix load_from_file method for windows users [Neil Wilson]
584
+
585
+ * Display a deprecation error if a remote git branch is specified [Tim Harper]
586
+
587
+ * Fix deployment recipes to use the updated sudo helper [Jamis Buck]
588
+
589
+ * Enhance the sudo helper so it can be used to return the command, instead of executing it [Jamis Buck]
590
+
591
+ * Revert "make sudo helper play nicely with complex command chains", since it broke stuff [Jamis Buck]
592
+
593
+ * Make set(:default_shell, false) work for not using a shell on a per-command basis [Ryan McGeary]
594
+
595
+ * Improved test coverage [Ryan McGeary]
596
+
597
+ * Fixed "coverage" take task [Ryan McGeary]
598
+
599
+ * Use upload() instead of put() with the copy strategy [Jamis Buck]
600
+
601
+ * Revert the "git fetch --tags" change, since it didn't work as expected [Jamis Buck]
602
+
603
+ * Fix deploy:pending when using git SCM [Ryan McGeary]
604
+
605
+ * Make sure deploy:check works with :none scm (which has no default command) [Jamis Buck]
606
+
607
+ * Add debug switch for enabling conditional execution of commands [Mark Imbriaco]
608
+
609
+
610
+ ## 2.3.0 / May 2, 2008
611
+
612
+ * Make deploy:setup obey the :use_sudo and :runner directives, and generalize the :use_sudo and :runner options into a try_sudo() helper method [Jamis Buck]
613
+
614
+ * Make sudo helper play nicely with complex command chains [Jamis Buck]
615
+
616
+ * Expand file-transfer options with new upload() and download() helpers. [Jamis Buck]
617
+
618
+ * Allow SCP transfers in addition to SFTP. [Jamis Buck]
619
+
620
+ * Use Net::SSH v2 and Net::SSH::Gateway. [Jamis Buck]
621
+
622
+ * Added #export method for git SCM [Phillip Goldenburg]
623
+
624
+ * For query_revision, git SCM used git-rev-parse on the repo hosting the Capfile, which may NOT be the same tree as the actual source reposistory. Use git-ls-remote instead to resolve the revision for checkout. [Robin H. Johnson]
625
+
626
+ * Allow :ssh_options hash to be specified per server [Jesse Newland]
627
+
628
+ * Added support for depend :remote, :file to test for existence of a specific file [Andrew Carter]
629
+
630
+ * Ensure that the default run options are mixed into the command options when executing a command from the cap shell [Ken Collins]
631
+
632
+ * Added :none SCM module for deploying a specific directory's contents [Jamis Buck]
633
+
634
+ * Improved "copy" strategy supports local caching and pattern exclusion (via :copy_cache and :copy_exclude variables) [Jamis Buck]
635
+
636
+
637
+ ## 2.2.0 / February 27, 2008
638
+
639
+ * Fix git submodule support to init on sync [halorgium]
640
+
641
+ * Add alternative server-centric role definition method [James Duncan Davidson]
642
+
643
+ * Add support for password prompts from the Mercurial SCM [ches]
644
+
645
+ * Add support for :max_hosts option in task definition or run() [Rob Holland <rob@inversepath.com>]
646
+
647
+ * Distributed git support for better operability with remote_cache strategy [voidlock]
648
+
649
+ * Use a default line length in help text if line length is otherwise too small [Jamis Buck]
650
+
651
+ * Fix incorrect reference to the 'setup' task in task documentation [rajeshduggal]
652
+
653
+ * Don't try to kill the spawner process on deploy:stop if no spawner process exists [Jamis Buck]
654
+
655
+ * Dynamic roles (e.g. role(:app) { "host.name" }) [dmasover]
656
+
657
+ * Implement Bzr#next_revision so that pending changes can be reported correctly [casret]
658
+
659
+ * Use a proper export command for bzr SCM [drudru]
660
+
661
+ * Use checkout instead of merge for git SCM [nuttycom]
662
+
663
+ * Fix typo in Subversion SCM module, encountered when an update fails [kemiller]
664
+
665
+ * Fix documentation typo in upload.rb [evolving_jerk]
666
+
667
+ * Added test case to show that the :scm_command is honored by the git SCM module [grempe]
668
+
669
+ * Fail gracefully when double-colons are used to delimit namespaces [richie]
670
+
671
+ * Add support for :git_enable_submodules variable, to enable submodules with the git SCM [halorgium]
672
+
673
+ * If subversion asks for a password, prompt as a last resort [Jamis Buck]
674
+
675
+ * Use checkout --lightweight for bzr checkout, instead of branch [michiels]
676
+
677
+ * Make sure bzr SCM works when revision is head (or unspecified) [michiels]
678
+
679
+ * Support p4sync_flags and p4client_root variables for Perforce [gseidman]
680
+
681
+ * Prepare for Net::SSH v2 by making sure Capistrano only tries to load Net::SSH versions less than 1.99.0 [Jamis Buck]
682
+
683
+
684
+ ## 2.1.0 / October 14, 2007
685
+
686
+ * Default to 0664 instead of 0660 on upload [Jamis Buck]
687
+
688
+ * Fix deploy:pending to query SCM for the subsequent revision so that it does not include the last deployed change [Jamis Buck]
689
+
690
+ * Prefer 'Last Changed Rev' over 'Revision' when querying latest revision via Subversion [Jamis Buck]
691
+
692
+ * Explicitly require 'stringio' in copy_test [mislav]
693
+
694
+ * When Subversion#query_revision fails, give a more sane error [Jamis Buck]
695
+
696
+ * Don't run the upgrade:revisions task on non-release servers [Jamis Buck]
697
+
698
+ * Fix cap shell to properly recognize sudo prompt [Mark Imbriaco, barnaby, Jamis Buck]
699
+
700
+ * Git SCM module [Garry Dolley, Geoffrey Grosenbach, Scott Chacon]
701
+
702
+ * Use the --password switch for subversion by default, but add :scm_prefer_prompt variable (defaults to false) [Jamis Buck]
703
+
704
+
705
+ ## 2.0.100 (2.1 Preview 1) / September 1, 2007
706
+
707
+ * capify-generated Capfile will autoload all recipes from vendor/plugins/*/recipes/*.rb [Graeme Mathieson]
708
+
709
+ * Use sudo -p switch to set sudo password prompt to something predictable [Mike Bailey]
710
+
711
+ * Allow independent configurations to require the same recipe file [Jamis Buck]
712
+
713
+ * Set :shell to false to run a command without wrapping it in "sh -c" [Jamis Buck]
714
+
715
+ * Don't request a pty by default [Jamis Buck]
716
+
717
+ * Add a "match" remote dependency method [Adam Greene]
718
+
719
+ * Allow auth-caching of subversion credentials to be enabled via :scm_auth_cache [tsmith]
720
+
721
+ * Don't let a task trigger itself when used as the source for an "on" hook [Jamis Buck]
722
+
723
+ * Avoid using the --password switch with subversion for security purposes [sentinel]
724
+
725
+ * Add version_dir, current_dir, and shared_dir variables for naming the directories used in deployment [drinkingbird]
726
+
727
+ * Use Windows-safe binary reads for reading file contents [Ladislav Martincik]
728
+
729
+ * Add Accurev SCM support [Doug Barth]
730
+
731
+ * Use the :runner variable to determine who to sudo as for deploy:restart [Graham Ashton]
732
+
733
+ * Add Namespaces#top to always return a reference to the topmost namespace [Jamis Buck]
734
+
735
+ * Change the "-h" output so that it does not say that "-q" is the default [Jamis Buck]
736
+
737
+
738
+ ## 2.0.0 / July 21, 2007
2
739
 
3
740
  * Make the "no matching servers" error more sane [halorgium]
4
741
 
@@ -27,7 +764,7 @@
27
764
  * Spelling corrections in docs [Tim Carey-Smith, Giles Bowkett]
28
765
 
29
766
 
30
- *1.99.3 (2.0 Preview 4)* June 28, 2007
767
+ ## 1.99.3 (2.0 Preview 4) / June 28, 2007
31
768
 
32
769
  * Don't break task descriptions on a period that appears in the middle of a sentence [Jamis Buck]
33
770
 
@@ -60,8 +797,8 @@
60
797
  * Make sure symlink and finalize_update tasks reference the most recent release when called by themselves [Jamis Buck]
61
798
 
62
799
 
63
- *1.99.2 (2.0 Preview 3)* June 15, 2007
64
-
800
+ ## 1.99.2 (2.0 Preview 3) / June 15, 2007
801
+
65
802
  * CVS SCM module [Brian Phillips]
66
803
 
67
804
  * Fix typo in Perforce SCM module [Chris Bailey]
@@ -85,7 +822,7 @@
85
822
  * Add :default_environment variable, which is applied to every command
86
823
 
87
824
 
88
- *1.99.1 (2.0 Preview 2)* May 10, 2007
825
+ ## 1.99.1 (2.0 Preview 2) / May 10, 2007
89
826
 
90
827
  * Fix some documentation typos [eventualbuddha]
91
828
 
@@ -120,7 +857,7 @@
120
857
  * Make the copy strategy check out to a temporary directory [Jamis Buck]
121
858
 
122
859
 
123
- *1.99.0 (2.0 Preview 1)* April 24, 2007
860
+ ## 1.99.0 (2.0 Preview 1) / April 24, 2007
124
861
 
125
862
  * Add `capify' script to make it easier to prepare a project for deployment using cap [Jamis Buck]
126
863
 
@@ -141,7 +878,7 @@
141
878
  * Merged the Configuration and Actor classes, performed various other massive refactorings of the code [Jamis Buck]
142
879
 
143
880
 
144
- *1.4.1* (February 24, 2007)
881
+ ## 1.4.1 / February 24, 2007
145
882
 
146
883
  * Use the no-auth-cache option with subversion so that username/password tokens do not get cached by capistrano usage [jonathan]
147
884
 
@@ -152,7 +889,7 @@
152
889
  * Add :env option to 'run' (and friends) so that you can specify environment variables to be injected into the new process' environment [Mathieu Lajugie]
153
890
 
154
891
 
155
- *1.4.0* (February 3, 2007)
892
+ ## 1.4.0 / February 3, 2007
156
893
 
157
894
  * Use the auth info for subversion more consistently [Jamis Buck]
158
895
 
@@ -179,12 +916,12 @@
179
916
  * Fix off-by-one bug in show_tasks width-computation [NeilW]
180
917
 
181
918
 
182
- *1.3.1* (January 5, 2007)
919
+ ## 1.3.1 / January 5, 2007
183
920
 
184
921
  * Fix connection problems when using gateways [Ezra Zygmuntowicz]
185
922
 
186
923
 
187
- *1.3.0* (December 23, 2006)
924
+ ## 1.3.0 / December 23, 2006
188
925
 
189
926
  * Deprecate rake integration in favor of invoking `cap' directly [Jamis Buck]
190
927
 
@@ -215,7 +952,7 @@
215
952
  * Added :as option to sudo, so you can specify who the command is executed as [Mark Imbriaco]
216
953
 
217
954
 
218
- *1.2.0* (September 14, 2006)
955
+ ## 1.2.0 / September 14, 2006
219
956
 
220
957
  * Add experimental 'shell' task [Jamis Buck]
221
958
 
@@ -271,7 +1008,7 @@
271
1008
  on_rollback { run "ln -nfs #{previous_release} #{current_path}" }
272
1009
  run "ln -nfs #{current_release} #{current_path}"
273
1010
  end
274
-
1011
+
275
1012
  cap symlink # will not run on 192.168.0.3
276
1013
 
277
1014
  * Deprecate the -r/--recipe switch in favor of -f/--file (for more make/rake-like semantics) [Jamis Buck]
@@ -287,7 +1024,7 @@
287
1024
  task :setup, :roles => [ :app, :web, :db ]
288
1025
  # normally this would run every where
289
1026
  end
290
-
1027
+
291
1028
  ROLES=app cap setup # this will only run for the app role, overwritting the default declaration
292
1029
 
293
1030
  * Added :hosts option to task definition that allows you to specify cross-cutting tasks [DHH]. Example:
@@ -299,7 +1036,7 @@
299
1036
  * Fix operator precedence problem in script for touching the revisions.log #3223 [jason.garber@emu.edu]
300
1037
 
301
1038
 
302
- *1.1.0* (March 6th, 2006)
1039
+ ## 1.1.0 / March 6th, 2006
303
1040
 
304
1041
  * Simplify the generated capistrano.rake file, and make it easier to customize
305
1042
 
@@ -312,12 +1049,12 @@
312
1049
  * Look for config/deploy.rb, capfile, and Capfile by default
313
1050
 
314
1051
 
315
- *1.0.1* (February 20th, 2006)
1052
+ ## 1.0.1 / February 20th, 2006
316
1053
 
317
1054
  * Fix broken switchtower_invoke function in switchtower.rake (missing require statement)
318
1055
 
319
1056
 
320
- *1.0.0* (Feburary 18th, 2006)
1057
+ ## 1.0.0 / Feburary 18th, 2006
321
1058
 
322
1059
  * Make CVS module's :local value default to "."
323
1060
 
@@ -366,7 +1103,7 @@
366
1103
  * Set :actor key on SSH channel instances
367
1104
 
368
1105
 
369
- *0.10.0* (January 2nd, 2006)
1106
+ ## 0.10.0 / January 2nd, 2006
370
1107
 
371
1108
  * Handle ssh password prompts like "someone's password:"
372
1109
 
@@ -405,7 +1142,7 @@
405
1142
  * Require Net::SSH 1.0.5
406
1143
 
407
1144
 
408
- *0.9.0* (October 18th, 2005)
1145
+ ## 0.9.0 / October 18th, 2005
409
1146
 
410
1147
  * Use process reaper instead of custom reap script for restarting
411
1148