In the capistrano wiki, it contains this line: set :scm_username, “foo”. If you access your source repository with a different user name than you are logged into your local machine with, Capistrano needs to know. Actually the way I access my repository through my app is through ssh keys. The only user name I have with github is the one I use to log into github to view my repositories. So I''m not sure if scm_username is needed and what username does it want. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit https://groups.google.com/groups/opt_out.
John Merlino wrote in post #1108530:> In the capistrano wiki, it contains this line: > > set :scm_username, foo. If you access your source repository with a > different user name than you are logged into your local machine with, > Capistrano needs to know. > > Actually the way I access my repository through my app is through ssh > keys. The only user name I have with github is the one I use to log > into github to view my repositories. > > So I''m not sure if scm_username is needed and what username does it > want.If I''m not mistaken, they are not talking about your GitHub username (or wherever you''re hosing your repository). They are talking about the Git username that you set with git config. $ git config --list user.name=Robert Walker user.email=name-hcDgGtZH8xNBDgjK7y7TUQ@public.gmane.org ... ... This information will show up in git log indicating the author of the changes at the time they were committed. It has nothing to do with authentication for accessing the Git repository. That, as you mentioned, is handled separately from :scm_username thorough something like ssh as you mentioned. -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit https://groups.google.com/groups/opt_out.
On Friday, May 10, 2013 4:36:18 PM UTC+1, John Merlino wrote:> > In the capistrano wiki, it contains this line: > > set :scm_username, “foo”. If you access your source repository with a > different user name than you are logged into your local machine with, > Capistrano needs to know. > > Actually the way I access my repository through my app is through ssh > keys. The only user name I have with github is the one I use to log > into github to view my repositories. > > There is still an associated user name - you added your ssh key to agithub account - what is the name of that account ? Fred -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/b4c52b21-2c0f-438f-b979-19b7b8c3600b%40googlegroups.com?hl=en-US. For more options, visit https://groups.google.com/groups/opt_out.