vppapigen: crcchecker: report in-progress messages 79/28879/2
authorAndrew Yourtchenko <ayourtch@gmail.com>
Wed, 16 Sep 2020 09:48:59 +0000 (09:48 +0000)
committerOle Tr�an <otroan@employees.org>
Wed, 16 Sep 2020 13:56:15 +0000 (13:56 +0000)
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>
extras/scripts/crcchecker.py

index c25510d..7929374 100755 (executable)
@@ -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: