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

32 commits

Author SHA1 Message Date
Jamis Buck
baabba800e Fix the heredocs to use <<-, so that textmate highlights them correctly
git-svn-id: http://svn.rubyonrails.org/rails/tools/switchtower@2566 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-10-13 20:11:02 +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
7c8128085f Have setup.rb create a switchtower.cmd file on Win32 platforms
git-svn-id: http://svn.rubyonrails.org/rails/tools/switchtower@2525 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-10-11 01:43:28 +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
1929a47e3b switchtower: add deploy_with_migrations task
git-svn-id: http://svn.rubyonrails.org/rails/tools/switchtower@2450 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-10-04 12:29:37 +00:00
Jamis Buck
25a29f7565 switchtower: make the migrate task more configurable
git-svn-id: http://svn.rubyonrails.org/rails/tools/switchtower@2449 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-10-04 11:50:44 +00:00
Jamis Buck
fe531d7562 Force switchtower to prompt for the password immediately by passing -p
git-svn-id: http://svn.rubyonrails.org/rails/tools/switchtower@2448 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-10-04 11:34:00 +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
b481c1a00a Attempt to require rubygems when executing the switchtower utility (fixes #2134)
git-svn-id: http://svn.rubyonrails.org/rails/tools/switchtower@2208 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-09-11 19:40:43 +00:00
Jamis Buck
1a53bf2f45 Fix switchtower deployment generator to use lib/tasks instead of config/tasks
git-svn-id: http://svn.rubyonrails.org/rails/tools/switchtower@2207 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-09-11 19:35:22 +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
9678a690f2 SwitchTower: incorporate deployment generator for simple Rails integration
git-svn-id: http://svn.rubyonrails.org/rails/tools/switchtower@2084 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-08-31 15:54:33 +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
90f7a4f1b5 Explicitly terminate shell statements with ';' if they are in 'if' statements
git-svn-id: http://svn.rubyonrails.org/rails/trunk/switchtower@1977 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-08-06 20:13:03 +00:00
Jamis Buck
ec009d3345 The utility's name is SwitchTower
git-svn-id: http://svn.rubyonrails.org/rails/trunk/switchtower@1976 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-08-06 20:03:07 +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
Jamis Buck
936c35fdc1 Mention the dependencies of SwitchTower (Net::SSH, Needle)
git-svn-id: http://svn.rubyonrails.org/rails/trunk/switchtower@1974 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-08-06 18:21:06 +00:00
Jamis Buck
f9da6dbb4c Initial commit of the new switchtower utility
git-svn-id: http://svn.rubyonrails.org/rails/trunk/switchtower@1967 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-08-03 12:59:03 +00:00