sourcerer-app icon indicating copy to clipboard operation
sourcerer-app copied to clipboard

git/github username mixup.

Open grabear opened this issue 6 years ago • 4 comments

I'm having an issue that's I think is related to (or at least compounded by) #370.

I'm having the repo processing issues. I only have 17 in my sorcerer.io profile, but if you look at GitHub I have 66 (some of them might be private), and that's not including the ones that I have in all of the organizations that I contribute to. https://sourcerer.io/grabear

Additionally, if you look at the repositories that are on my profile (OrthoEvolution for instance), they do not take into account that I have maybe used a different username or email when i committed locally. Maybe on one computer, I configured git with "[email protected]" and "Rob Gilmore", but on another system I used "[email protected]" and "Robert Gilmore". And on yet another system I simply used the name "grabear".

(See https://help.github.com/en/articles/set-up-git#setting-up-git)

My question is how does sourcerer.io get info about how many commits I've made on a repository? If it's by the git configured username that I've committed under, then it will only recognize 1 out of 3 usernames as myself. If it uses the git configured email then it would probably line up more often.

I realize that I should probably be more consistent with my git configurations. So is this something I need to change on my end (via https://help.github.com/en/articles/changing-author-info#changing-the-git-history-of-your-repository-using-a-script)? Or is there some inherent problem that I don't see?

grabear avatar May 18 '19 22:05 grabear

Bump on this. I'm experiencing the same thing and am wondering if there is a workaround.

mdiller avatar Dec 02 '19 21:12 mdiller

Apologies. I thought this was answered.

Sourcerer only looks at emails when matching commits. When you log in via GitHub, it gets the list of the emails that GitHub knows about and counts commits assigned to those emails. However, you can also add emails to the list. For this, go to https://sourcerer.io/settings#emails and add as many as you want. Then refresh your profile, and it should count all commits.

sergey48k avatar Dec 02 '19 22:12 sergey48k

Thanks, thats perfect!

mdiller avatar Dec 02 '19 23:12 mdiller

Hey! Thanks for the response 😃. Sourcerer.io is a really cool way to display github user stats.

Unfortunately, even after adding my other email address it still doesn't seem to add the proper repositories. (i have more than 26). It also doesn't recognize all of the commits that I've made. Here is an example of a large code-base that I created:

image

Unfortunately, I've used several git usernames so it registers that as different people. I don't want to change my git history just so it registers properly. Is there any way I can add these names to my profile?

Additionally, one of my most popular repositories doesn't show up on my profile. It was scanned and the status is marked as "ok", but it's not available on my profile at all.

image https://github.com/grabear/awesome-rshiny

Any thoughts on this? @sergey48k

grabear avatar Dec 06 '19 18:12 grabear