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

Re: Oldest supported Perl version

From
Jakub Narebski <jnareb@gmail.com>
Date
Apr 20, 2009, 17:59 UTC
Message-ID
<m3eivnp5p4.fsf@localhost.localdomain>
In-Reply-To
<76718490904200759l24e1bd9exe0e1b60f7b2847a7@mail.gmail.com>
Jay Soffian <jaysoffian@gmail.com> writes:
Show 9 quoted lines
> On Sun, Apr 19, 2009 at 9:58 PM, Junio C Hamano <gitster@pobox.com> wrote:
> >
> > Now the real question was if we still support anything older, and if so
> > what is the bottom version?
> >
> > I certainly can go with "5.8.1 or later", but I vaguely recall during the
> > gitweb discussion we said anything without the utf-8 support is unusable
> > for gitweb, but I think we also said that the rest of the git codebase
> > should support running with something older (5.6.1, perhaps).
> So here's my take-away. For the *.perl scripts and gitweb, it's
> 5.8.0. For the test suite and Git.pm, all Perl versions are
> theoretically supported, but for practical purposes, it may be
> 5.6.0.

Errr... no. For gitweb we require good Unicode support, which means Perl 5.8.x (IIRC 5.8.1). For all other: commands (and helpers) written in Perl like git-svn, fragments of Perl in test suite (because of incompatibility and corner cases of shell scripting) - with possible exception of testing gitweb, and Git.pm (which some commands in Perl use) I think it is reasonable to expect 5.6.0 at least.

Show 5 quoted lines
> Whatever is decided this time, perhaps it should be burned into the tops of
> the *.perl scripts (i.e. "require 5.008;"). It should also be added to
> CodingGuidelines. You know, so this conversation doesn't keep recurring. :-)
> 
> j.
-- 
Jakub Narebski
Poland
ShadeHawk on #git
Previous: H.Merijn BrandNext: Jay Soffian
Message 8 of 18 in “Oldest supported Perl version”
  1. Jay SoffianApr 20, 2009
  2. Michael WittenApr 20, 2009
  3. Michael WittenApr 20, 2009
  4. Jay SoffianApr 20, 2009
  5. H.Merijn BrandApr 20, 2009
  6. Johannes SchindelinApr 20, 2009
  7. H.Merijn BrandApr 20, 2009
  8. Jakub NarebskiApr 20, 2009
  9. Jay SoffianApr 20, 2009
  10. Jay SoffianApr 20, 2009
  11. Michael WittenApr 20, 2009
  12. Johannes SchindelinApr 20, 2009
  13. Michael WittenApr 20, 2009
  14. H.Merijn BrandApr 20, 2009
  15. Michael WittenApr 20, 2009
  16. Michael WittenApr 20, 2009
  17. H.Merijn BrandApr 20, 2009
  18. Jeff KingApr 21, 2009

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.