#6860 wrong user assiciated to commit

assigned
Chris Tsai
pycam
2014-03-06
2014-02-24
Lode Leroy
No

I committed some code to the pycam++ git repositiory under the project pycam.

For some reason, it is associated to an account "u/lleroy" that appears to be a certain "Laurent".

I do also use "lleroy" as username, but not on sourceforge, and I have no idea how the ssh key got associated with the "u/lleroy" handle.

Could you have a look into why this is?
Would it be possible to change the user name of those 2 commits to lode_leroy?

thanks.
sincerely, Lode Leroy

Related

Apache Allura: Tickets: #7248

Discussion

  • Chris Tsai
    Chris Tsai
    2014-02-25

    • status: unread --> pending
    • assigned_to: Chris Tsai
     
  • Chris Tsai
    Chris Tsai
    2014-02-25

    Greetings,

    Could you indicate where you see the commits associated with the "lleroy" account on SourceForge?

    I see the the author as "lleroy" on a number commits, but it's not hyperlinked to the "lleroy" user profile. If the author name is just plain text, and not a link, that typically means that we weren't able to determine the correct account to be associated to.

    The name that is shown is identified by the information on the git commit. For example, from the repo in question:

    $ git log
    commit 26f65a9913c5331b55a8f3484bc02707cd44b108
    Merge: 225a19d 5aa53a3
    Author: lleroy <redacted>
    Date:   Tue Feb 25 08:57:47 2014 +0100
    
        fix from git://git.highlab.com/git/pycam.git
    

    I also note that the email address associated with that commit is neither the email address associated with your SourceForge account, nor your user mail alias (ie., "lode_leroy@users.sf.net"), which is likely why these commits aren't linked to your account.

    In any case, if you want to change the display, you'll need to change the record on your git repository. Once you've changed the history, you may also need to make some config changes on the server side repostiory via the shell service in order to accept the non-fast-forward changes.

    Let me know if this helps!

    Regards,
    Chris Tsai, SourceForge.net Support

     
  • Lode Leroy
    Lode Leroy
    2014-03-03

    I just notice that ssh public key has an email address "lleroy@VDBPC017". (which is a local account)
    However, this should be unrelated to the account on sourceforge (lode_leroy), I think.

    on this page:

    https://sourceforge.net/p/pycam/activity/?page=0&limit=100#530da3efe88f3d7642135431

    these commits:

    6 days ago
    Laurent committed [225a19]

    fix from git://git.highlab.com/git/pycam.git
    6 days ago
    Laurent committed [26f65a]

    fix from git://git.highlab.com/git/pycam.git
    6 days ago
    Laurent committed [5aa53a]

    fix from git://git.highlab.com/git/pycam.git

     
  • Lode Leroy
    Lode Leroy
    2014-03-03

    in my gitconfig, I do have "user.name=lleroy" and "user.email=lode.leroy@gmail.com"

    but I think this should not be linked:
    the ssh key used for the commit should be matched to the userprofile on sourceforge,
    not the username.

     
  • Chris Tsai
    Chris Tsai
    2014-03-06

    • labels: --> engr, nf-7248
    • status: pending --> assigned
     
  • Chris Tsai
    Chris Tsai
    2014-03-06

    Okay, it seems that erroneous fallback behavior is only in the "activity" section. I've logged a ticket with our team to remove that behavior here: [allura:tickets:#7248]

    Regards,
    Chris Tsai, SourceForge.net Support

     

    Related

    Apache Allura: Tickets: #7248