aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xextras/scripts/list_api_changes.py15
1 files changed, 15 insertions, 0 deletions
diff --git a/extras/scripts/list_api_changes.py b/extras/scripts/list_api_changes.py
new file mode 100755
index 00000000000..9e80925b2aa
--- /dev/null
+++ b/extras/scripts/list_api_changes.py
@@ -0,0 +1,15 @@
+#!/usr/bin/env python
+import os, fnmatch, subprocess
+starttag = 'v18.01-rc0'
+endtag = 'v18.01-rc2'
+apifiles = []
+for root, dirnames, filenames in os.walk('.'):
+ for filename in fnmatch.filter(filenames, '*.api'):
+ apifiles.append(os.path.join(root, filename))
+for f in apifiles:
+ commits = subprocess.check_output(['git', 'log',
+ '--oneline', starttag + '..' + endtag,
+ f])
+ if commits:
+ print f
+ print commits