aboutsummaryrefslogtreecommitdiffstats
path: root/extras/scripts/crcchecker.py
diff options
context:
space:
mode:
authorAndrew Yourtchenko <ayourtch@gmail.com>2020-09-16 09:48:59 +0000
committerAndrew Yourtchenko <ayourtch@gmail.com>2020-09-16 15:53:00 +0000
commita87deb77da4bd4a0aa85721f7a400590bcecd348 (patch)
tree30a1ca74cbf458e942a7bbab71ecd03295c8514c /extras/scripts/crcchecker.py
parent4035daffd540c23db1195216303cba79e8ca17c3 (diff)
vppapigen: crcchecker: report in-progress messagesv20.09-rc2
in-progress messages do not give any API stability guarantees, by design, to allow easy iteration. Provide an easy way to know which messages are in-progress. If as a user you see "in-progress" message that you want to use in production, please contact the feature owner and discuss the path to removing the "in-progress" status before that. Change-Id: I27729995e26a70af373e642b871dbb5cc5526959 Type: improvement Signed-off-by: Andrew Yourtchenko <ayourtch@gmail.com> (cherry picked from commit 8b0cd69d31a50e7f4a454d45e903c6cdaf23fbfe)
Diffstat (limited to 'extras/scripts/crcchecker.py')
-rwxr-xr-xextras/scripts/crcchecker.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/extras/scripts/crcchecker.py b/extras/scripts/crcchecker.py
index c25510d08e4..7929374c5c8 100755
--- a/extras/scripts/crcchecker.py
+++ b/extras/scripts/crcchecker.py
@@ -110,6 +110,12 @@ def is_in_progress(d, k):
def report(new, old):
added, removed, modified, same = dict_compare(new, old)
backwards_incompatible = 0
+ # print the full list of in-progress messages
+ # they should eventually either disappear of become supported
+ for k in new.keys():
+ newversion = int(new[k]['version'])
+ if newversion == 0 or is_in_progress(new, k):
+ print(f'in-progress: {k}')
for k in added:
print(f'added: {k}')
for k in removed: