1
0
Fork 0
mirror of https://github.com/capistrano/capistrano synced 2023-03-27 23:21:18 -04:00
Commit graph

14 commits

Author SHA1 Message Date
Jamis Buck
ee78acbca6 Set :shell to false to run a command without wrapping it in "sh -c" (closes #9290)
git-svn-id: http://svn.rubyonrails.org/rails/tools/capistrano@7388 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2007-09-01 03:31:53 +00:00
Jamis Buck
a899eb798e Don't request a pty by default when running a command
git-svn-id: http://svn.rubyonrails.org/rails/tools/capistrano@7387 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2007-09-01 03:23:51 +00:00
Jamis Buck
468cc8682c Added support for :on_error => :continue in task definitions, allowing tasks to effectively ignore connection and execution errors that occur as they run
git-svn-id: http://svn.rubyonrails.org/rails/tools/capistrano@7145 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2007-06-28 03:14:37 +00:00
Jamis Buck
13aa40a5f6 better quoting of reserved characters in commands
git-svn-id: http://svn.rubyonrails.org/rails/tools/capistrano@7112 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2007-06-25 15:32:43 +00:00
Jamis Buck
7b2458ec46 Invoke all commands via sh (customizable via :default_shell)
git-svn-id: http://svn.rubyonrails.org/rails/tools/capistrano@6947 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2007-06-05 16:10:01 +00:00
Jamis Buck
9047a756fe Make the server definition itself available to SSH channels, rather that just the host name. Identify servers by their complete credentials in logs, rather than simply by hostname.
git-svn-id: http://svn.rubyonrails.org/rails/tools/capistrano@6706 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2007-05-09 04:45:54 +00:00
Jamis Buck
4331e3bb67 make CommandError able to report on which hosts failed
git-svn-id: http://svn.rubyonrails.org/rails/tools/capistrano@6482 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2007-03-27 21:41:55 +00:00
Jamis Buck
55e194c3f0 restore plugin extension mechanism, fix hostname problem for tunnelled connections
git-svn-id: http://svn.rubyonrails.org/rails/tools/capistrano@6436 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2007-03-16 21:22:10 +00:00
Jamis Buck
f8d425ef0d Added $CAPISTRANO:HOST$ placeholder for commands
git-svn-id: http://svn.rubyonrails.org/rails/tools/capistrano@6425 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2007-03-14 14:22:35 +00:00
Jamis Buck
b8a1698d39 add some more tests to bring code coverage up
git-svn-id: http://svn.rubyonrails.org/rails/tools/capistrano@6319 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2007-03-04 21:09:37 +00:00
Jamis Buck
b5daf9f58b refactor capistrano errors into a single module, with a single superclass. Add #invoke helper action for programmatically selecting between run and sudo. Refactor the #stream and #capture helper actions.
git-svn-id: http://svn.rubyonrails.org/rails/tools/capistrano@6289 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2007-03-02 21:33:27 +00:00
Jamis Buck
6a6733f8d3 tests for the gateway and command classes
git-svn-id: http://svn.rubyonrails.org/rails/tools/capistrano@6271 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2007-03-01 06:23:26 +00:00
Jamis Buck
6efd009569 part 2, rename switchtower -> capistrano
git-svn-id: http://svn.rubyonrails.org/rails/tools/capistrano@3786 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-03-06 03:48:35 +00:00
Jamis Buck
71e6cc2cb8 When executing multiline commands, escape newlines with a backslash
git-svn-id: http://svn.rubyonrails.org/rails/trunk/switchtower@1975 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-08-06 19:35:25 +00:00