D | check.py | 74 def pretty_print_commit(commit, github_url, **kwargs): argument 75 print("- %s `%s`" % (commit.commit.hexsha[:7], commit.commit.summary)) 76 print("\t- Authored by %s <%s>" % (commit.commit.author.name, commit.commit.author.email)) 77 print("\t- Committed at %s" % commit.commit.committed_datetime.isoformat()) 78 print("\t- GitHub Link: %s" % "%s/commit/%s" % (github_url, commit.commit.hexsha)) 95 for commit in repo.iter_commits(rev_range): 96 match = re.search(r"^(\w+-\d+) ", commit.message) 98 yield ICUCommit(match.group(1), commit) 100 yield ICUCommit(None, commit) 174 commit_issue_ids = set(commit.issue_id for commit in commits if commit.issue_id is not None) [all …]
|