libvirt/scripts
Daniel P. Berrangé 4a5370ba41 src: rewrite driver name checker in Python
As part of a 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.

Tested-by: Cole Robinson <crobinso@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
2019-11-20 14:45:25 +00:00
..
augeas-gentest.py
check-aclperms.py src: rewrite ACL permissions checker in Python 2019-11-20 14:45:25 +00:00
check-drivername.py src: rewrite driver name checker in Python 2019-11-20 14:45:25 +00:00
check-symfile.py src: rewrite symfile library checker in Python 2019-11-20 14:45:25 +00:00
check-symsorting.py src: rewrite symfile sorting checker in Python 2019-11-20 14:45:25 +00:00
cocci-macro-file.h scripts: introduce a macro file for coccinelle 2019-10-21 12:51:54 +02:00
dtrace2systemtap.py src: rewrite systemtap probe generator in Python 2019-11-20 14:45:25 +00:00
gensystemtap.py src: rewrite systemtap function generator in Python 2019-11-20 14:45:25 +00:00
header-ifdef.py build-aux: rewrite header ifdef checker in Python 2019-11-20 14:45:25 +00:00
minimize-po.py build-aux: rewrite po file minimizer in Python 2019-10-18 13:54:03 +01:00
mock-noinline.py build-aux: rewrite mock inline checker in Python 2019-11-20 14:45:25 +00:00
prohibit-duplicate-header.py build-aux: rewrite duplicate header checker in Python 2019-11-18 17:24:31 +00:00