You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If the username (e.g. from Google Code SVN) is an email address we should try to query the Github API to find the user full name to complete authors.txt
Maybe Github has an API we can use.
If not, maybe we can
a) use git-test-authors to find out if the user is in github
b) scan the HTML page to find the user's github ID
Github API wrapper for python has a function called get_user() which has attribute 'email'
Maybe that can be used.
Example Code: import github g = github.Github(<API TOKEN>, user_agent='<User/Agent>) g.get_user(str(<username>)).email
This depends on issue #3
If the username (e.g. from Google Code SVN) is an email address we should try to query the Github API to find the user full name to complete authors.txt
Maybe Github has an API we can use.
If not, maybe we can
a) use git-test-authors to find out if the user is in github
b) scan the HTML page to find the user's github ID
c) checkout each repository under https://github.com/$USER
d) look through the user's repository to find the full name they use to commit - use that full name in authors.txt
The text was updated successfully, but these errors were encountered: