From a87deb77da4bd4a0aa85721f7a400590bcecd348 Mon Sep 17 00:00:00 2001 From: Andrew Yourtchenko Date: Wed, 16 Sep 2020 09:48:59 +0000 Subject: 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 (cherry picked from commit 8b0cd69d31a50e7f4a454d45e903c6cdaf23fbfe) --- extras/scripts/crcchecker.py | 6 ++++++ 1 file changed, 6 insertions(+) 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: -- cgit 1.2.3-korg