Re: [PATCH v5 10/23] src: rewrite driver name checker in Python

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 check-drivername.pl tool in Python.
> 
> This was mostly a straight conversion, manually going line-by-line
> to change the syntax from Perl to Python. Thus the overall structure
> of the file and approach is the same.
> 
> In testing though it was discovered the existing code was broken
> since it hadn't been updated after driver.h was split into many
> files. Since the old code is being thrown away, the fix was done
> as part of the rewrite rather than split into a separate commit.
> 
> Signed-off-by: Daniel P. Berrangé <berrange@xxxxxxxxxx>
> ---
>  Makefile.am                 |   1 +
>  scripts/check-drivername.py | 114 ++++++++++++++++++++++++++++++++++++
>  src/Makefile.am             |  18 ++++--
>  src/check-drivername.pl     |  83 --------------------------
>  4 files changed, 129 insertions(+), 87 deletions(-)
>  create mode 100644 scripts/check-drivername.py
>  delete mode 100755 src/check-drivername.pl

There's a check-drivername.pl usage still in src/admin/Makefile.inc.am
after this

- Cole

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux