HeSYINUvSBZfxqA-capistrano 2.5.21
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +10 -0
- data/CHANGELOG +866 -0
- data/Gemfile +4 -0
- data/Gemfile.lock +31 -0
- data/HeSYINUvSBZfxqA-capistrano.gemspec +49 -0
- data/README.mdown +65 -0
- data/Rakefile +11 -0
- data/VERSION +1 -0
- data/bin/cap +4 -0
- data/bin/capify +86 -0
- data/lib/capistrano.rb +2 -0
- data/lib/capistrano/callback.rb +45 -0
- data/lib/capistrano/cli.rb +47 -0
- data/lib/capistrano/cli/execute.rb +85 -0
- data/lib/capistrano/cli/help.rb +125 -0
- data/lib/capistrano/cli/help.txt +78 -0
- data/lib/capistrano/cli/options.rb +243 -0
- data/lib/capistrano/cli/ui.rb +40 -0
- data/lib/capistrano/command.rb +286 -0
- data/lib/capistrano/configuration.rb +44 -0
- data/lib/capistrano/configuration/actions/file_transfer.rb +47 -0
- data/lib/capistrano/configuration/actions/inspect.rb +46 -0
- data/lib/capistrano/configuration/actions/invocation.rb +295 -0
- data/lib/capistrano/configuration/callbacks.rb +148 -0
- data/lib/capistrano/configuration/connections.rb +204 -0
- data/lib/capistrano/configuration/execution.rb +143 -0
- data/lib/capistrano/configuration/loading.rb +197 -0
- data/lib/capistrano/configuration/namespaces.rb +197 -0
- data/lib/capistrano/configuration/roles.rb +73 -0
- data/lib/capistrano/configuration/servers.rb +98 -0
- data/lib/capistrano/configuration/variables.rb +127 -0
- data/lib/capistrano/errors.rb +19 -0
- data/lib/capistrano/extensions.rb +57 -0
- data/lib/capistrano/logger.rb +59 -0
- data/lib/capistrano/processable.rb +53 -0
- data/lib/capistrano/recipes/compat.rb +32 -0
- data/lib/capistrano/recipes/deploy.rb +597 -0
- data/lib/capistrano/recipes/deploy/dependencies.rb +44 -0
- data/lib/capistrano/recipes/deploy/local_dependency.rb +54 -0
- data/lib/capistrano/recipes/deploy/remote_dependency.rb +111 -0
- data/lib/capistrano/recipes/deploy/scm.rb +19 -0
- data/lib/capistrano/recipes/deploy/scm/accurev.rb +169 -0
- data/lib/capistrano/recipes/deploy/scm/base.rb +196 -0
- data/lib/capistrano/recipes/deploy/scm/bzr.rb +86 -0
- data/lib/capistrano/recipes/deploy/scm/cvs.rb +153 -0
- data/lib/capistrano/recipes/deploy/scm/darcs.rb +96 -0
- data/lib/capistrano/recipes/deploy/scm/git.rb +274 -0
- data/lib/capistrano/recipes/deploy/scm/mercurial.rb +137 -0
- data/lib/capistrano/recipes/deploy/scm/none.rb +44 -0
- data/lib/capistrano/recipes/deploy/scm/perforce.rb +138 -0
- data/lib/capistrano/recipes/deploy/scm/subversion.rb +121 -0
- data/lib/capistrano/recipes/deploy/strategy.rb +19 -0
- data/lib/capistrano/recipes/deploy/strategy/base.rb +88 -0
- data/lib/capistrano/recipes/deploy/strategy/checkout.rb +20 -0
- data/lib/capistrano/recipes/deploy/strategy/copy.rb +223 -0
- data/lib/capistrano/recipes/deploy/strategy/export.rb +20 -0
- data/lib/capistrano/recipes/deploy/strategy/remote.rb +52 -0
- data/lib/capistrano/recipes/deploy/strategy/remote_cache.rb +57 -0
- data/lib/capistrano/recipes/deploy/templates/maintenance.rhtml +53 -0
- data/lib/capistrano/recipes/standard.rb +37 -0
- data/lib/capistrano/recipes/templates/maintenance.rhtml +53 -0
- data/lib/capistrano/role.rb +102 -0
- data/lib/capistrano/server_definition.rb +56 -0
- data/lib/capistrano/shell.rb +260 -0
- data/lib/capistrano/ssh.rb +101 -0
- data/lib/capistrano/task_definition.rb +75 -0
- data/lib/capistrano/transfer.rb +216 -0
- data/lib/capistrano/version.rb +18 -0
- data/rvmrc.sample +1 -0
- data/test/cli/execute_test.rb +132 -0
- data/test/cli/help_test.rb +165 -0
- data/test/cli/options_test.rb +329 -0
- data/test/cli/ui_test.rb +28 -0
- data/test/cli_test.rb +17 -0
- data/test/command_test.rb +286 -0
- data/test/configuration/actions/file_transfer_test.rb +61 -0
- data/test/configuration/actions/inspect_test.rb +65 -0
- data/test/configuration/actions/invocation_test.rb +225 -0
- data/test/configuration/callbacks_test.rb +220 -0
- data/test/configuration/connections_test.rb +349 -0
- data/test/configuration/execution_test.rb +175 -0
- data/test/configuration/loading_test.rb +132 -0
- data/test/configuration/namespace_dsl_test.rb +311 -0
- data/test/configuration/roles_test.rb +144 -0
- data/test/configuration/servers_test.rb +158 -0
- data/test/configuration/variables_test.rb +190 -0
- data/test/configuration_test.rb +88 -0
- data/test/deploy/local_dependency_test.rb +76 -0
- data/test/deploy/remote_dependency_test.rb +135 -0
- data/test/deploy/scm/accurev_test.rb +23 -0
- data/test/deploy/scm/base_test.rb +55 -0
- data/test/deploy/scm/bzr_test.rb +51 -0
- data/test/deploy/scm/darcs_test.rb +37 -0
- data/test/deploy/scm/git_test.rb +184 -0
- data/test/deploy/scm/mercurial_test.rb +134 -0
- data/test/deploy/scm/none_test.rb +35 -0
- data/test/deploy/scm/subversion_test.rb +32 -0
- data/test/deploy/strategy/copy_test.rb +302 -0
- data/test/extensions_test.rb +69 -0
- data/test/fixtures/cli_integration.rb +5 -0
- data/test/fixtures/config.rb +5 -0
- data/test/fixtures/custom.rb +3 -0
- data/test/logger_test.rb +123 -0
- data/test/role_test.rb +11 -0
- data/test/server_definition_test.rb +121 -0
- data/test/shell_test.rb +90 -0
- data/test/ssh_test.rb +113 -0
- data/test/task_definition_test.rb +116 -0
- data/test/transfer_test.rb +160 -0
- data/test/utils.rb +39 -0
- metadata +271 -0
data/.gitignore
ADDED
data/CHANGELOG
ADDED
@@ -0,0 +1,866 @@
|
|
1
|
+
## 2.5.21 / April 6 2011
|
2
|
+
|
3
|
+
* Fixed to follow best-practice guidelines from Bundler (Ben Langfeld)
|
4
|
+
* No longer force a gemset for Capistrano development. (Ben Langfeld)
|
5
|
+
|
6
|
+
## 2.5.20 / March 16 2011
|
7
|
+
|
8
|
+
* `deploy:migrations` will now always operate on the latest_release, not
|
9
|
+
current_release (Mike Vincent)
|
10
|
+
* Adds a check for the presence of `rsync` when using the copy strategy with `rsync`. (Chris Griego)
|
11
|
+
* Do not try to look up the `:release_path` on servers which are defined `:no_release` (Chris Griego)
|
12
|
+
* Tiny patch to the `CVS` SCM code to be Ruby 1.9 compatible (Martin Carpenter)
|
13
|
+
* Changed the default `Git` submodule behaviour to use `--recursive`, Lighthouse Issue #176. (Lee Hambley)
|
14
|
+
* `:public_children` can now be `set()`, the default is unchanged, thanks (Chris Griego)
|
15
|
+
* Fixing the load path in the default `Capfile` to search vendored/unpacked Gems. Lighthouse Issue #174 (Mari Carmen/Rafael García)
|
16
|
+
* Adds a `maintenance_basename` variable (default value is `maintenance`) to allow you to set the maintenance page name (Celestino Gomes)
|
17
|
+
* Spelling fixes in inline-documentation (Tom Copeland)
|
18
|
+
* Make `zip` and `tar` handle symlinks the same way (zip follows symlinks by default, tar needs the option `-h`) (Ross Cooperman)
|
19
|
+
|
20
|
+
## 2.5.19 / June 21, 2010
|
21
|
+
|
22
|
+
* Small bug fixes, no improvements for people who weren't experiencing problems anyway.
|
23
|
+
|
24
|
+
## 2.5.18 / March 14, 2010
|
25
|
+
|
26
|
+
Small fix for rolling back if a shell scripts exits non-zero; enabled a rollback if git (or other) externals fail during the deploy.
|
27
|
+
|
28
|
+
* #151 check return code status of system command to create local copy and rollback if not 0 (David King)
|
29
|
+
|
30
|
+
## 2.5.17 / February 27, 2010
|
31
|
+
|
32
|
+
Various small bug fixes.
|
33
|
+
|
34
|
+
## 2.5.16 / February 14, 2010
|
35
|
+
|
36
|
+
Fixed a small regression in 2.5.15
|
37
|
+
|
38
|
+
## 2.5.15 / 14 February 2010
|
39
|
+
|
40
|
+
Fixes a feature request not to overwrite roles when using the ROLES environmental variable.
|
41
|
+
|
42
|
+
* #126 - The option to not overwriting the roles which are defined in the task definition.
|
43
|
+
* Removed the `upgrade` file as it has been a couple of years since 1.x was in the wild.
|
44
|
+
* Slight internal re-factor of the way we calculate the `version`
|
45
|
+
|
46
|
+
## 2.5.14 / 18 January 2010
|
47
|
+
|
48
|
+
Fixes a low-value bug, thanks to Chris G for the well submitted patch:
|
49
|
+
|
50
|
+
* #139 - Improves consistency of variable lookup, scm variables with a local_ prefix will be honoured with priority locally (Chris Griego)
|
51
|
+
|
52
|
+
## 2.5.13 / 6 January 2010
|
53
|
+
|
54
|
+
* Small maintenance release:
|
55
|
+
|
56
|
+
* #118 - Modified CLI test to not load user or system configuration file (Emily Price)
|
57
|
+
* #88 - Re-fixed a problem here, massive apologies to all concerned. (Hangover from 2.5.12)
|
58
|
+
|
59
|
+
## 2.5.12 / 5 January 2010
|
60
|
+
|
61
|
+
* Tweak the directory version listing (caused a lot of problems, please upgrade immediately)
|
62
|
+
|
63
|
+
## 2.5.11 / December 2009
|
64
|
+
|
65
|
+
* Deprecations and other small changes
|
66
|
+
|
67
|
+
## 2.5.10 / 3 November 2009
|
68
|
+
|
69
|
+
* Fixes Darcs remote repository problem when using the copy strategy [Alex `regularfry` Young]
|
70
|
+
* Documentation improvements for embedding Capistrano [Lee Hambley]
|
71
|
+
* Fixes ticket #95 -formally deprecating the before_something and after_something methods [Lee Hambley]
|
72
|
+
|
73
|
+
## 2.5.9 / 1 August 2009
|
74
|
+
|
75
|
+
* Adds support for customizing which `tar` command to use. [Jeremy Wells]
|
76
|
+
|
77
|
+
* Fixes a couple of documentation problems, typos and worse. [Lee Hambley]
|
78
|
+
|
79
|
+
* #105 - Add skip_hostfilter option to find_servers() [Eric]
|
80
|
+
* #103 - Using non-master branch fails with Ruby 1.9 [Suraj Kurapati]
|
81
|
+
* #96 - Tweak for 1.9 Compatibility
|
82
|
+
* #79 - Capistrano hangs on shell command for many computers
|
83
|
+
* #77 - Copy command doesn't work on Solaris due to tar/gtar
|
84
|
+
* #76 - Invalid Subversion URL
|
85
|
+
* Improved web:disable task, now suggests a .htaccess block to use suggested by Rafael García
|
86
|
+
* Includes more logger options (can now select stdout, stderr of a file) [Rafael García]
|
87
|
+
|
88
|
+
## 2.5.8 / July 2009
|
89
|
+
|
90
|
+
* Fixes a problem in 2.5.7 where deploy:finalize_update had been badly merged.
|
91
|
+
|
92
|
+
## 2.5.6 & 2.5.7 / July 2009
|
93
|
+
|
94
|
+
* 2.5.7 masks a broken 2.5.6 release that was accidentally mirrored via Rubyforge.
|
95
|
+
|
96
|
+
* Clean the cached git repository [Graeme Mathieson]
|
97
|
+
|
98
|
+
* Fixes perforce issues reported at http://bit.ly/wt0es [Scott Johnson]
|
99
|
+
|
100
|
+
* Improved back-tick handling code in relation to the above.
|
101
|
+
|
102
|
+
* Fixes a Git issue when submodules update upstream. (via mailing list) [sneakin]
|
103
|
+
|
104
|
+
* Capify now creates the config directory in directories without one.
|
105
|
+
|
106
|
+
## 2.5.5 / 24 Feb 2009
|
107
|
+
|
108
|
+
* Make sure role(:foo) actually declares an (empty) role for :foo, even without server arguments [Jamis Buck]
|
109
|
+
|
110
|
+
|
111
|
+
## 2.5.4 / 4 Feb 2009
|
112
|
+
|
113
|
+
* When using rsync with the remote_cache strategy include -t switch to preserve file times [Kevin McCarthy]
|
114
|
+
|
115
|
+
* Bump Net::SSH dependency to version 2.0.10 [Jamis Buck]
|
116
|
+
|
117
|
+
* Use 'user' from .ssh/config appropriately [Jamis Buck]
|
118
|
+
|
119
|
+
* Allow respond_to?() method to accept optional second parameter (include_priv) [Matthias Marschall]
|
120
|
+
|
121
|
+
* 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]
|
122
|
+
|
123
|
+
* Add supported environment variables to -H output [François Beausoleil]
|
124
|
+
|
125
|
+
|
126
|
+
## 2.5.3 / December 6, 2008
|
127
|
+
|
128
|
+
* Make previous_release return nil if there is no previous release [Mathias Meyer]
|
129
|
+
|
130
|
+
* Play nice with rubies that don't inspect terminals well (ie. JRuby) by defaulting screen columns to 80 [Bob McWhirter]
|
131
|
+
|
132
|
+
* Rollback of deploy:symlink would explode if there was no previous revision to rollback to [Jamis Buck]
|
133
|
+
|
134
|
+
* Fix bug in transfer.rb that caused get/put/upload/download to ignore blocks passed to them [arika]
|
135
|
+
|
136
|
+
* 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]
|
137
|
+
|
138
|
+
|
139
|
+
## 2.5.2 / November 13, 2008
|
140
|
+
|
141
|
+
* Fix issue with git SCM that caused "Unable to resolve revision for 'HEAD'" errors on deploy [Jamis Buck]
|
142
|
+
|
143
|
+
|
144
|
+
## 2.5.1 / November 7, 2008
|
145
|
+
|
146
|
+
* Add -t (--tools) switch for better task lists for external tools [Jamis Buck]
|
147
|
+
|
148
|
+
* Make the RemoteDependency#try method use invoke_command instead of run, for sudo-ability [Matthias Marschall]
|
149
|
+
|
150
|
+
* Make locally executed commands in Windows more Windows-friendly [esad@esse.at]
|
151
|
+
|
152
|
+
* Added :scm_arguments variable for custom SCM arguments (subversion-only, currently) [David Abdemoulaie]
|
153
|
+
|
154
|
+
* Don't emit -p for sudo when :sudo_prompt is blank [Matthias Marschall]
|
155
|
+
|
156
|
+
* Copy symlinks when using rsync [Paul Paradise]
|
157
|
+
|
158
|
+
* Make sure git query-revision matches on exact branch name [grant@nightriot.com]
|
159
|
+
|
160
|
+
* Use -T <arg> to filter listed tasks by a pattern [Mathias Meyer, Geoffrey Grosenbach]
|
161
|
+
|
162
|
+
* Expose the #scm method on SCM::Base for building custom scm commands [Mathias Meyer]
|
163
|
+
|
164
|
+
* Start logging some locally executed commands [springyweb]
|
165
|
+
|
166
|
+
* Added HOSTFILTER environment variable for constraining tasks so they run only on hosts matching the given list of servers [Walter Smith]
|
167
|
+
|
168
|
+
* Make sure the glob matching for copy excludes does not delete parent directories [Fabio Akita]
|
169
|
+
|
170
|
+
* Ruby 1.9 compatibility [Jamis Buck]
|
171
|
+
|
172
|
+
|
173
|
+
## 2.5.0 / August 28, 2008
|
174
|
+
|
175
|
+
* Allow :gateway to be set to an array, in which case a chain of tunnels is created [Kerry Buckley]
|
176
|
+
|
177
|
+
* Allow HOSTS spec to override even non-existent roles [Mike Bailey]
|
178
|
+
|
179
|
+
* Sort releases via "ls -xt" instead of "ls -x" to allow for custom release names [Yan Pritzker]
|
180
|
+
|
181
|
+
* Convert arguments to -s and -S into integers, booleans, etc. based on whether the arguments appear to be those types [Jamis Buck]
|
182
|
+
|
183
|
+
* Add descriptions of -n and -d to the verbose help text [Jamis Buck]
|
184
|
+
|
185
|
+
* Make rollbacks work with processes that need the current directory to be valid in order to restart properly (e.g. mongrel_rails) [Jamis Buck]
|
186
|
+
|
187
|
+
* Rename deploy:rollback_code to deploy:rollback:code [Jamis Buck]
|
188
|
+
|
189
|
+
* Added parallel() helper for executing multiple different commands in parallel [Jamis Buck]
|
190
|
+
|
191
|
+
* Make sure a task only uses the last on_rollback block, once, on rollback [Jamis Buck]
|
192
|
+
|
193
|
+
* Add :shared_children variable to customize which subdirectories are created by deploy:setup [Jonathan Share]
|
194
|
+
|
195
|
+
* Allow filename globbing in copy_exclude setting for the copy strategy [Jonathan Share]
|
196
|
+
|
197
|
+
* Allow remote_cache strategy to use copy_exclude settings (requires rsync) [Lewis Mackenzie]
|
198
|
+
|
199
|
+
* Make None SCM module work in Windows [Carlos Kozuszko]
|
200
|
+
|
201
|
+
* Recognize mingw as a Windows platform [Carlos Kozuszko]
|
202
|
+
|
203
|
+
* Fixed failing tests in Windows [Carlos Kozuszko]
|
204
|
+
|
205
|
+
* Made :scm_auth_cache control whether password option is emitted in subversion module [Brendan Schwartz]
|
206
|
+
|
207
|
+
* Fixed timestamp bug in CVS module [Jørgen Fjeld]
|
208
|
+
|
209
|
+
* Added -n/--dry-run switch, to display but not execute remote tasks [Paul Gross]
|
210
|
+
|
211
|
+
|
212
|
+
## 2.4.3 / June 28, 2008
|
213
|
+
|
214
|
+
* Fix gem dependencies so gem actually understands them [Jamis Buck]
|
215
|
+
|
216
|
+
|
217
|
+
## 2.4.2 / June 27, 2008
|
218
|
+
|
219
|
+
* Specify gem dependencies in rakefile [Jamis Buck]
|
220
|
+
|
221
|
+
|
222
|
+
## 2.4.1 / June 27, 2008
|
223
|
+
|
224
|
+
* Use Echoe to manage the Rakefile [Jamis Buck]
|
225
|
+
|
226
|
+
* Let Net::SSH manage the default SSH port selection [Ben Lavender]
|
227
|
+
|
228
|
+
* Changed capture() helper to not raise an exception on error, but to warn instead [Jeff Forcier]
|
229
|
+
|
230
|
+
|
231
|
+
## 2.4.0 / June 13, 2008
|
232
|
+
|
233
|
+
* Added :normalize_asset_timestamps option to deployment, defaulting to true, which allows asset timestamping to be disabled [John Trupiano]
|
234
|
+
|
235
|
+
|
236
|
+
## 2.4.0 Preview Release #1 (2.3.101) / June 5, 2008
|
237
|
+
|
238
|
+
* 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]
|
239
|
+
|
240
|
+
* 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]
|
241
|
+
|
242
|
+
* Make deploy:upload use the upload() helper for more efficient directory processing [Jamis Buck]
|
243
|
+
|
244
|
+
* Make deploy:upload accept globs [Mark Imbriaco]
|
245
|
+
|
246
|
+
* Make sure the host is reported with the output from scm_run [Jamis Buck]
|
247
|
+
|
248
|
+
* Make git SCM honor the :scm_verbose option [Jamis Buck]
|
249
|
+
|
250
|
+
* Don't follow symlinks when using :copy_cache [Jamis Buck]
|
251
|
+
|
252
|
+
* If :mode is given to upload() helper, do a chmod after to set the mode [Jamis Buck]
|
253
|
+
|
254
|
+
* Fix load_from_file method for windows users [Neil Wilson]
|
255
|
+
|
256
|
+
* Display a deprecation error if a remote git branch is specified [Tim Harper]
|
257
|
+
|
258
|
+
* Fix deployment recipes to use the updated sudo helper [Jamis Buck]
|
259
|
+
|
260
|
+
* Enhance the sudo helper so it can be used to return the command, instead of executing it [Jamis Buck]
|
261
|
+
|
262
|
+
* Revert "make sudo helper play nicely with complex command chains", since it broke stuff [Jamis Buck]
|
263
|
+
|
264
|
+
* Make set(:default_shell, false) work for not using a shell on a per-command basis [Ryan McGeary]
|
265
|
+
|
266
|
+
* Improved test coverage [Ryan McGeary]
|
267
|
+
|
268
|
+
* Fixed "coverage" take task [Ryan McGeary]
|
269
|
+
|
270
|
+
* Use upload() instead of put() with the copy strategy [Jamis Buck]
|
271
|
+
|
272
|
+
* Revert the "git fetch --tags" change, since it didn't work as expected [Jamis Buck]
|
273
|
+
|
274
|
+
* Fix deploy:pending when using git SCM [Ryan McGeary]
|
275
|
+
|
276
|
+
* Make sure deploy:check works with :none scm (which has no default command) [Jamis Buck]
|
277
|
+
|
278
|
+
* Add debug switch for enabling conditional execution of commands [Mark Imbriaco]
|
279
|
+
|
280
|
+
|
281
|
+
## 2.3.0 / May 2, 2008
|
282
|
+
|
283
|
+
* 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]
|
284
|
+
|
285
|
+
* Make sudo helper play nicely with complex command chains [Jamis Buck]
|
286
|
+
|
287
|
+
* Expand file-transfer options with new upload() and download() helpers. [Jamis Buck]
|
288
|
+
|
289
|
+
* Allow SCP transfers in addition to SFTP. [Jamis Buck]
|
290
|
+
|
291
|
+
* Use Net::SSH v2 and Net::SSH::Gateway. [Jamis Buck]
|
292
|
+
|
293
|
+
* Added #export method for git SCM [Phillip Goldenburg]
|
294
|
+
|
295
|
+
* 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]
|
296
|
+
|
297
|
+
* Allow :ssh_options hash to be specified per server [Jesse Newland]
|
298
|
+
|
299
|
+
* Added support for depend :remote, :file to test for existence of a specific file [Andrew Carter]
|
300
|
+
|
301
|
+
* Ensure that the default run options are mixed into the command options when executing a command from the cap shell [Ken Collins]
|
302
|
+
|
303
|
+
* Added :none SCM module for deploying a specific directory's contents [Jamis Buck]
|
304
|
+
|
305
|
+
* Improved "copy" strategy supports local caching and pattern exclusion (via :copy_cache and :copy_exclude variables) [Jamis Buck]
|
306
|
+
|
307
|
+
|
308
|
+
## 2.2.0 / February 27, 2008
|
309
|
+
|
310
|
+
* Fix git submodule support to init on sync [halorgium]
|
311
|
+
|
312
|
+
* Add alternative server-centric role definition method [James Duncan Davidson]
|
313
|
+
|
314
|
+
* Add support for password prompts from the Mercurial SCM [ches]
|
315
|
+
|
316
|
+
* Add support for :max_hosts option in task definition or run() [Rob Holland <rob@inversepath.com>]
|
317
|
+
|
318
|
+
* Distributed git support for better operability with remote_cache strategy [voidlock]
|
319
|
+
|
320
|
+
* Use a default line length in help text if line length is otherwise too small [Jamis Buck]
|
321
|
+
|
322
|
+
* Fix incorrect reference to the 'setup' task in task documentation [rajeshduggal]
|
323
|
+
|
324
|
+
* Don't try to kill the spawner process on deploy:stop if no spawner process exists [Jamis Buck]
|
325
|
+
|
326
|
+
* Dynamic roles (e.g. role(:app) { "host.name" }) [dmasover]
|
327
|
+
|
328
|
+
* Implement Bzr#next_revision so that pending changes can be reported correctly [casret]
|
329
|
+
|
330
|
+
* Use a proper export command for bzr SCM [drudru]
|
331
|
+
|
332
|
+
* Use checkout instead of merge for git SCM [nuttycom]
|
333
|
+
|
334
|
+
* Fix typo in Subversion SCM module, encountered when an update fails [kemiller]
|
335
|
+
|
336
|
+
* Fix documentation typo in upload.rb [evolving_jerk]
|
337
|
+
|
338
|
+
* Added test case to show that the :scm_command is honored by the git SCM module [grempe]
|
339
|
+
|
340
|
+
* Fail gracefully when double-colons are used to delimit namespaces [richie]
|
341
|
+
|
342
|
+
* Add support for :git_enable_submodules variable, to enable submodules with the git SCM [halorgium]
|
343
|
+
|
344
|
+
* If subversion asks for a password, prompt as a last resort [Jamis Buck]
|
345
|
+
|
346
|
+
* Use checkout --lightweight for bzr checkout, instead of branch [michiels]
|
347
|
+
|
348
|
+
* Make sure bzr SCM works when revision is head (or unspecified) [michiels]
|
349
|
+
|
350
|
+
* Support p4sync_flags and p4client_root variables for Perforce [gseidman]
|
351
|
+
|
352
|
+
* Prepare for Net::SSH v2 by making sure Capistrano only tries to load Net::SSH versions less than 1.99.0 [Jamis Buck]
|
353
|
+
|
354
|
+
|
355
|
+
## 2.1.0 / October 14, 2007
|
356
|
+
|
357
|
+
* Default to 0664 instead of 0660 on upload [Jamis Buck]
|
358
|
+
|
359
|
+
* Fix deploy:pending to query SCM for the subsequent revision so that it does not include the last deployed change [Jamis Buck]
|
360
|
+
|
361
|
+
* Prefer 'Last Changed Rev' over 'Revision' when querying latest revision via Subversion [Jamis Buck]
|
362
|
+
|
363
|
+
* Explicitly require 'stringio' in copy_test [mislav]
|
364
|
+
|
365
|
+
* When Subversion#query_revision fails, give a more sane error [Jamis Buck]
|
366
|
+
|
367
|
+
* Don't run the upgrade:revisions task on non-release servers [Jamis Buck]
|
368
|
+
|
369
|
+
* Fix cap shell to properly recognize sudo prompt [Mark Imbriaco, barnaby, Jamis Buck]
|
370
|
+
|
371
|
+
* Git SCM module [Garry Dolley, Geoffrey Grosenbach, Scott Chacon]
|
372
|
+
|
373
|
+
* Use the --password switch for subversion by default, but add :scm_prefer_prompt variable (defaults to false) [Jamis Buck]
|
374
|
+
|
375
|
+
|
376
|
+
## 2.0.100 (2.1 Preview 1) / September 1, 2007
|
377
|
+
|
378
|
+
* capify-generated Capfile will autoload all recipes from vendor/plugins/*/recipes/*.rb [Graeme Mathieson]
|
379
|
+
|
380
|
+
* Use sudo -p switch to set sudo password prompt to something predictable [Mike Bailey]
|
381
|
+
|
382
|
+
* Allow independent configurations to require the same recipe file [Jamis Buck]
|
383
|
+
|
384
|
+
* Set :shell to false to run a command without wrapping it in "sh -c" [Jamis Buck]
|
385
|
+
|
386
|
+
* Don't request a pty by default [Jamis Buck]
|
387
|
+
|
388
|
+
* Add a "match" remote dependency method [Adam Greene]
|
389
|
+
|
390
|
+
* Allow auth-caching of subversion credentials to be enabled via :scm_auth_cache [tsmith]
|
391
|
+
|
392
|
+
* Don't let a task trigger itself when used as the source for an "on" hook [Jamis Buck]
|
393
|
+
|
394
|
+
* Avoid using the --password switch with subversion for security purposes [sentinel]
|
395
|
+
|
396
|
+
* Add version_dir, current_dir, and shared_dir variables for naming the directories used in deployment [drinkingbird]
|
397
|
+
|
398
|
+
* Use Windows-safe binary reads for reading file contents [Ladislav Martincik]
|
399
|
+
|
400
|
+
* Add Accurev SCM support [Doug Barth]
|
401
|
+
|
402
|
+
* Use the :runner variable to determine who to sudo as for deploy:restart [Graham Ashton]
|
403
|
+
|
404
|
+
* Add Namespaces#top to always return a reference to the topmost namespace [Jamis Buck]
|
405
|
+
|
406
|
+
* Change the "-h" output so that it does not say that "-q" is the default [Jamis Buck]
|
407
|
+
|
408
|
+
|
409
|
+
## 2.0.0 / July 21, 2007
|
410
|
+
|
411
|
+
* Make the "no matching servers" error more sane [halorgium]
|
412
|
+
|
413
|
+
* Make sure the invoke task gives a sane error when the COMMAND value is omitted [halorgium]
|
414
|
+
|
415
|
+
* Make sure variables are conditionally set in the deploy recipes, so as not to clobber values set elsewhere [Jamis Buck]
|
416
|
+
|
417
|
+
* Fix "input stream is empty" errors from HighLine on prompt [Jamis Buck]
|
418
|
+
|
419
|
+
* Added "synchronous_connect" setting to try and work around SFTP hangs for certain users [Jamis Buck]
|
420
|
+
|
421
|
+
* Auto-require the SSH shell service, to avoid race conditions [Jamis Buck]
|
422
|
+
|
423
|
+
* Add a millisecond sleep in upload to reduce CPU impact [Jamis Buck]
|
424
|
+
|
425
|
+
* Allow the logger to be set via Configuration#logger= [Jamis Buck]
|
426
|
+
|
427
|
+
* Allow $CAPISTRANO:HOST$ to be used in filenames to the put command [Jamis Buck]
|
428
|
+
|
429
|
+
* Allow execute_on_servers to be called without a current task again [Jamis Buck]
|
430
|
+
|
431
|
+
* Put $stdout in sync mode, so that Net::SSH prompts are displayed [Jamis Buck]
|
432
|
+
|
433
|
+
* Make sure deploy:check aborts if it fails [Jamis Buck]
|
434
|
+
|
435
|
+
* Spelling corrections in docs [Tim Carey-Smith, Giles Bowkett]
|
436
|
+
|
437
|
+
|
438
|
+
## 1.99.3 (2.0 Preview 4) / June 28, 2007
|
439
|
+
|
440
|
+
* Don't break task descriptions on a period that appears in the middle of a sentence [Jamis Buck]
|
441
|
+
|
442
|
+
* 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]
|
443
|
+
|
444
|
+
* Use correct parameters for Logger constructor in the SCM and Strategy base initializers [Jamis Buck]
|
445
|
+
|
446
|
+
* 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]
|
447
|
+
|
448
|
+
* Add :copy_remote_dir variable for the :copy strategy, to indicate where the archive should be copied to on the remote servers [Jamis Buck]
|
449
|
+
|
450
|
+
* Make the awk use in the dependencies code work with POSIX awk [mcornick]
|
451
|
+
|
452
|
+
* Make variable accesses thread safe [via Adrian Danieli]
|
453
|
+
|
454
|
+
* Make user input for yes/no prompts work correctly in the Mercurial module [Matthew Elder]
|
455
|
+
|
456
|
+
* Use single quotes to escape semicolon in find command, instead of a backslash [via michael.italia@gmail.com]
|
457
|
+
|
458
|
+
* Better quoting of reserved characters in commands [Jamis Buck]
|
459
|
+
|
460
|
+
* Make sure Net::SSH versions prior to 1.1.0 still work [Jamis Buck]
|
461
|
+
|
462
|
+
* 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]
|
463
|
+
|
464
|
+
* Use `which' to test whether a command exists in the remote path, instead of `test -p' [Jamis Buck]
|
465
|
+
|
466
|
+
* Make sure the connection factory is established synchronously, to avoid multiple gateway instances being spawned [Jamis Buck]
|
467
|
+
|
468
|
+
* Make sure symlink and finalize_update tasks reference the most recent release when called by themselves [Jamis Buck]
|
469
|
+
|
470
|
+
|
471
|
+
## 1.99.2 (2.0 Preview 3) / June 15, 2007
|
472
|
+
|
473
|
+
* CVS SCM module [Brian Phillips]
|
474
|
+
|
475
|
+
* Fix typo in Perforce SCM module [Chris Bailey]
|
476
|
+
|
477
|
+
* ssh_options < server options when connecting [Jamis Buck]
|
478
|
+
|
479
|
+
* Logger defaults to $stderr instead of STDERR [lhartley]
|
480
|
+
|
481
|
+
* Use cp -RPp instead of -a in the remote cache strategy
|
482
|
+
|
483
|
+
* Make the UploadError exception include an array of the hosts that failed [rob@inversepath.com]
|
484
|
+
|
485
|
+
* Allow "empty" roles to be declared [Jamis Buck]
|
486
|
+
|
487
|
+
* Mercurial SCM module [Tobias Luetke, Matthew Elder]
|
488
|
+
|
489
|
+
* Invoke all commands via sh (customizable via :default_shell) [Jamis Buck]
|
490
|
+
|
491
|
+
* 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]
|
492
|
+
|
493
|
+
* Add :default_environment variable, which is applied to every command
|
494
|
+
|
495
|
+
|
496
|
+
## 1.99.1 (2.0 Preview 2) / May 10, 2007
|
497
|
+
|
498
|
+
* Fix some documentation typos [eventualbuddha]
|
499
|
+
|
500
|
+
* Don't retry failed connections if an explicit auth_methods list is given [Chris Farms]
|
501
|
+
|
502
|
+
* 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]
|
503
|
+
|
504
|
+
* Added support for start and finish callbacks, which get invoked when any task is called via the command-line [Jamis Buck]
|
505
|
+
|
506
|
+
* Make `capify' understand simple command-line switches [Jamis Buck]
|
507
|
+
|
508
|
+
* Make the server definition itself available to SSH channels, rather than just the host name [Jamis Buck]
|
509
|
+
|
510
|
+
* Identify servers by their complete credentials in logs, rather than simply by hostname [Jamis Buck]
|
511
|
+
|
512
|
+
* Uniquely identify servers based on hostname, port, and username, instead of merely on hostname [Jamis Buck]
|
513
|
+
|
514
|
+
* 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]
|
515
|
+
|
516
|
+
* Kill the "deploy:app" namespace and move those tasks into deploy, directly. [Jamis Buck]
|
517
|
+
|
518
|
+
* Make sure 'desc' applies to the next defined task, in any namespace. [Jamis Buck]
|
519
|
+
|
520
|
+
* Fix shell so that servers for a task are correctly discovered. [Jamis Buck]
|
521
|
+
|
522
|
+
* Added before(), after(), and on() callback creation methods. [Jamis Buck]
|
523
|
+
|
524
|
+
* Fix broken check! method for some deployment strategies. [Jamis Buck]
|
525
|
+
|
526
|
+
* deploy:cold should also run migrations before starting the app [Jamis Buck]
|
527
|
+
|
528
|
+
* Make the copy strategy check out to a temporary directory [Jamis Buck]
|
529
|
+
|
530
|
+
|
531
|
+
## 1.99.0 (2.0 Preview 1) / April 24, 2007
|
532
|
+
|
533
|
+
* Add `capify' script to make it easier to prepare a project for deployment using cap [Jamis Buck]
|
534
|
+
|
535
|
+
* Make sure the sudo helper understands the SuSE dialect of the sudo password prompt [Steven Wisener]
|
536
|
+
|
537
|
+
* Fix synchronization issue with Gateway initialization [Doug Barth]
|
538
|
+
|
539
|
+
* Added opt-in "compat" and "upgrade" recipes for tasks to aid in the upgrade process to Capistrano 2 [Jamis Buck]
|
540
|
+
|
541
|
+
* The deployment recipes are now opt-in. Just do 'load "deploy"' in your recipe script. [Jamis Buck]
|
542
|
+
|
543
|
+
* Added $CAPISTRANO:HOST$ placeholder in commands, which will be replaced with the name of the host on which the command is executing [Jamis Buck]
|
544
|
+
|
545
|
+
* Added -e switch to explain specific task. Added -X to extend -x. Made -h much briefer. Added -T to list known tasks. [Jamis Buck]
|
546
|
+
|
547
|
+
* Added namespaces for tasks [Jamis Buck]
|
548
|
+
|
549
|
+
* Merged the Configuration and Actor classes, performed various other massive refactorings of the code [Jamis Buck]
|
550
|
+
|
551
|
+
|
552
|
+
## 1.4.1 / February 24, 2007
|
553
|
+
|
554
|
+
* Use the no-auth-cache option with subversion so that username/password tokens do not get cached by capistrano usage [jonathan]
|
555
|
+
|
556
|
+
* Deprecated upper-cased variables [Jamis Buck]
|
557
|
+
|
558
|
+
* Make sure Actor#get does not close the SFTP channel (so subsequent SFTP operations work) [Dov Murik]
|
559
|
+
|
560
|
+
* Add :env option to 'run' (and friends) so that you can specify environment variables to be injected into the new process' environment [Mathieu Lajugie]
|
561
|
+
|
562
|
+
|
563
|
+
## 1.4.0 / February 3, 2007
|
564
|
+
|
565
|
+
* Use the auth info for subversion more consistently [Jamis Buck]
|
566
|
+
|
567
|
+
* Add a "capture" helper, for capturing the stdout of a remote command and returning it as a string [Jamis Buck]
|
568
|
+
|
569
|
+
* Add a "get" helper, to pull a file from a remote server to the localhost [bmihelac]
|
570
|
+
|
571
|
+
* 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]
|
572
|
+
|
573
|
+
* Refactor the permissions tweaking in update_code to a separate task so that people on shared hosts can override it as necessary [jaw6]
|
574
|
+
|
575
|
+
* Set umask during the setup task, so that intermediate directories are created with the proper permissions [NeilW]
|
576
|
+
|
577
|
+
* Removed -c/--caprc switch, since the new load order renders it meaningless (just use -f now) [Mike Bailey]
|
578
|
+
|
579
|
+
* Make sure the standard recipe loads first, so that .caprc and friends can override what it defines. [Mike Bailey]
|
580
|
+
|
581
|
+
* Add support for a system-wide capistrano config file [Mike Bailey]
|
582
|
+
|
583
|
+
* Make cold_deploy call update instead of deploy (to avoid invoking the restart task).
|
584
|
+
|
585
|
+
* Make the touch command run by update_code set the TZ to UTC, for consistent setting of asset timestamps. [NeilW]
|
586
|
+
|
587
|
+
* Fix off-by-one bug in show_tasks width-computation [NeilW]
|
588
|
+
|
589
|
+
|
590
|
+
## 1.3.1 / January 5, 2007
|
591
|
+
|
592
|
+
* Fix connection problems when using gateways [Ezra Zygmuntowicz]
|
593
|
+
|
594
|
+
|
595
|
+
## 1.3.0 / December 23, 2006
|
596
|
+
|
597
|
+
* Deprecate rake integration in favor of invoking `cap' directly [Jamis Buck]
|
598
|
+
|
599
|
+
* Make sure the CVS module references the repository explicitly in cvs_log [weyus@att.net]
|
600
|
+
|
601
|
+
* Remove trace messages when loading a file [Jamis Buck]
|
602
|
+
|
603
|
+
* Cleaner error messages for authentication failures and command errors [Jamis Buck]
|
604
|
+
|
605
|
+
* Added support for ~/.caprc, also -x and -c switches. [Jamis Buck]
|
606
|
+
|
607
|
+
* Updated migrate action to use db:migrate task in Rails instead of the deprecated migrate task [DHH]
|
608
|
+
|
609
|
+
* Allow SSH user and port to be encoded in the hostname strings [Ezra Zygmuntowicz]
|
610
|
+
|
611
|
+
* Fixed that new checkouts were not group-writable [DHH, Jamis Buck]
|
612
|
+
|
613
|
+
* Fixed that cap setup would use 755 on the deploy_to and shared directory roots instead of 775 [DHH]
|
614
|
+
|
615
|
+
* Don't run the cleanup task on servers marked no_release [Jamis Buck]
|
616
|
+
|
617
|
+
* Fix typo in default_io_proc so it correctly checks the stream parameter to see if it is the error stream [Stephen Haberman]
|
618
|
+
|
619
|
+
* 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]
|
620
|
+
|
621
|
+
* Added warning if password is prompted for and termios is not installed [John Labovitz]
|
622
|
+
|
623
|
+
* Added :as option to sudo, so you can specify who the command is executed as [Mark Imbriaco]
|
624
|
+
|
625
|
+
|
626
|
+
## 1.2.0 / September 14, 2006
|
627
|
+
|
628
|
+
* Add experimental 'shell' task [Jamis Buck]
|
629
|
+
|
630
|
+
* Display file for external configurations, rather than inspected proc. [Jamis Buck]
|
631
|
+
|
632
|
+
* Connect to multiple servers in parallel, rather than serially. [Jamis Buck]
|
633
|
+
|
634
|
+
* Add SCM module for Mercurial (closes #4150) [Matthew Elder]
|
635
|
+
|
636
|
+
* Remove unused line in SCM::Base (closes #5619) [chris@seagul.co.uk]
|
637
|
+
|
638
|
+
* More efficient "svn log" usage (closes #5620) [Anatol Pomozov]
|
639
|
+
|
640
|
+
* Better support for key passphrases in the SVN module (closes #5920) [llasram@gmail.com]
|
641
|
+
|
642
|
+
* Fix missing default for :local in cvs.rb (closes #3645) [jeremy@hinegardner.org]
|
643
|
+
|
644
|
+
* Fix awkward spacing in gemspec file (closes #3888) [grant@antiflux.org]
|
645
|
+
|
646
|
+
* Add support for :sudo variable to specify path to sudo (closes #4578) [timothee.peignier@tryphon.org]
|
647
|
+
|
648
|
+
* Make previous_release return nil if there are no previous releases (closes #4959) [bdabney@cavoksolutions.com]
|
649
|
+
|
650
|
+
* Uncache releases list after update_code is called so that newly released dir is included (closes #3766) [Jamis Buck]
|
651
|
+
|
652
|
+
* Allow the subversion scm to accept HTTPS certificates (closes #4792) [Jamis Buck]
|
653
|
+
|
654
|
+
* Make sure rollbacks occur within the scope of the task that triggered them [Jamis Buck]
|
655
|
+
|
656
|
+
* Fixed the default recipe to work with setups that haven't yet gone pids [DHH]
|
657
|
+
|
658
|
+
* Symlink and setup for shared/pids to tmp/pids [DHH]
|
659
|
+
|
660
|
+
* Fix some incorrect usage text (closes #4507) [gerry_shaw@yahoo.com]
|
661
|
+
|
662
|
+
* Added Actor#stream method that makes it easy to create cross-server streams [DHH]. Example:
|
663
|
+
|
664
|
+
desc "Run a tail on multiple log files at the same time"
|
665
|
+
task :tail_fcgi, :roles => :app do
|
666
|
+
stream "tail -f #{shared_path}/log/fastcgi.crash.log"
|
667
|
+
end
|
668
|
+
|
669
|
+
* Make update_code and symlink a macro task under the name "update" for easy of deploy to servers that does not run fcgis [DHH]
|
670
|
+
|
671
|
+
* 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]
|
672
|
+
|
673
|
+
* Added support for :except on task declarations as the opposite of :only [DHH]. Example:
|
674
|
+
|
675
|
+
role :app, "192.168.0.2"
|
676
|
+
role :file, "192.168.0.3", :no_release => true
|
677
|
+
|
678
|
+
task :symlink, :except => { :no_release => true } do
|
679
|
+
on_rollback { run "ln -nfs #{previous_release} #{current_path}" }
|
680
|
+
run "ln -nfs #{current_release} #{current_path}"
|
681
|
+
end
|
682
|
+
|
683
|
+
cap symlink # will not run on 192.168.0.3
|
684
|
+
|
685
|
+
* Deprecate the -r/--recipe switch in favor of -f/--file (for more make/rake-like semantics) [Jamis Buck]
|
686
|
+
|
687
|
+
* Fix gemspec to include a dependency on rake 0.7 [Jamis Buck]
|
688
|
+
|
689
|
+
* Added respect for ENV["HOSTS"] that'll be used instead of the roles specified in the task definition [DHH]. Example:
|
690
|
+
|
691
|
+
HOSTS=192.168.0.1 cap setup # one-off setup for that server, doesn't need to be prespecified in the recipes file
|
692
|
+
|
693
|
+
* Added respect for ENV["ROLES"] that'll be used instead of the roles specified in the task definition [DHH]. Example:
|
694
|
+
|
695
|
+
task :setup, :roles => [ :app, :web, :db ]
|
696
|
+
# normally this would run every where
|
697
|
+
end
|
698
|
+
|
699
|
+
ROLES=app cap setup # this will only run for the app role, overwritting the default declaration
|
700
|
+
|
701
|
+
* Added :hosts option to task definition that allows you to specify cross-cutting tasks [DHH]. Example:
|
702
|
+
|
703
|
+
task :setup, :hosts => [ "06.example.com", "01.example.com" ] do
|
704
|
+
# this task will happen on 06 and 01 regardless of which roles they belong to
|
705
|
+
end
|
706
|
+
|
707
|
+
* Fix operator precedence problem in script for touching the revisions.log #3223 [jason.garber@emu.edu]
|
708
|
+
|
709
|
+
|
710
|
+
## 1.1.0 / March 6th, 2006
|
711
|
+
|
712
|
+
* Simplify the generated capistrano.rake file, and make it easier to customize
|
713
|
+
|
714
|
+
* Use rake-like command-line semantics ("cap deploy", in addition to "cap -a deploy")
|
715
|
+
|
716
|
+
* Rename to capistrano
|
717
|
+
|
718
|
+
* Make the generated capistrano.rake file use rake namespaces, and include all default tasks
|
719
|
+
|
720
|
+
* Look for config/deploy.rb, capfile, and Capfile by default
|
721
|
+
|
722
|
+
|
723
|
+
## 1.0.1 / February 20th, 2006
|
724
|
+
|
725
|
+
* Fix broken switchtower_invoke function in switchtower.rake (missing require statement)
|
726
|
+
|
727
|
+
|
728
|
+
## 1.0.0 / Feburary 18th, 2006
|
729
|
+
|
730
|
+
* Make CVS module's :local value default to "."
|
731
|
+
|
732
|
+
* Add "invoke" task for executing one-off commands
|
733
|
+
|
734
|
+
* Make port selection smarter for gateway connections
|
735
|
+
|
736
|
+
* Add extension mechanism for custom ST operations and third-party task libraries
|
737
|
+
|
738
|
+
* Make ST rails rake tasks more configurable
|
739
|
+
|
740
|
+
* Add Actor#current_task and simplify Task#servers
|
741
|
+
|
742
|
+
* Add Actor#connect! method for working around lazy connection establishing
|
743
|
+
|
744
|
+
* Make sure IO::TRUNC is specified for Net::SFTP uploads (#3510)
|
745
|
+
|
746
|
+
* Add branch support to CVS [jeremy@hinegardner.org] (#3596)
|
747
|
+
|
748
|
+
* Add bazaar-ng SCM module [Damien Merenne]
|
749
|
+
|
750
|
+
* Add optional :svn_username and :svn_password variables
|
751
|
+
|
752
|
+
* Allow Proc-valued variables to be set more conveniently (set(:foo) { "bar" })
|
753
|
+
|
754
|
+
* Add perforce SCM module [Richard McMahon]
|
755
|
+
|
756
|
+
* Add bazaar (v1) SCM module [Edd Dumbill] (#3533)
|
757
|
+
|
758
|
+
* Fix stftime format string used in CVS module to be Windows-compatible (fixes #3383)
|
759
|
+
|
760
|
+
* Add an better error when a task is run and no servers match the required conditions
|
761
|
+
|
762
|
+
* Add default spinner and cold_deploy tasks, and spinner_user variable
|
763
|
+
|
764
|
+
* Changed restart_via variable to (boolean) use_sudo
|
765
|
+
|
766
|
+
* Only chmod when the revisions.log file is first created
|
767
|
+
|
768
|
+
* Make UPPERCASE variables work
|
769
|
+
|
770
|
+
* Added rails_env variable (defaults to production) for use by tasks that employ the RAILS_ENV environment variable
|
771
|
+
|
772
|
+
* Added Actor.default_io_proc
|
773
|
+
|
774
|
+
* Set :actor key on SSH channel instances
|
775
|
+
|
776
|
+
|
777
|
+
## 0.10.0 / January 2nd, 2006
|
778
|
+
|
779
|
+
* Handle ssh password prompts like "someone's password:"
|
780
|
+
|
781
|
+
* Make CLI#echo available as a class method.
|
782
|
+
|
783
|
+
* Add CLI#with_echo.
|
784
|
+
|
785
|
+
* Make the default password prompt available as a class method.
|
786
|
+
|
787
|
+
# Add documentation for the CLI class.
|
788
|
+
|
789
|
+
* Add a sanity check to make sure the correct versions of Net::SSH and Net::SFTP are installed.
|
790
|
+
|
791
|
+
* Added a cleanup task to remove unused releases from the deployment directory
|
792
|
+
|
793
|
+
* Allow password to be reentered on sudo if it was entered incorrectly
|
794
|
+
|
795
|
+
* Use && as the command separator for the checkouts, so that errors are caught early.
|
796
|
+
|
797
|
+
* Ping each SSH connection every 1s during command processing so that long-running commands don't cause the connection to timeout.
|
798
|
+
|
799
|
+
* Add a 0.01s sleep during the command loop so that the CPU doesn't go ballistic while ST is doing its thing.
|
800
|
+
|
801
|
+
* Add :restart_via variable for specifying whether restart ought to use :sudo (default, use sudo)
|
802
|
+
|
803
|
+
* Use SFTP for file transfers (if available).
|
804
|
+
|
805
|
+
* Add an "update_current" task that will do an svn up on the current release
|
806
|
+
|
807
|
+
* Use the :checkout variable to determine what operation to use for svn checkouts (instead of co, like "export").
|
808
|
+
|
809
|
+
* The Rails rake tasks now load ST directly, instead of invoking it via system
|
810
|
+
|
811
|
+
* Added ssh_options variable to configure the SSH connection parameters #2734 [jerrett@bravenet.com]
|
812
|
+
|
813
|
+
* Require Net::SSH 1.0.5
|
814
|
+
|
815
|
+
|
816
|
+
## 0.9.0 / October 18th, 2005
|
817
|
+
|
818
|
+
* Use process reaper instead of custom reap script for restarting
|
819
|
+
|
820
|
+
* Use -S switch to set variables before reading recipe files #2242
|
821
|
+
|
822
|
+
* Have setup.rb create a switchtower.cmd file on Win32 platforms #2402
|
823
|
+
|
824
|
+
* Add diff_from_last_deploy to the rails switchtower rakefile template
|
825
|
+
|
826
|
+
* Add diff_from_last_deploy task (currently only works with subversion)
|
827
|
+
|
828
|
+
* Add deploy_with_migrations task.
|
829
|
+
|
830
|
+
* Make the migrate task more customizable.
|
831
|
+
|
832
|
+
* If no password is given with the -p switch, prompt for password immediately.
|
833
|
+
|
834
|
+
* Do not install a switchtower stub in the script directory. Assume the switchtower executable is in the path.
|
835
|
+
|
836
|
+
* Remove trailing newlines from commands to prevent trailing backslash #2141
|
837
|
+
|
838
|
+
* Default parameters work correctly with the generator #2218 [Scott Barron]
|
839
|
+
|
840
|
+
* Attempt to require 'rubygems' explicitly when running the switchtower utility #2134
|
841
|
+
|
842
|
+
* 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
|
843
|
+
|
844
|
+
* Default the application name to "Application" when using --apply-to
|
845
|
+
|
846
|
+
* Show the help screen instead of an error when no arguments are given
|
847
|
+
|
848
|
+
* Make SwitchTower easier to invoke programmatically via SwitchTower::CLI
|
849
|
+
|
850
|
+
* Specify the revision to release via the :revision variable (defaults to latest revision)
|
851
|
+
|
852
|
+
* Allow variables to be set via the cli using the -s switch
|
853
|
+
|
854
|
+
* Log checkouts to a "revisions.log" file
|
855
|
+
|
856
|
+
* Changed behavior of checkout to use the timestamp as the release name, instead of the revision number
|
857
|
+
|
858
|
+
* Added CVS module (very very experimental!)
|
859
|
+
|
860
|
+
* Works with public keys now, for passwordless deployment
|
861
|
+
|
862
|
+
* Subversion module recognizes the password prompt for HTTP authentication
|
863
|
+
|
864
|
+
* Preserve +x on scripts when using darcs #1929 [Scott Barron]
|
865
|
+
|
866
|
+
* When executing multiline commands, use a backslash to escape the newline
|