On Sep 18, 2008, at 11:27 AM, Subbu wrote:
Thanks Jamis. I set up an rsa authentication between these 2 servers and its working fine.Do you have any plans to change git module to prompt for a password?
I do not, but if someone were to submit a patch I'd consider it. - Jamis
-subbu On Sep 17, 6:32 pm, Jamis Buck <[EMAIL PROTECTED]> wrote:The issue, it appears, is that git is asking for a password when it tries to do the clone on the remote server, and the git SCM module isn't set up to look for and respond to password prompts. The workaround would be to make sure you can do passwordless logins to your git repo server from your deployment server. (As root, if you're using sudo, though you shouldn't need sudo to do a git clone.) - Jamis On Sep 17, 2008, at 3:18 AM, Subbu wrote:Even a normal command like scp doesn't seem to respond. I replaced gitclone with "scp" so that all the files are copied to my deployment server. But that also waits for a password prompt and does nothing after I enter the password.On Sep 16, 5:02 pm, Subbu <[EMAIL PROTECTED]> wrote:Hi,I have integrated Wordpress into my Rails app and both these apps aremaintained as different git repo's. I have setup Cap to deploy the main Rails app and it works fine. But I have an after callback that will checkout/clone files from my wordpress repo and deploys to the public folder of main Rails app. This doesn't seem to work. Here is my log file:* executing "sudo -p 'sudo password: ' git clone -q [EMAIL PROTECTED]:/home/git/wordpress" servers: ["xxx.xxx.xxx.xxx"] [xxx.xxx.xxx.xxx] executing command ** [out :: xxx.xxx.xxx.xxx] [EMAIL PROTECTED]'s password: secret%^&At the last prompt I entered the git password but it's not respondingat all. It just stays there forever.Here is my task definition:desc "Deploy Wordpress" task :wp do run "cd #{current_path}/public" run "rm -rf wp" sudo "git clone -q #{wp_repo}" endWhat could be wrong? I tried replacing sudo with run, clone with checkout....nothing is working. Thanks -subbusmime.p7s 3KViewDownload--~--~---------~--~----~------------~-------~--~----~ To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/capistrano -~----------~----~----~----~------~----~------~--~---
smime.p7s
Description: S/MIME cryptographic signature
