2 from __future__ import print_function
7 starttag = "v19.08-rc0"
12 for root, dirnames, filenames in os.walk("."):
13 for filename in fnmatch.filter(filenames, "*.api"):
14 apifiles.append(os.path.join(root, filename))
17 commits = subprocess.check_output(
18 ["git", "log", "--oneline", starttag + ".." + endtag, f]
24 print("| @c %s ||" % f)
25 print("| ------- | ------- |")
26 for line in commits.splitlines():
27 parts = line.strip().split()
29 message = b" ".join(parts[1:]).decode().replace("|", r"\|")
31 "| [%s](https://gerrit.fd.io/r/gitweb?"
32 "p=vpp.git;a=commit;h=%s) | %s |" % (commit, commit, message)