[libvirt] [PATCH v5 14/23] src: rewrite remote protocol checker in Python

Cole Robinson crobinso at redhat.com
Mon Nov 18 18:57:34 UTC 2019


On 11/11/19 9:38 AM, Daniel P. Berrangé wrote:
> As part of an goal to eliminate Perl from libvirt build tools,
> rewrite the pdwtags processing script in Python.
> 
> The original inline shell and perl code was completely
> unintelligible. The new python code is a manual conversion
> that attempts todo basically the same thing.
> 
> Signed-off-by: Daniel P. Berrangé <berrange at redhat.com>
> ---
>  Makefile.am                      |   1 +
>  build-aux/syntax-check.mk        |   3 +-
>  scripts/check-remote-protocol.py | 136 +++++++++++++++++++++++++++++++
>  src/Makefile.am                  |  98 ++++------------------
>  4 files changed, 155 insertions(+), 83 deletions(-)
>  create mode 100644 scripts/check-remote-protocol.py

I verified the script detected a difference in src/qemu_protocol-structs

Tested-by: Cole Robinson <crobinso at redhat.com>

- Cole




More information about the libvir-list mailing list