I'm trying to debug a problem in deploy:cold, but I don't see the
actual commands being run on the remote host to connect to the svn
repository.  If I login to the remote machine as the user in
deploy.rb, I'm able to access the subversion path fine.  Is it
possible to see a log of the commands that are being run by cap i.e.
what is the checkout command being issued? This will help me debug the
problem... Here is the output that I see:
------------------------------
C:\dev\workspace\proj1>cap -vvv deploy:cold
  * executing `deploy:cold'
  * executing `deploy:update'
 ** transaction: start
  * executing `deploy:update_code'
svn: Connection closed unexpectedly
*** [deploy:update_code] rolling back
.....
------------------------------

Here is my deploy.rb file:
---------------------------------
set :application, "proj1"
set :domain, "XXXXX"
set :user, "jaikumar"
set :repository,  "svn+ssh://[EMAIL PROTECTED]/home/svn/repositories/
proj1"
# set :use_sudo, false
set :deploy_to, "/home/users/#{user}/apps/#{application}"          #
Where on the server your app will be deployed
set :deploy_via, :checkout                # svn checkout will be the
deployment method
set :chmod755, "app config db lib public vendor script script/* public/
disp*"   # Some files that will need proper permissions
set :mongrel_port, "4444"

# If you aren't deploying to /u/apps/#{application} on the target
# servers (which is the default), you can specify the actual location
# via the :deploy_to variable:
# set :deploy_to, "/var/www/#{application}"

# If you aren't using Subversion to manage your source code, specify
# your SCM below:
# set :scm, :subversion

role :app, domain
role :web, domain
role :db,  domain, :primary => true

ssh_options[:port] = 7983
# ssh_options[:verbose] = :debug
----------------

Thanks,

-j


--~--~---------~--~----~------------~-------~--~----~
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/capistrano
-~----------~----~----~----~------~----~------~--~---

Reply via email to