[RFC PATCH 0/7] scripts: convert seven more Perl utilities to Python

From: Breno Rodrigues Alves

Date: Sun Oct 18 2026 - 07:07:06 EST


This series converts seven more Perl utilities in scripts/ to
Python 3, following the checkpatch.py + bootgraph.py +
checkincludes.py + markup_oops.py + profile2linkerlist.py
series already submitted.

Each conversion is a faithful 1:1 port: same CLI, same output,
same behavior. All use only the Python standard library.

The seven scripts are:
- checkdeclares.pl -> checkdeclares.py
- checkversion.pl -> checkversion.py
- extract_xc3028.pl -> extract_xc3028.py
- generate_initcall_order.pl -> generate_initcall_order.py
- get_maintainer.pl -> get_maintainer.py
- leaking_addresses.pl -> leaking_addresses.py
- recordmcount.pl -> recordmcount.py

Verified byte-for-byte identical to the Perl versions for the
scripts that have deterministic output. recordmcount.py tested
for x86_64 and arm64.

Not implemented in get_maintainer.py: --interactive, --self-test,
--git-blame. These can be added in follow-up patches.

Breno Rodrigues Alves (7):
scripts: convert checkdeclares.pl to Python
scripts: convert checkversion.pl to Python
scripts: convert extract_xc3028.pl to Python
scripts: convert generate_initcall_order.pl to Python
scripts: convert get_maintainer.pl to Python
scripts: convert leaking_addresses.pl to Python
scripts: convert recordmcount.pl to Python

--
2.43.0