OK thanks for that info. Should references to 'git_https_username' and 'git_https_password' be removed from the Cap3 Readme??
See https://github.com/capistrano/capistrano#configuration On Thursday, November 7, 2013 12:19:38 AM UTC-8, Lee Hambley wrote: > > Git https username and password don't have standalone variables anymore, > encofeot in the URL as you have been doing or just use SSH. > > The main background reason is that Git is badly behaved when prompting for > input. You might also look at using a .netrc file if you must stick with > https. > > The cap3 philosophy is to lean on and use other tools correctly rather > than adding custom, non standard ways of doing everything. > On 7 Nov 2013 08:21, "Andy L" <[email protected] <javascript:>> wrote: > >> It doesn't seem to me that 'git_https_username' and 'git_https_password' >> make any difference. >> >> I'm using it like: >> >> set :repo_url, "https://github.com/myname/myrepo.git" >> set :git_https_username, "myusername" >> set :git_https_password, "mypassword" >> >> When I run 'cap <target> git:check', it fails with an authentication >> error. >> >> My workaround is to use: >> >> set :repo_url, " >> https://myusername:[email protected]/myname/myrepo.git" >> >> That works - but - it displays the plain-text password on the console. >> :-( >> >> Is there a way to make git_https_username / git_https_password work, and >> is there a way to hide the password on the console ? >> >> >> -- >> -- >> * You received this message because you are subscribed to the Google >> Groups "Capistrano" group. >> * To post to this group, send email to [email protected]<javascript:> >> * To unsubscribe from this group, send email to >> [email protected] <javascript:> 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] <javascript:>. >> 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.
