aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Yourtchenko <ayourtch@gmail.com>2020-09-16 09:48:59 +0000
committerOle Tr�an <otroan@employees.org>2020-09-16 13:56:15 +0000
commit8b0cd69d31a50e7f4a454d45e903c6cdaf23fbfe (patch)
tree5be306027a2e50c9f14d065c1513988d40c6b9e3
parent8c91b2ae2b32d428ef35605707788fe064621cb3 (diff)
vppapigen: crcchecker: report in-progress messages
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>
-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: