From: Breno Rodrigues Alves <breno3011alves@gmail.com>
To: linux-kernel@vger.kernel.org
Cc: Andy Whitcroft <apw@canonical.com>, Joe Perches <joe@perches.com>,
Dwaipayan Ray <dwaipayanray1@gmail.com>,
Lukas Bulwahn <lukas.bulwahn@gmail.com>,
Breno Rodrigues Alves <breno3011alves@gmail.com>
Subject: [RFC PATCH v2 0/7] scripts: convert remaining Perl utilities in scripts/
Date: Sun, 18 Oct 2026 10:57:15 -0300 [thread overview]
Message-ID: <20261018135722.27410-1-breno3011alves@gmail.com> (raw)
In-Reply-To: <20261018112838.16355-1-breno3011alves@gmail.com>
v2 changes since v1:
- Fix the location of two converted scripts: kconfig-sym-check.py
and streamline_config.py belong in scripts/kconfig/, not in
scripts/ root, to match the path of their original .pl files.
Both are now added at the correct path from the start.
This series converts the last seven Perl utilities in scripts/ to
Python 3. After this series, scripts/ contains no remaining Perl
utilities pending conversion (the original .pl files are kept for
coexistence, matching the pattern of the earlier conversions).
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:
- checkstack.pl -> checkstack.py
- extract-module-sig.pl -> extract-module-sig.py
- extract-sys-certs.pl -> extract-sys-certs.py
- headerdep.pl -> headerdep.py
- kconfig-sym-check.pl -> scripts/kconfig/kconfig-sym-check.py
- parse-maintainers.pl -> parse-maintainers.py
- streamline_config.pl -> scripts/kconfig/streamline_config.py
Five of the seven were verified byte-for-byte identical to their
Perl counterparts. The remaining two (extract-sys-certs,
streamline_config) depend on build artifacts (vmlinux, .config)
and are 1:1 ports of the Perl logic.
Breno Rodrigues Alves (7):
scripts: convert checkstack.pl to Python
scripts: convert extract-module-sig.pl to Python
scripts: convert extract-sys-certs.pl to Python
scripts: convert headerdep.pl to Python
scripts: convert kconfig-sym-check.pl to Python
scripts: convert parse-maintainers.pl to Python
scripts: convert streamline_config.pl to Python
Breno Rodrigues Alves (7):
scripts: convert checkstack.pl to Python
scripts: convert extract-module-sig.pl to Python
scripts: convert extract-sys-certs.pl to Python
scripts: convert headerdep.pl to Python
scripts: convert kconfig-sym-check.pl to Python
scripts: convert parse-maintainers.pl to Python
scripts: convert streamline_config.pl to Python
scripts/checkstack.py | 143 ++++++++
scripts/extract-module-sig.py | 103 ++++++
scripts/extract-sys-certs.py | 132 ++++++++
scripts/headerdep.py | 137 ++++++++
scripts/kconfig/kconfig-sym-check.py | 177 ++++++++++
scripts/kconfig/streamline_config.py | 475 +++++++++++++++++++++++++++
scripts/parse-maintainers.py | 136 ++++++++
7 files changed, 1303 insertions(+)
create mode 100755 scripts/checkstack.py
create mode 100755 scripts/extract-module-sig.py
create mode 100755 scripts/extract-sys-certs.py
create mode 100755 scripts/headerdep.py
create mode 100755 scripts/kconfig/kconfig-sym-check.py
create mode 100755 scripts/kconfig/streamline_config.py
create mode 100755 scripts/parse-maintainers.py
--
2.43.0
next prev parent reply other threads:[~2026-10-18 13:57 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-10-18 11:28 [RFC PATCH " Breno Rodrigues Alves
2026-10-18 11:28 ` [RFC PATCH 1/7] scripts: convert checkstack.pl to Python Breno Rodrigues Alves
2026-10-18 11:28 ` [RFC PATCH 2/7] scripts: convert extract-module-sig.pl " Breno Rodrigues Alves
2026-10-18 11:28 ` [RFC PATCH 3/7] scripts: convert extract-sys-certs.pl " Breno Rodrigues Alves
2026-10-18 11:28 ` [RFC PATCH 4/7] scripts: convert headerdep.pl " Breno Rodrigues Alves
2026-10-18 11:28 ` [RFC PATCH 5/7] scripts: convert kconfig-sym-check.pl " Breno Rodrigues Alves
2026-10-18 11:28 ` [RFC PATCH 6/7] scripts: convert parse-maintainers.pl " Breno Rodrigues Alves
2026-10-18 11:28 ` [RFC PATCH 7/7] scripts: convert streamline_config.pl " Breno Rodrigues Alves
2026-10-18 13:57 ` Breno Rodrigues Alves [this message]
2026-10-18 13:57 ` [RFC PATCH v2 1/7] scripts: convert checkstack.pl " Breno Rodrigues Alves
2026-10-18 13:57 ` [RFC PATCH v2 2/7] scripts: convert extract-module-sig.pl " Breno Rodrigues Alves
2026-10-18 13:57 ` [RFC PATCH v2 3/7] scripts: convert extract-sys-certs.pl " Breno Rodrigues Alves
2026-10-18 13:57 ` [RFC PATCH v2 4/7] scripts: convert headerdep.pl " Breno Rodrigues Alves
2026-10-18 13:57 ` [RFC PATCH v2 5/7] scripts: convert kconfig-sym-check.pl " Breno Rodrigues Alves
2026-10-18 13:57 ` [RFC PATCH v2 6/7] scripts: convert parse-maintainers.pl " Breno Rodrigues Alves
2026-10-18 13:57 ` [RFC PATCH v2 7/7] scripts: convert streamline_config.pl " Breno Rodrigues Alves
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20261018135722.27410-1-breno3011alves@gmail.com \
--to=breno3011alves@gmail.com \
--cc=apw@canonical.com \
--cc=dwaipayanray1@gmail.com \
--cc=joe@perches.com \
--cc=linux-kernel@vger.kernel.org \
--cc=lukas.bulwahn@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®