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@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Search Discussions

  • Robert Walker at May 14, 2013 at 5:03 pm

    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@example.com
    ...
    ...

    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@googlegroups.com.
    To post to this group, send email to rubyonrails-talk@googlegroups.com.
    For more options, visit https://groups.google.com/groups/opt_out.
  • Frederick Cheung at May 14, 2013 at 5:17 pm

    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 a
    github 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@googlegroups.com.
    To post to this group, send email to rubyonrails-talk@googlegroups.com.
    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.

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
grouprubyonrails-talk @
categoriesrubyonrails
postedMay 10, '13 at 3:36p
activeMay 14, '13 at 5:17p
posts3
users3
websiterubyonrails.org
irc#RubyOnRails

People

Translate

site design / logo © 2021 Grokbase