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

26 commits

Author SHA1 Message Date
Jamis Buck
527a881f95 switchtower: add :restart_via variable for specifying whether restart ought to use :sudo (default, use sudo)
git-svn-id: http://svn.rubyonrails.org/rails/tools/switchtower@3355 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-12-27 01:50:23 +00:00
Jamis Buck
bd5ebf9b3e switchtower: add an "update_current" task that will do an svn up on the current release
git-svn-id: http://svn.rubyonrails.org/rails/tools/switchtower@3340 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-12-22 21:34:21 +00:00
Jamis Buck
57a3a14f59 switchtower: use the :checkout variable to determine what operation to use for svn checkouts (instead of co, like "export"). Also fix a broken test.
git-svn-id: http://svn.rubyonrails.org/rails/tools/switchtower@3338 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-12-22 20:55:15 +00:00
Jamis Buck
fdcb4e362f switchtower: the rails rake tasks now load ST directly, instead of invoking it via system
git-svn-id: http://svn.rubyonrails.org/rails/tools/switchtower@3336 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-12-22 20:36:28 +00:00
Jamis Buck
0e6ca2082e Added ssh_options variable to configure the SSH connection parameters (closes #2734)
git-svn-id: http://svn.rubyonrails.org/rails/tools/switchtower@2957 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-11-09 16:43:40 +00:00
Jamis Buck
b09ca75550 switchtower: depend on Net::SSH 1.0.3 (to resolve windows/pageant issues)
git-svn-id: http://svn.rubyonrails.org/rails/tools/switchtower@2954 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-11-09 14:53:36 +00:00
Jamis Buck
edcb868f72 Use process reaper instead of custom reap script for restarting
git-svn-id: http://svn.rubyonrails.org/rails/tools/switchtower@2565 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-10-13 20:06:27 +00:00
Jamis Buck
69bb33d8a7 Use -S switch to set variables before reading recipe files #2242
git-svn-id: http://svn.rubyonrails.org/rails/tools/switchtower@2528 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-10-11 01:59:19 +00:00
Jamis Buck
30ef2a9d78 Update changelog
git-svn-id: http://svn.rubyonrails.org/rails/tools/switchtower@2526 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-10-11 01:43:41 +00:00
Jamis Buck
40d1c1ddb6 Add diff_from_last_deploy to the rails switchtower rakefile template
git-svn-id: http://svn.rubyonrails.org/rails/tools/switchtower@2453 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-10-04 14:49:46 +00:00
Jamis Buck
8a163ef75e switchtower: add diff_from_last_deploy task (currently only works with subversion)
git-svn-id: http://svn.rubyonrails.org/rails/tools/switchtower@2452 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-10-04 13:06:43 +00:00
Jamis Buck
f06e87592b switchtower: update changelog
git-svn-id: http://svn.rubyonrails.org/rails/tools/switchtower@2451 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-10-04 12:30:46 +00:00
Jamis Buck
a66aa6c3c1 Do not install a switchtower stub in the script directory. Assume the switchtower executable is in the path.
git-svn-id: http://svn.rubyonrails.org/rails/tools/switchtower@2268 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-09-19 22:20:58 +00:00
Jamis Buck
8d1c1129b9 Remove trailing newlines from commands to prevent trailing backslash #2141
git-svn-id: http://svn.rubyonrails.org/rails/tools/switchtower@2267 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-09-19 22:15:48 +00:00
Jamis Buck
db6fb3ed70 Default parameters work correctly with the generator #2218 [Scott Barron]
git-svn-id: http://svn.rubyonrails.org/rails/tools/switchtower@2266 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-09-19 22:12:14 +00:00
Jamis Buck
0a994f1373 Update SwitchTower changelog
git-svn-id: http://svn.rubyonrails.org/rails/tools/switchtower@2209 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-09-11 19:42:53 +00:00
Jamis Buck
24640dd9a8 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
git-svn-id: http://svn.rubyonrails.org/rails/tools/switchtower@2132 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-09-05 10:37:00 +00:00
Jamis Buck
fb5144ca96 Default the application name to Application when using --apply-to
git-svn-id: http://svn.rubyonrails.org/rails/tools/switchtower@2118 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-09-03 15:27:26 +00:00
Jamis Buck
1fcaf4e065 Show the help screen instead of an error when no arguments are given
git-svn-id: http://svn.rubyonrails.org/rails/tools/switchtower@2117 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-09-03 15:23:10 +00:00
Jamis Buck
c8f3edb93d Make SwitchTower easier to invoke programmatically, using SwitchTower::CLI
git-svn-id: http://svn.rubyonrails.org/rails/tools/switchtower@2076 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-08-30 21:42:27 +00:00
Jamis Buck
824d22bfb8 Move switchtower to the tools directory, to decouple it from rails
git-svn-id: http://svn.rubyonrails.org/rails/tools/switchtower@2074 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-08-30 20:53:32 +00:00
Jamis Buck
d89f08f780 Added CVS module for SwitchTower (very, very experimental!)
git-svn-id: http://svn.rubyonrails.org/rails/trunk/switchtower@2027 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-08-17 10:13:25 +00:00
Jamis Buck
5246654ab7 Works with public keys now, for passwordless operation
git-svn-id: http://svn.rubyonrails.org/rails/trunk/switchtower@2000 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-08-13 18:36:02 +00:00
Jamis Buck
13e3179a02 Subversion module recognizes the password prompt for HTTP authentication
git-svn-id: http://svn.rubyonrails.org/rails/trunk/switchtower@1997 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-08-12 21:40:38 +00:00
Jamis Buck
a13c2cc2a3 Preserve +x on scripts when using darcs #1929 [Scott Barron]
git-svn-id: http://svn.rubyonrails.org/rails/trunk/switchtower@1996 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-08-12 20:32:23 +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