Code Review
/
vpp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
e927f9a
)
Script to list patches that changed api files.
39/12039/1
author
Dave Wallace
<
[email protected]
>
Wed, 24 Jan 2018 05:51:22 +0000
(
00:51
-0500)
committer
Chris Luke
<
[email protected]
>
Tue, 24 Apr 2018 04:05:45 +0000
(
04:05
+0000)
- Add Ole Troan's script from vpp-dev email:
https://lists.fd.io/pipermail/vpp-dev/2017-October/007037.html
Change-Id: I0cbf5118169dc25f0edd659a5a9f5cde8619f780
Signed-off-by: Dave Wallace <
[email protected]
>
(cherry picked from commit
b0a517b6c881ad82ac15e52e832056314216058d
)
extras/scripts/list_api_changes.py
[new file with mode: 0755]
patch
|
blob
diff --git a/extras/scripts/list_api_changes.py
b/extras/scripts/list_api_changes.py
new file mode 100755
(executable)
index 0000000..
9e80925
--- /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