mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [RFC PATCH 0/7] scripts: convert seven more Perl utilities to Python
@ 2026-10-18 11:06 Breno Rodrigues Alves
  2026-10-18 11:06 ` [RFC PATCH 1/7] scripts: convert checkdeclares.pl " Breno Rodrigues Alves
                   ` (7 more replies)
  0 siblings, 8 replies; 11+ messages in thread
From: Breno Rodrigues Alves @ 2026-10-18 11:06 UTC (permalink / raw)
  To: linux-kernel
  Cc: Andy Whitcroft, Joe Perches, Dwaipayan Ray, Lukas Bulwahn,
	Breno Rodrigues Alves

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


^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2026-10-19 10:05 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-18 11:06 [RFC PATCH 0/7] scripts: convert seven more Perl utilities to Python Breno Rodrigues Alves
2026-10-18 11:06 ` [RFC PATCH 1/7] scripts: convert checkdeclares.pl " Breno Rodrigues Alves
2026-10-18 11:06 ` [RFC PATCH 2/7] scripts: convert checkversion.pl " Breno Rodrigues Alves
2026-10-18 11:06 ` [RFC PATCH 3/7] scripts: convert extract_xc3028.pl " Breno Rodrigues Alves
2026-10-18 11:06 ` [RFC PATCH 4/7] scripts: convert generate_initcall_order.pl " Breno Rodrigues Alves
2026-10-18 11:06 ` [RFC PATCH 5/7] scripts: convert get_maintainer.pl " Breno Rodrigues Alves
2026-10-18 11:06 ` [RFC PATCH 6/7] scripts: convert leaking_addresses.pl " Breno Rodrigues Alves
2026-10-18 11:06 ` [RFC PATCH 7/7] scripts: convert recordmcount.pl " Breno Rodrigues Alves
2026-10-18 20:59 ` [RFC PATCH 0/7] scripts: convert seven more Perl utilities " Jonathan Corbet
2026-10-18 23:19   ` Breno Rodrigues Alves
2026-10-19 10:05     ` Heiko Carstens

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®