Functions | |
def | build_args_parser () |
def | get_commit_log (prevRelLabel, relBranch) |
def | get_pr_data (pr_num) |
def | get_pr_titles (gitLogs) |
def | main () |
def | write_draft (langs_pr, file, version, date) |
def | write_rel_notes (langs_pr, file, version, name) |
Variables | |
string | API_URL = 'https://api.github.com/repos/grpc/grpc/pulls/' |
string | content_header |
string | HTML_URL = "https://github.com/grpc/grpc/pull/" |
level | |
string | rl_header |
def release_notes.build_args_parser | ( | ) |
Definition at line 289 of file release_notes.py.
def release_notes.get_commit_log | ( | prevRelLabel, | |
relBranch | |||
) |
Return the output of 'git log prevRelLabel..relBranch'
Definition at line 89 of file release_notes.py.
def release_notes.get_pr_data | ( | pr_num | ) |
Get the PR data from github. Return 'error' on exception
Definition at line 101 of file release_notes.py.
def release_notes.get_pr_titles | ( | gitLogs | ) |
Definition at line 116 of file release_notes.py.
def release_notes.main | ( | ) |
Definition at line 320 of file release_notes.py.
def release_notes.write_draft | ( | langs_pr, | |
file, | |||
version, | |||
date | |||
) |
Definition at line 184 of file release_notes.py.
def release_notes.write_rel_notes | ( | langs_pr, | |
file, | |||
version, | |||
name | |||
) |
Definition at line 230 of file release_notes.py.
string release_notes.API_URL = 'https://api.github.com/repos/grpc/grpc/pulls/' |
Definition at line 86 of file release_notes.py.
string release_notes.content_header |
Definition at line 37 of file release_notes.py.
string release_notes.HTML_URL = "https://github.com/grpc/grpc/pull/" |
Definition at line 85 of file release_notes.py.
release_notes.level |
Definition at line 35 of file release_notes.py.
string release_notes.rl_header |
Definition at line 76 of file release_notes.py.