git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH 0/4] Drop Perl dependency in a couple of subsystems

From
Patrick Steinhardt <ps@pks.im>
Date
Apr 15, 2025, 09:57 UTC
Message-ID
<20250415-b4-pks-drop-perl-v1-0-c6addf175858@pks.im>
Hi,

this patch series is a follow-up to my recent series that got rid of our strict dependency on Perl for running our test suite [1]. The goal of it is to remove the dependency on Perl in a couple more areas:

  - git-filter-branch(1)
  - git-request-pull(1)
  - Building our documentation.

With these converted you can get a fully-functioning Git distribution with only a small handful of features missing:

  - gitweb.
  - Scripts to import repositories from GNU Arch, CVS and Subversion.
  - git-send-email.
  - Our Perl bindings, obviously.
  - The netrc credential helper from "contrib/".

None of these feel critical for day-to-day usage of Git, so Perl is now a truly-optional dependency of Git.

The series is built on top of 485f5f86361 (The fourth batch, 2025-04-08) with ps/test-wo-perl-prereq at 7a7b6022670 (t5703: refactor test to not depend on Perl, 2025-04-03) merged into it.

Thanks!
Patrick
[1]: <20250320-b4-pks-t-perlless-v1-0-b1eefe27ac55@pks.im>
---
Patrick Steinhardt (4):
      filter-branch: stop depending on Perl
      request-pull: stop depending on Perl
      Documentation: stop depending on Perl to massage user manual
      Documentation: stop depending on Perl to generate command list
 Documentation/Makefile      |   8 ++--
 Documentation/cmd-list.perl |  80 ----------------------------------
 Documentation/cmd-list.sh   | 104 ++++++++++++++++++++++++++++++++++++++++++++
 Documentation/fix-texi.perl |  15 -------
 Documentation/fix-texi.sh   |  21 +++++++++
 Documentation/meson.build   |   4 +-
 git-filter-branch.sh        |  37 ++++++++--------
 git-request-pull.sh         |  74 ++++++++++++++++---------------
 meson.build                 |   2 +-
 t/t5150-request-pull.sh     |   6 ---
 10 files changed, 191 insertions(+), 160 deletions(-)

--- base-commit: b09b3d4791ed248fed65de18cd6d8c084f7f0280 change-id: 20250409-b4-pks-drop-perl-574571234e3c

Next: Patrick Steinhardt
Message 1 of 14 in “Drop Perl dependency in a couple of subsystems”
  1. 0/4 Drop Perl dependency in a couple of subsystemsPatrick Steinhardt, Apr 15, 2025
  2. 1/4 filter-branch: stop depending on PerlPatrick Steinhardt, Apr 15, 2025
  3. Junio C HamanoApr 15, 2025
  4. 2/4 request-pull: stop depending on PerlPatrick Steinhardt, Apr 15, 2025
  5. Junio C HamanoApr 15, 2025
  6. Patrick SteinhardtApr 16, 2025
  7. 3/4 Documentation: stop depending on Perl to massage user manualPatrick Steinhardt, Apr 15, 2025
  8. 4/4 Documentation: stop depending on Perl to generate command listPatrick Steinhardt, Apr 15, 2025
  9. Junio C HamanoApr 15, 2025
  10. 0/4 Drop Perl dependency in a couple of subsystemsPatrick Steinhardt, Apr 16, 2025
  11. 1/4 filter-branch: stop depending on PerlPatrick Steinhardt, Apr 16, 2025
  12. 2/4 request-pull: stop depending on PerlPatrick Steinhardt, Apr 16, 2025
  13. 4/4 Documentation: stop depending on Perl to generate command listPatrick Steinhardt, Apr 16, 2025
  14. 3/4 Documentation: stop depending on Perl to massage user manualPatrick Steinhardt, Apr 16, 2025

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.