Hi Alex,

  I think you have two options:

    - Execute the command by hand "*svn checkout -q  -r3727 --username
user1 --password=123456 https://somedoain.com/somepath
home/user1/testproject//deploy/releases/20130911164628 && (echo 3727 >
/home/user1/testproject//deploy/releases/20130911164628/REVISION)*" and
then reply "no" as you wanted. Then try again to deploy, it shouldn't ask
for nothing again and run smooth.

   - It's override Capistrano::Deploy::SCM::Subversion.handle_data(state,
stream, text) method to understand that question("Please type 'yes' or
'no':") and let you reply it.

I recommend the first one.

At this moment I don't have more ideas, I hope it helps you.

Regards


2013/9/11 Alex <[email protected]>

> Hi all.
> local OS: opensuse
> remote OS: centos
> when I try to cap deploy:update capistrano hangs when remote host request
> user input
>
> cap deploy:update
>   * 2013-09-11 19:46:25 executing `deploy:update'
>  ** transaction: start
>   * 2013-09-11 19:46:25 executing `deploy:update_code'
>     executing locally: "svn info --username user1 --password=123456
> https://somedoain.com/somepath  -rHEAD"
>
>
>     command finished in 3360ms
>   * executing "svn checkout -q  -r3727 --username user1 --password=123456
> https://somedoain.com/somepath  
> home/user1/testproject//deploy/releases/20130911164628
> && (echo 3727 >
> /home/user1/testproject//deploy/releases/20130911164628/REVISION)"
>
>
>     servers: ["192.168.1.16"]
> Password:
>     [192.168.1.16] executing command
>  ** [192.168.1.16 :: out]
>  ** -----------------------------------------------------------------------
>  ** ATTENTION!  Your password for authentication realm:
>  **
>  ** <https://somedoain.com:443> Subversion repository
>  **
>  ** can only be stored to disk unencrypted!  You are advised to configure
>  ** your system so that Subversion can store passwords encrypted, if
>  ** possible.  See the documentation for details.
>  **
>  ** You can avoid future appearances of this warning by setting the value
>  ** of the 'store-plaintext-passwords' option to either 'yes' or 'no' in
>  ** '/home/user1/.subversion/servers'.
>  ** -----------------------------------------------------------------------
>  ** Store password unencrypted (yes/no)?
>  ** [192.168.1.16 :: out] "123456"
>  ** Please type 'yes' or 'no':
>
> I enter no and then no actions
>
> --
> --
> * You received this message because you are subscribed to the Google
> Groups "Capistrano" group.
> * To post to this group, send email to [email protected]
> * To unsubscribe from this group, send email to
> [email protected] For more options, visit this
> group at http://groups.google.com/group/capistrano?hl=en
> ---
> You received this message because you are subscribed to the Google Groups
> "Capistrano" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/groups/opt_out.
>

-- 
-- 
* You received this message because you are subscribed to the Google Groups 
"Capistrano" group.
* To post to this group, send email to [email protected]
* To unsubscribe from this group, send email to 
[email protected] For more options, visit this group at 
http://groups.google.com/group/capistrano?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Capistrano" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to