capistrano 2.4.0 → 2.4.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,9 +1,18 @@
1
- *2.4.0* June 13, 2008
1
+ == 2.4.1 / June 27, 2008
2
+
3
+ * Use Echoe to manage the Rakefile [Jamis Buck]
4
+
5
+ * Let Net::SSH manage the default SSH port selection [Ben Lavender]
6
+
7
+ * Changed capture() helper to not raise an exception on error, but to warn instead [Jeff Forcier]
8
+
9
+
10
+ == 2.4.0 / June 13, 2008
2
11
 
3
12
  * Added :normalize_asset_timestamps option to deployment, defaulting to true, which allows asset timestamping to be disabled [John Trupiano]
4
13
 
5
14
 
6
- *2.4.0 Preview Release #1* (2.3.101) June 5, 2008
15
+ == 2.4.0 Preview Release #1 (2.3.101) / June 5, 2008
7
16
 
8
17
  * 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]
9
18
 
@@ -48,7 +57,7 @@
48
57
  * Add debug switch for enabling conditional execution of commands [Mark Imbriaco]
49
58
 
50
59
 
51
- *2.3.0* May 2, 2008
60
+ == 2.3.0 / May 2, 2008
52
61
 
53
62
  * 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]
54
63
 
@@ -75,7 +84,7 @@
75
84
  * Improved "copy" strategy supports local caching and pattern exclusion (via :copy_cache and :copy_exclude variables) [Jamis Buck]
76
85
 
77
86
 
78
- *2.2.0* February 27, 2008
87
+ == 2.2.0 / February 27, 2008
79
88
 
80
89
  * Fix git submodule support to init on sync [halorgium]
81
90
 
@@ -122,7 +131,7 @@
122
131
  * Prepare for Net::SSH v2 by making sure Capistrano only tries to load Net::SSH versions less than 1.99.0 [Jamis Buck]
123
132
 
124
133
 
125
- *2.1.0* October 14, 2007
134
+ == 2.1.0 / October 14, 2007
126
135
 
127
136
  * Default to 0664 instead of 0660 on upload [Jamis Buck]
128
137
 
@@ -143,7 +152,7 @@
143
152
  * Use the --password switch for subversion by default, but add :scm_prefer_prompt variable (defaults to false) [Jamis Buck]
144
153
 
145
154
 
146
- *2.0.100 (2.1 Preview 1)* September 1, 2007
155
+ == 2.0.100 (2.1 Preview 1) / September 1, 2007
147
156
 
