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