Dave Wallace | d5ae97c | 2018-01-24 00:51:22 -0500 | [diff] [blame^] | 1 | #!/usr/bin/env python |
2 | import os, fnmatch, subprocess | ||||
3 | starttag = 'v18.01-rc0' | ||||
4 | endtag = 'v18.01-rc2' | ||||
5 | apifiles = [] | ||||
6 | for root, dirnames, filenames in os.walk('.'): | ||||
7 | for filename in fnmatch.filter(filenames, '*.api'): | ||||
8 | apifiles.append(os.path.join(root, filename)) | ||||
9 | for f in apifiles: | ||||
10 | commits = subprocess.check_output(['git', 'log', | ||||
11 | '--oneline', starttag + '..' + endtag, | ||||
12 | f]) | ||||
13 | if commits: | ||||
14 | print f | ||||
15 | print commits |