Functions | Variables
release_notes Namespace Reference

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
 

Function Documentation

◆ build_args_parser()

def release_notes.build_args_parser ( )

Definition at line 289 of file release_notes.py.

◆ get_commit_log()

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.

◆ get_pr_data()

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.

◆ get_pr_titles()

def release_notes.get_pr_titles (   gitLogs)

Definition at line 116 of file release_notes.py.

◆ main()

def release_notes.main ( )

Definition at line 320 of file release_notes.py.

◆ write_draft()

def release_notes.write_draft (   langs_pr,
  file,
  version,
  date 
)

Definition at line 184 of file release_notes.py.

◆ write_rel_notes()

def release_notes.write_rel_notes (   langs_pr,
  file,
  version,
  name 
)

Definition at line 230 of file release_notes.py.

Variable Documentation

◆ API_URL

string release_notes.API_URL = 'https://api.github.com/repos/grpc/grpc/pulls/'

Definition at line 86 of file release_notes.py.

◆ content_header

string release_notes.content_header

Definition at line 37 of file release_notes.py.

◆ HTML_URL

string release_notes.HTML_URL = "https://github.com/grpc/grpc/pull/"

Definition at line 85 of file release_notes.py.

◆ level

release_notes.level

Definition at line 35 of file release_notes.py.

◆ rl_header

string release_notes.rl_header
Initial value:
1 = """This is release {version} ([{name}](https://github.com/grpc/grpc/blob/master/doc/g_stands_for.md)) of gRPC Core.
2 
3 For gRPC documentation, see [grpc.io](https://grpc.io/). For previous releases, see [Releases](https://github.com/grpc/grpc/releases).
4 
5 This release contains refinements, improvements, and bug fixes, with highlights listed below.
6 
7 
8 """

Definition at line 76 of file release_notes.py.



grpc
Author(s):
autogenerated on Fri May 16 2025 03:03:43