148
157
  * capify-generated Capfile will autoload all recipes from vendor/plugins/*/recipes/*.rb [Graeme Mathieson]
149
158
 
@@ -176,7 +185,7 @@
176
185
  * Change the "-h" output so that it does not say that "-q" is the default [Jamis Buck]
177
186
 
178
187
 
179
- *2.0.0* July 21, 2007
188
+ == 2.0.0 / July 21, 2007
180
189
 
181
190
  * Make the "no matching servers" error more sane [halorgium]
182
191
 
@@ -205,7 +214,7 @@
205
214
  * Spelling corrections in docs [Tim Carey-Smith, Giles Bowkett]
206
215
 
207
216
 
208
- *1.99.3 (2.0 Preview 4)* June 28, 2007
217
+ == 1.99.3 (2.0 Preview 4) / June 28, 2007
209
218
 
210
219
  * Don't break task descriptions on a period that appears in the middle of a sentence [Jamis Buck]
211
220
 
@@ -238,7 +247,7 @@
238
247
  * Make sure symlink and finalize_update tasks reference the most recent release when called by themselves [Jamis Buck]
239
248
 
240
249
 
241
- *1.99.2 (2.0 Preview 3)* June 15, 2007
250
+ == 1.99.2 (2.0 Preview 3) / June 15, 2007
242
251
 
243
252
  * CVS SCM module [Brian Phillips]
244
253
 
@@ -263,7 +272,7 @@
263
272
  * Add :default_environment variable, which is applied to every command
264
273
 
265
274
 
266
- *1.99.1 (2.0 Preview 2)* May 10, 2007
275
+ == 1.99.1 (2.0 Preview 2) / May 10, 2007
267
276
 
268
277
  * Fix some documentation typos [eventualbuddha]
269
278
 
@@ -298,7 +307,7 @@
298
307
  * Make the copy strategy check out to a temporary directory [Jamis Buck]
299
308
 
300
309
 
301
- *1.99.0 (2.0 Preview 1)* April 24, 2007
310
+ == 1.99.0 (2.0 Preview 1) / April 24, 2007
302
311
 
303
312
  * Add `capify' script to make it easier to prepare a project for deployment using cap [Jamis Buck]
304
313
 
@@ -319,7 +328,7 @@
319
328
  * Merged the Configuration and Actor classes, performed various other massive refactorings of the code [Jamis Buck]
320
329
 
321
330
 
322
- *1.4.1* (February 24, 2007)
331
+ == 1.4.1 / February 24, 2007
323
332
 
324
333
  * Use the no-auth-cache option with subversion so that username/password tokens do not get cached by capistrano usage [jonathan]
325
334
 
@@ -330,7 +339,7 @@
330
339
  * Add :env option to 'run' (and friends) so that you can specify environment variables to be injected into the new process' environment [Mathieu Lajugie]
331
340
 
332
341
 
333
- *1.4.0* (February 3, 2007)
342
+ == 1.4.0 / February 3, 2007
334
343
 
335
344
  * Use the auth info for subversion more consistently [Jamis Buck]
336
345
 
@@ -357,12 +366,12 @@
357
366
  * Fix off-by-one bug in show_tasks width-computation [NeilW]
358
367
 
359
368
 
360
- *1.3.1* (January 5, 2007)
369
+ == 1.3.1 / January 5, 2007
361
370
 
362
371
  * Fix connection problems when using gateways [Ezra Zygmuntowicz]
363
372
 
364
373
 
365
- *1.3.0* (December 23, 2006)
374
+ == 1.3.0 / December 23, 2006
366
375
 
367
376
  * Deprecate rake integration in favor of invoking `cap' directly [Jamis Buck]
368
377
 
@@ -393,7 +402,7 @@
393
402
  * Added :as option to sudo, so you can specify who the command is executed as [Mark Imbriaco]
394
403
 
395
404
 
396
- *1.2.0* (September 14, 2006)
405
+ == 1.2.0 / September 14, 2006
397
406
 
398
407
  * Add experimental 'shell' task [Jamis Buck]
399
408
 
@@ -477,7 +486,7 @@
477
486
  * Fix operator precedence problem in script for touching the revisions.log #3223 [jason.garber@emu.edu]
478
487
 
479
488
 
480
- *1.1.0* (March 6th, 2006)
489
+ == 1.1.0 / March 6th, 2006
481
490
 
482
491
  * Simplify the generated capistrano.rake file, and make it easier to customize
483
492
 
@@ -490,12 +499,12 @@
490
499
  * Look for config/deploy.rb, capfile, and Capfile by default
491
500
 
492
501
 
493
- *1.0.1* (February 20th, 2006)
502
+ == 1.0.1 / February 20th, 2006
494
503
 
495
504
  * Fix broken switchtower_invoke function in switchtower.rake (missing require statement)
496
505
 
497
506
 
498
- *1.0.0* (Feburary 18th, 2006)
507
+ == 1.0.0 / Feburary 18th, 2006
499
508
 
500
509
  * Make CVS module's :local value default to "."
501
510
 
@@ -544,7 +553,7 @@
544
553
  * Set :actor key on SSH channel instances
545
554
 
546
555
 
547
- *0.10.0* (January 2nd, 2006)
556
+ == 0.10.0 / January 2nd, 2006
548
557
 
549
558
  * Handle ssh password prompts like "someone's password:"
550
559
 
@@ -583,7 +592,7 @@
583
592
  * Require Net::SSH 1.0.5
584
593
 
585
594
 
586
- *0.9.0* (October 18th, 2005)
595
+ == 0.9.0 / October 18th, 2005
587
596
 
588
597
  * Use process reaper instead of custom reap script for restarting
589
598
 
@@ -0,0 +1,104 @@
1
+ bin/cap
2
+ bin/capify
3
+ CHANGELOG.rdoc
4
+ examples/sample.rb
5
+ lib/capistrano/callback.rb
6
+ lib/capistrano/cli/execute.rb
7
+ lib/capistrano/cli/help.rb
8
+ lib/capistrano/cli/help.txt
9
+ lib/capistrano/cli/options.rb
10
+ lib/capistrano/cli/ui.rb
11
+ lib/capistrano/cli.rb
12
+ lib/capistrano/command.rb
13
+ lib/capistrano/configuration/actions/file_transfer.rb
14
+ lib/capistrano/configuration/actions/inspect.rb
15
+ lib/capistrano/configuration/actions/invocation.rb
16
+ lib/capistrano/configuration/callbacks.rb
17
+ lib/capistrano/configuration/connections.rb
18
+ lib/capistrano/configuration/execution.rb
19
+ lib/capistrano/configuration/loading.rb
20
+ lib/capistrano/configuration/namespaces.rb
21
+ lib/capistrano/configuration/roles.rb
22
+ lib/capistrano/configuration/servers.rb
23
+ lib/capistrano/configuration/variables.rb
24
+ lib/capistrano/configuration.rb
25
+ lib/capistrano/errors.rb
26
+ lib/capistrano/extensions.rb
27
+ lib/capistrano/logger.rb
28
+ lib/capistrano/processable.rb
29
+ lib/capistrano/recipes/compat.rb
30
+ lib/capistrano/recipes/deploy/dependencies.rb
31
+ lib/capistrano/recipes/deploy/local_dependency.rb
32
+ lib/capistrano/recipes/deploy/remote_dependency.rb
33
+ lib/capistrano/recipes/deploy/scm/accurev.rb
34
+ lib/capistrano/recipes/deploy/scm/base.rb
35
+ lib/capistrano/recipes/deploy/scm/bzr.rb
36
+ lib/capistrano/recipes/deploy/scm/cvs.rb
37
+ lib/capistrano/recipes/deploy/scm/darcs.rb
38
+ lib/capistrano/recipes/deploy/scm/git.rb
39
+ lib/capistrano/recipes/deploy/scm/mercurial.rb
40
+ lib/capistrano/recipes/deploy/scm/none.rb
41
+ lib/capistrano/recipes/deploy/scm/perforce.rb
42
+ lib/capistrano/recipes/deploy/scm/subversion.rb
43
+ lib/capistrano/recipes/deploy/scm.rb
44
+ lib/capistrano/recipes/deploy/strategy/base.rb
45
+ lib/capistrano/recipes/deploy/strategy/checkout.rb
46
+ lib/capistrano/recipes/deploy/strategy/copy.rb
47
+ lib/capistrano/recipes/deploy/strategy/export.rb
48
+ lib/capistrano/recipes/deploy/strategy/remote.rb
49
+ lib/capistrano/recipes/deploy/strategy/remote_cache.rb
50
+ lib/capistrano/recipes/deploy/strategy.rb
51
+ lib/capistrano/recipes/deploy/templates/maintenance.rhtml
52
+ lib/capistrano/recipes/deploy.rb
53
+ lib/capistrano/recipes/standard.rb
54
+ lib/capistrano/recipes/templates/maintenance.rhtml
55
+ lib/capistrano/recipes/upgrade.rb
56
+ lib/capistrano/role.rb
57
+ lib/capistrano/server_definition.rb
58
+ lib/capistrano/shell.rb
59
+ lib/capistrano/ssh.rb
60
+ lib/capistrano/task_definition.rb
61
+ lib/capistrano/transfer.rb
62
+ lib/capistrano/version.rb
63
+ lib/capistrano.rb
64
+ Rakefile
65
+ README.rdoc
66
+ setup.rb
67
+ test/cli/execute_test.rb
68
+ test/cli/help_test.rb
69
+ test/cli/options_test.rb
70
+ test/cli/ui_test.rb
71
+ test/cli_test.rb
72
+ test/command_test.rb
73
+ test/configuration/actions/file_transfer_test.rb
74
+ test/configuration/actions/inspect_test.rb
75
+ test/configuration/actions/invocation_test.rb
76
+ test/configuration/callbacks_test.rb
77
+ test/configuration/connections_test.rb
78
+ test/configuration/execution_test.rb
79
+ test/configuration/loading_test.rb
80
+ test/configuration/namespace_dsl_test.rb
81
+ test/configuration/roles_test.rb
82
+ test/configuration/servers_test.rb
83
+ test/configuration/variables_test.rb
84
+ test/configuration_test.rb
85
+ test/deploy/local_dependency_test.rb
86
+ test/deploy/remote_dependency_test.rb
87
+ test/deploy/scm/accurev_test.rb
88
+ test/deploy/scm/base_test.rb
89
+ test/deploy/scm/git_test.rb
90
+ test/deploy/scm/mercurial_test.rb
91
+ test/deploy/strategy/copy_test.rb
92
+ test/extensions_test.rb
93
+ test/fixtures/cli_integration.rb
94
+ test/fixtures/config.rb
95
+ test/fixtures/custom.rb
96
+ test/logger_test.rb
97
+ test/role_test.rb
98
+ test/server_definition_test.rb
99
+ test/shell_test.rb
100
+ test/ssh_test.rb
101
+ test/task_definition_test.rb
102
+ test/transfer_test.rb
103
+ test/utils.rb
104
+ Manifest
@@ -5,7 +5,7 @@ Capistrano is a utility and framework for executing commands in parallel on mult
5
5
  Capistrano was originally designed to simplify and automate deployment of web applications to distributed environments, and originally came bundled with a set of tasks designed for deploying Rails applications. The deployment tasks are now (as of Capistrano 2.0) opt-in and require clients to explicitly put
6
6
  "load 'deploy'" in their recipes.
7
7
 
8
- == Dependencies
8
+ == DEPENDENCIES
9
9
 
10
10
  * Net::SSH v2 (http://net-ssh.rubyforge.org)
11
11
  * Net::SFTP v2 (http://net-ssh.rubyforge.org)
@@ -15,9 +15,10 @@ Capistrano was originally designed to simplify and automate deployment of web ap
15
15
 
16
16
  If you want to run the tests, you'll also need to have the following dependencies installed:
17
17
 
18
+ * Echoe (for the Rakefile)
18
19
  * Mocha (http://mocha.rubyforge.org)
19
20
 
20
- == Assumptions
21
+ == ASSUMPTIONS
21
22
 
22
23
  Capistrano is "opinionated software", which means it has very firm ideas about how things ought to be done, and tries to force those ideas on you. Some of the assumptions behind these opinions are:
23
24
 
@@ -26,7 +27,7 @@ Capistrano is "opinionated software", which means it has very firm ideas about h
26
27
 
27
28
  Do not expect these assumptions to change.
28
29
 
29
- == Usage
30
+ == USAGE
30
31
 
31
32
  In general, you'll use Capistrano as follows:
32
33
 
@@ -38,3 +39,28 @@ Use the +cap+ script as follows:
38
39
  cap sometask
39
40
 
40
41
  By default, the script will look for a file called one of +capfile+ or +Capfile+. The +someaction+ text indicates which task to execute. You can do "cap -h" to see all the available options and "cap -T" to see all the available tasks.
42
+
43
+ == LICENSE:
44
+
45
+ (The MIT License)
46
+
47
+ Copyright (c) 2005-2008 Jamis Buck <jamis@37signals.com>
48
+
49
+ Permission is hereby granted, free of charge, to any person obtaining
50
+ a copy of this software and associated documentation files (the
51
+ 'Software'), to deal in the Software without restriction, including
52
+ without limitation the rights to use, copy, modify, merge, publish,
53
+ distribute, sublicense, and/or sell copies of the Software, and to
54
+ permit persons to whom the Software is furnished to do so, subject to
55
+ the following conditions:
56
+
57
+ The above copyright notice and this permission notice shall be
58
+ included in all copies or substantial portions of the Software.
59
+
60
+ THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
61
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
62
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
63
+ IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
64
+ CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
65
+ TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
66
+ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
@@ -0,0 +1,28 @@
1
+ require "./lib/capistrano/version"
2
+
3
+ begin
4
+ require 'echoe'
5
+ rescue LoadError
6
+ abort "You'll need to have `echoe' installed to use Capistrano's Rakefile"
7
+ end
8
+
9
+ version = Capistrano::Version::STRING.dup
10
+ if ENV['SNAPSHOT'].to_i == 1
11
+ version << "." << Time.now.utc.strftime("%Y%m%d%H%M%S")
12
+ end
13
+
14
+ Echoe.new('capistrano', version) do |p|
15
+ p.changelog = "CHANGELOG.rdoc"
16
+
17
+ p.author = "Jamis Buck"
18
+ p.email = "jamis@jamisbuck.org"
19
+
20
+ p.summary = <<-DESC.strip.gsub(/\n\s+/, " ")
21
+ Capistrano is a utility and framework for executing commands in parallel
22
+ on multiple remote machines, via SSH.
23
+ DESC
24
+
25
+ p.url = "http://www.capify.org"
26
+ p.need_zip = true
27
+ p.rdoc_pattern = /^(lib|README.rdoc|CHANGELOG.rdoc)/
28
+ end
@@ -0,0 +1,67 @@
1
+
2
+ # Gem::Specification for Capistrano-2.4.1
3
+ # Originally generated by Echoe
4
+
5
+ Gem::Specification.new do |s|
6
+ s.name = %q{capistrano}
7
+ s.version = "2.4.1"
8
+
9
+ s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
10
+ s.authors = ["Jamis Buck"]
11
+ s.date = %q{2008-06-27}
12
+ s.description = %q{Capistrano is a utility and framework for executing commands in parallel on multiple remote machines, via SSH.}
13
+ s.email = %q{jamis@jamisbuck.org}
14
+ s.executables = ["cap", "capify"]
15
+ s.extra_rdoc_files = ["CHANGELOG.rdoc", "lib/capistrano/callback.rb", "lib/capistrano/cli/execute.rb", "lib/capistrano/cli/help.rb", "lib/capistrano/cli/help.txt", "lib/capistrano/cli/options.rb", "lib/capistrano/cli/ui.rb", "lib/capistrano/cli.rb", "lib/capistrano/command.rb", "lib/capistrano/configuration/actions/file_transfer.rb", "lib/capistrano/configuration/actions/inspect.rb", "lib/capistrano/configuration/actions/invocation.rb", "lib/capistrano/configuration/callbacks.rb", "lib/capistrano/configuration/connections.rb", "lib/capistrano/configuration/execution.rb", "lib/capistrano/configuration/loading.rb", "lib/capistrano/configuration/namespaces.rb", "lib/capistrano/configuration/roles.rb", "lib/capistrano/configuration/servers.rb", "lib/capistrano/configuration/variables.rb", "lib/capistrano/configuration.rb", "lib/capistrano/errors.rb", "lib/capistrano/extensions.rb", "lib/capistrano/logger.rb", "lib/capistrano/processable.rb", "lib/capistrano/recipes/compat.rb", "lib/capistrano/recipes/deploy/dependencies.rb", "lib/capistrano/recipes/deploy/local_dependency.rb", "lib/capistrano/recipes/deploy/remote_dependency.rb", "lib/capistrano/recipes/deploy/scm/accurev.rb", "lib/capistrano/recipes/deploy/scm/base.rb", "lib/capistrano/recipes/deploy/scm/bzr.rb", "lib/capistrano/recipes/deploy/scm/cvs.rb", "lib/capistrano/recipes/deploy/scm/darcs.rb", "lib/capistrano/recipes/deploy/scm/git.rb", "lib/capistrano/recipes/deploy/scm/mercurial.rb", "lib/capistrano/recipes/deploy/scm/none.rb", "lib/capistrano/recipes/deploy/scm/perforce.rb", "lib/capistrano/recipes/deploy/scm/subversion.rb", "lib/capistrano/recipes/deploy/scm.rb", "lib/capistrano/recipes/deploy/strategy/base.rb", "lib/capistrano/recipes/deploy/strategy/checkout.rb", "lib/capistrano/recipes/deploy/strategy/copy.rb", "lib/capistrano/recipes/deploy/strategy/export.rb", "lib/capistrano/recipes/deploy/strategy/remote.rb", "lib/capistrano/recipes/deploy/strategy/remote_cache.rb", "lib/capistrano/recipes/deploy/strategy.rb", "lib/capistrano/recipes/deploy/templates/maintenance.rhtml", "lib/capistrano/recipes/deploy.rb", "lib/capistrano/recipes/standard.rb", "lib/capistrano/recipes/templates/maintenance.rhtml", "lib/capistrano/recipes/upgrade.rb", "lib/capistrano/role.rb", "lib/capistrano/server_definition.rb", "lib/capistrano/shell.rb", "lib/capistrano/ssh.rb", "lib/capistrano/task_definition.rb", "lib/capistrano/transfer.rb", "lib/capistrano/version.rb", "lib/capistrano.rb", "README.rdoc"]
16
+ s.files = ["bin/cap", "bin/capify", "CHANGELOG.rdoc", "examples/sample.rb", "lib/capistrano/callback.rb", "lib/capistrano/cli/execute.rb", "lib/capistrano/cli/help.rb", "lib/capistrano/cli/help.txt", "lib/capistrano/cli/options.rb", "lib/capistrano/cli/ui.rb", "lib/capistrano/cli.rb", "lib/capistrano/command.rb", "lib/capistrano/configuration/actions/file_transfer.rb", "lib/capistrano/configuration/actions/inspect.rb", "lib/capistrano/configuration/actions/invocation.rb", "lib/capistrano/configuration/callbacks.rb", "lib/capistrano/configuration/connections.rb", "lib/capistrano/configuration/execution.rb", "lib/capistrano/configuration/loading.rb", "lib/capistrano/configuration/namespaces.rb", "lib/capistrano/configuration/roles.rb", "lib/capistrano/configuration/servers.rb", "lib/capistrano/configuration/variables.rb", "lib/capistrano/configuration.rb", "lib/capistrano/errors.rb", "lib/capistrano/extensions.rb", "lib/capistrano/logger.rb", "lib/capistrano/processable.rb", "lib/capistrano/recipes/compat.rb", "lib/capistrano/recipes/deploy/dependencies.rb", "lib/capistrano/recipes/deploy/local_dependency.rb", "lib/capistrano/recipes/deploy/remote_dependency.rb", "lib/capistrano/recipes/deploy/scm/accurev.rb", "lib/capistrano/recipes/deploy/scm/base.rb", "lib/capistrano/recipes/deploy/scm/bzr.rb", "lib/capistrano/recipes/deploy/scm/cvs.rb", "lib/capistrano/recipes/deploy/scm/darcs.rb", "lib/capistrano/recipes/deploy/scm/git.rb", "lib/capistrano/recipes/deploy/scm/mercurial.rb", "lib/capistrano/recipes/deploy/scm/none.rb", "lib/capistrano/recipes/deploy/scm/perforce.rb", "lib/capistrano/recipes/deploy/scm/subversion.rb", "lib/capistrano/recipes/deploy/scm.rb", "lib/capistrano/recipes/deploy/strategy/base.rb", "lib/capistrano/recipes/deploy/strategy/checkout.rb", "lib/capistrano/recipes/deploy/strategy/copy.rb", "lib/capistrano/recipes/deploy/strategy/export.rb", "lib/capistrano/recipes/deploy/strategy/remote.rb", "lib/capistrano/recipes/deploy/strategy/remote_cache.rb", "lib/capistrano/recipes/deploy/strategy.rb", "lib/capistrano/recipes/deploy/templates/maintenance.rhtml", "lib/capistrano/recipes/deploy.rb", "lib/capistrano/recipes/standard.rb", "lib/capistrano/recipes/templates/maintenance.rhtml", "lib/capistrano/recipes/upgrade.rb", "lib/capistrano/role.rb", "lib/capistrano/server_definition.rb", "lib/capistrano/shell.rb", "lib/capistrano/ssh.rb", "lib/capistrano/task_definition.rb", "lib/capistrano/transfer.rb", "lib/capistrano/version.rb", "lib/capistrano.rb", "Rakefile", "README.rdoc", "setup.rb", "test/cli/execute_test.rb", "test/cli/help_test.rb", "test/cli/options_test.rb", "test/cli/ui_test.rb", "test/cli_test.rb", "test/command_test.rb", "test/configuration/actions/file_transfer_test.rb", "test/configuration/actions/inspect_test.rb", "test/configuration/actions/invocation_test.rb", "test/configuration/callbacks_test.rb", "test/configuration/connections_test.rb", "test/configuration/execution_test.rb", "test/configuration/loading_test.rb", "test/configuration/namespace_dsl_test.rb", "test/configuration/roles_test.rb", "test/configuration/servers_test.rb", "test/configuration/variables_test.rb", "test/configuration_test.rb", "test/deploy/local_dependency_test.rb", "test/deploy/remote_dependency_test.rb", "test/deploy/scm/accurev_test.rb", "test/deploy/scm/base_test.rb", "test/deploy/scm/git_test.rb", "test/deploy/scm/mercurial_test.rb", "test/deploy/strategy/copy_test.rb", "test/extensions_test.rb", "test/fixtures/cli_integration.rb", "test/fixtures/config.rb", "test/fixtures/custom.rb", "test/logger_test.rb", "test/role_test.rb", "test/server_definition_test.rb", "test/shell_test.rb", "test/ssh_test.rb", "test/task_definition_test.rb", "test/transfer_test.rb", "test/utils.rb", "Manifest", "capistrano.gemspec"]
17
+ s.has_rdoc = true
18
+ s.homepage = %q{http://www.capify.org}
19
+ s.rdoc_options = ["--line-numbers", "--inline-source", "--title", "Capistrano", "--main", "README.rdoc"]
20
+ s.require_paths = ["lib"]
21
+ s.rubyforge_project = %q{capistrano}
22
+ s.rubygems_version = %q{1.2.0}
23
+ s.summary = %q{Capistrano is a utility and framework for executing commands in parallel on multiple remote machines, via SSH.}
24
+ s.test_files = ["test/cli/execute_test.rb", "test/cli/help_test.rb", "test/cli/options_test.rb", "test/cli/ui_test.rb", "test/cli_test.rb", "test/command_test.rb", "test/configuration/actions/file_transfer_test.rb", "test/configuration/actions/inspect_test.rb", "test/configuration/actions/invocation_test.rb", "test/configuration/callbacks_test.rb", "test/configuration/connections_test.rb", "test/configuration/execution_test.rb", "test/configuration/loading_test.rb", "test/configuration/namespace_dsl_test.rb", "test/configuration/roles_test.rb", "test/configuration/servers_test.rb", "test/configuration/variables_test.rb", "test/configuration_test.rb", "test/deploy/local_dependency_test.rb", "test/deploy/remote_dependency_test.rb", "test/deploy/scm/accurev_test.rb", "test/deploy/scm/base_test.rb", "test/deploy/scm/git_test.rb", "test/deploy/scm/mercurial_test.rb", "test/deploy/strategy/copy_test.rb", "test/extensions_test.rb", "test/logger_test.rb", "test/role_test.rb", "test/server_definition_test.rb", "test/shell_test.rb", "test/ssh_test.rb", "test/task_definition_test.rb", "test/transfer_test.rb"]
25
+
26
+ if s.respond_to? :specification_version then
27
+ current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
28
+ s.specification_version = 2
29
+
30
+ if current_version >= 3 then
31
+ else
32
+ end
33
+ else
34
+ end
35
+ end
36
+
37
+
38
+ # # Original Rakefile source (requires the Echoe gem):
39
+ #
40
+ # require "./lib/capistrano/version"
41
+ #
42
+ # begin
43
+ # require 'echoe'
44
+ # rescue LoadError
45
+ # abort "You'll need to have `echoe' installed to use Capistrano's Rakefile"
46
+ # end
47
+ #
48
+ # version = Capistrano::Version::STRING.dup
49
+ # if ENV['SNAPSHOT'].to_i == 1
50
+ # version << "." << Time.now.utc.strftime("%Y%m%d%H%M%S")
51
+ # end
52
+ #
53
+ # Echoe.new('capistrano', version) do |p|
54
+ # p.changelog = "CHANGELOG.rdoc"
55
+ #
56
+ # p.author = "Jamis Buck"
57
+ # p.email = "jamis@jamisbuck.org"
58
+ #
59
+ # p.summary = <<-DESC.strip.gsub(/\n\s+/, " ")
60
+ # Capistrano is a utility and framework for executing commands in parallel
61
+ # on multiple remote machines, via SSH.
62
+ # DESC
63
+ #
64
+ # p.url = "http://www.capify.org"
65
+ # p.need_zip = true
66
+ # p.rdoc_pattern = /^(lib|README.rdoc|CHANGELOG.rdoc)/
67
+ # end
@@ -34,7 +34,7 @@ module Capistrano
34
34
  invoke_command(command, options.merge(:once => true)) do |ch, stream, data|
35
35
  case stream
36
36
  when :out then output << data
37
- when :err then raise CaptureError, "error processing #{command.inspect}: #{data.inspect}"
37
+ when :err then warn "[err :: #{ch[:server]}] #{data}"
38
38
  end
39
39
  end
40
40
  output
@@ -23,9 +23,6 @@ module Capistrano
23
23
  attr_accessor :xserver
24
24
  end
25
25
 
26
- # The default port for SSH.
27
- DEFAULT_PORT = 22
28
-
29
26
  # An abstraction to make it possible to connect to the server via public key
30
27
  # without prompting for the password. If the public key authentication fails
31
28
  # this will fall back to password authentication.
@@ -58,10 +55,11 @@ module Capistrano
58
55
  methods = [ %w(publickey hostbased), %w(password keyboard-interactive) ]
59
56
  password_value = nil
60
57
 
61
- ssh_options = (server.options[:ssh_options] || {}).merge(options[:ssh_options] || {})
62
- user = server.user || options[:user] || ssh_options[:username] || ServerDefinition.default_user
63
- ssh_options[:port] = server.port || options[:port] || ssh_options[:port] || DEFAULT_PORT
58
+ ssh_options = (server.options[:ssh_options] || {}).merge(options[:ssh_options] || {})
59
+ user = server.user || options[:user] || ssh_options[:username] || ServerDefinition.default_user
60
+ port = server.port || options[:port] || ssh_options[:port]
64
61
 
62
+ ssh_options[:port] = port if port
65
63
  ssh_options.delete(:username)
66
64
 
67
65
  begin