-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Get GitLab avatar by email #302
Comments
Thanks — appreciate the kind words. This request is very similar to #281 and unfortunately my response is the same (at least at this point). See #281 (comment)
|
Okay :), I might have some time to look into it. |
You don't need to run vscode from source, just GitLens. Just clone the repo, run FYI, just so you know for me to accept a PR around this, it can't negatively affect performance (startup or otherwise) and it can't interfere with offline support. |
Also this should be a somewhat generic solution that can be used for GitHub and other providers that have avatar support. |
Jeah I was looking at the remotes folder and can use the url of the repo to deduct what kind of repo someone has. Private repos like gitlab, mostly still have the word GitLab in it. Github is more straight forward.
|
FYI, GitLens already parses remotes -- which you can get access too by using |
This should be pretty easy to implement now as the infrastructure is there for GitHub, and should be copy-able for GitLab |
I'm not sure if this is the correct issue, but currently GitLens+ doesn't seem to pull my correct GitLab avatar: https://gitlab.com/Nezteb Even if it did fallback to Gravatar, it should be using: I've verified that the commits have my correct email associated with them. The other randomized avatar is a coworker's, but his GitLab avatar is not set, so for him this is correct behavior. Another odd thing is that despite having the avatar style set to If there are any good ideas for debugging steps, let me know! I don't have any other git-related plugins installed, which is the only reason I'm assuming it's |
Refactor Github avatar function into a generic NoreplyAddress function with Gitlab avatar option Closes gitkraken#302
Refactor Github avatar function into a generic NoreplyAddress function with Gitlab avatar option Closes gitkraken#302
Refactor Github avatar function into a generic NoreplyAddress function with Gitlab avatar option Closes gitkraken#302
In my company, we use GitLab and the user name is different from the name one commits with. This is due to our LDAP connection, which gives you a username like
JDO
forJohn Doe
. Now I can't look at the person's face when viewing ones commits if they got registered after the LDAP connection.. :(But the positive thing is that you can search a user's info by email. :)
You can do:
https://gitlaburl/api/v4/users?username=john.doe@company.com
Btw, I loved what you did with the WYSIWYG settings editor.
The text was updated successfully, but these errors were encountered: