def generate_commit_table(start_ref, end_ref):
 header = u'|| Author || Summary || Commit || JIRA || Release Notes? || Verified? ||'
 commit_link = u'[commit|https://github.com/edx/edx-platform/commit/{sha}]'
 rows = [header]
 commits = get_commits_not_in_prs(start_ref, end_ref)
 for commit in commits:
  rows.append(u'| {author} | {summary} | {commit} | {jira} | {release_notes} | {verified} |'.format(author=commit.author.email, summary=commit.summary.replace(u'|', u'\\|'), commit=commit_link.format(sha=commit.hexsha), jira=u', '.join(parse_ticket_references(commit.message)), release_notes=u'', verified=u''))
 return u'\n'.join(rows)

def generate_commit_table ( start_ref , end_ref ) : header = u'|| Author || Summary || Commit || JIRA || Release Notes? || Verified? ||' commit_link = u'[commit|https://github.com/edx/edx-platform/commit/{sha}]' rows = [ header ] commits = get_commits_not_in_prs ( start_ref , end_ref ) for commit in commits : rows . append ( u'| {author} | {summary} | {commit} | {jira} | {release_notes} | {verified} |' . format ( author = commit . author . email , summary = commit . summary . replace ( u'|' , u'\\|' ) , commit = commit_link . format ( sha = commit . hexsha ) , jira = u', ' . join ( parse_ticket_references ( commit . message ) ) , release_notes = u'' , verified = u'' ) ) return u'\n' . join ( rows )
return a string corresponding to a commit table to embed in comfluence .