logo       

Re: Capistrano 2.0.0 => 2.1.0 no prompt for SSH password, non-root user ca: msg#00152

lang.ruby.capistrano.general

Subject: Re: Capistrano 2.0.0 => 2.1.0 no prompt for SSH password, non-root user can't run "cap" at all

cap2 uses scm_username and scm_password, rather than the svn_* options that cap1 used.

- Jamis

On Nov 22, 2007, at 3:55 PM, VPC wrote:


Hi.

I'm using next options, and I found that capistrano doesn't asks me
for the svn password, so it can't log into the svn account and
download the updates.
How can I do it?

Thanks in advance.

#
====================================================================== =======
# SVN OPTIONS
#
====================================================================== =======
set :svn_user, ENV['svn_user'] ||
Proc.new { Capistrano::CLI.password_prompt('SVN User: ') }
set :svn_password, Proc.new { Capistrano::CLI.password_prompt('SVN
Password: ') }
set :repository,
"svn+ssh://#{svn_user}@babel.ls.fi.upm.es/srv/svn/ggcc-questionnaire/
trunk"
# Proc.new { "--username #{svn_user} " +
# "--password #{svn_password} " +
# "http://your.domain.tld/path/to/svn/#{application}/
trunk/" }

--~--~---------~--~----~------------~-------~--~----~
To unsubscribe from this group, send email to capistrano- unsubscribe-/JYPxA39Uh5TLH3MbocFFw@xxxxxxxxxxxxxxxx
For more options, visit this group at http://groups.google.com/ group/capistrano
-~----------~----~----~----~------~----~------~--~---


Attachment: smime.p7s
Description: S/MIME cryptographic signature

<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise