Hello,

I'm having a problem with capistrano 2.1.0.
I'm deploying from Mac OS X 10.4.11 to Free BSD.

I setup the scm_username variable, but I'm still asked the SVN username.

When I do 'cap deploy', here is the output :
--
 cap deploy
  * executing `deploy'
  * executing `deploy:update'
 ** transaction: start
  * executing `deploy:update_code'
Authentication realm: <https://myrepositoryurl:443> Subversion repository
Username:
--

I enter my SVN username and password, then I'm asked my SSH password,
and then I'm asked my SVN username again, but I'm not able to enter it
:

--
Password:
    [my.server.com] executing command
 ** [err] Authentication realm: <https://myrepositoryurl:443>
Subversion repository
 ** Username:
--

Here is my deploy.rb file :

--
default_run_options[:pty] = false

set   :application, "mydomain.be"
set   :deploy_to,   "my_path"
set   :user,        "my_ssh_user"

set   :scm, :subversion
set   :scm_username,  "my_svn_username"
set   :scm_command,   "/usr/local/bin/svn"
# set   :scm_auth_cache, true
set   :local_scm_command, :default
set   :repository,    "https://my_repos_url";

role  :app, "my.server.com"
role  :web, "my.server.com"
role  :db,  "my.server.com", :primary => true

namespace :custom do
  task :setup, :roles => [:app] do
    run "mkdir -p #{shared_path}/public/upload"
    run "mkdir -p #{shared_path}/vendor/rails"
    run "svn co http://svn.rubyonrails.org/rails/tags/rel_2-0-2
#{shared_path}/vendor/rails"
  end

  task :symlink, :roles => [:app] do
    run "ln -nfs #{shared_path}/public/upload #{current_path}/public/upload"
    run "ln -nfs #{shared_path}/vendor/rails #{current_path}/vendor/rails"
  end

end

task :restart, :roles => [:app] do
  run "chmod 0755 #{current_path}/public/dispatch.fcgi"
  run "/usr/local/bin/ruby #{current_path}/script/process/reaper -a reload"
end

after :setup,   "custom:setup"
after :symlink, "custom:symlink"
--

Any idea?
Thanks in advance,
Thomas.

--~--~---------~--~----~------------~-------~--~----~
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