@@ -1957,6 +1957,7 @@ def get_co_author_commits(co_author, commit, pr, installation_id):
19571957 # 3. Try to find user by email
19581958 if user is None :
19591959 try :
1960+ cla .log .debug (f"{ fn } - Lookup via GitHub email: { email } " )
19601961 user = github .get_github_user_by_email (email , installation_id )
19611962 except (GithubException , IncompletableObject , RateLimitExceededException ) as ex :
19621963 # user not found
@@ -1967,6 +1968,7 @@ def get_co_author_commits(co_author, commit, pr, installation_id):
19671968 if user is None :
19681969 try :
19691970 # Note that Co-authored-by: name <email> is not actually a GitHub login but rather a name - but we are trying hard to find a GitHub profile
1971+ cla .log .debug (f"{ fn } - Lookup via login=name: { name } " )
19701972 user = github .get_github_user_by_login (name , installation_id )
19711973 except (GithubException , IncompletableObject , RateLimitExceededException ) as ex :
19721974 # user not found
@@ -2007,7 +2009,7 @@ def get_co_author_commits(co_author, commit, pr, installation_id):
20072009 co_author_summary = UserCommitSummary (
20082010 commit .sha , None , None , name , email , False , False # default not authorized - will be evaluated and updated later
20092011 )
2010- cla .log .debug (f"{ fn } - co-author github user details not found : { co_author } " )
2012+ cla .log .debug (f"{ fn } - co-author github user details not found: { co_author } " )
20112013
20122014 github_user_cache .set ((name , email ), user )
20132015 return co_author_summary
0 commit comments