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(['git', 'log',
18 '--oneline', starttag + '..' + endtag,
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"\|")
30 print("| [%s](https://gerrit.fd.io/r/gitweb?"
31 "p=vpp.git;a=commit;h=%s) | %s |" % (
32 commit, commit, message))