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

Re: Git's tests have depended on Perl since at least 2006

From
Jonathan Nieder <jrnieder@gmail.com>
Date
Aug 13, 2010, 22:37 UTC
Message-ID
<20100813223725.GA2153@burratino>
In-Reply-To
<AANLkTim9aNtFdwM5m-FB_LWX96es2DR_9mU3rGcV4dME@mail.gmail.com>
Ævar Arnfjörð Bjarmason wrote:
> This is just an interesting datapoint, but Git's test suite currently
> crashes and burns if you don't have a perl in your $PATH, no matter if
> you've compiled with NO_PERL=YesPlease or not.

Yes, I think this was known. Development machines (which is where people tend to run tests most) tend to have perl but some weird production machines did not.

Show 5 quoted lines
> I have a WIP patch series to tackle this issue:
> 
>     http://github.com/avar/git/compare/git:pu...in-progress-dont-depend-on-perl
> 
> It adds a PERL dependency to things
Reasonable.
> and changes perl to
> "$PERL_PATH".

Is that necessary? As you mentioned before, a lot of uses of perl are for run-of-the-mill one-liners and do not care much which version they get.

On the other hand, even if it is not necessary, it might still be a good idea to just stick to one perl version for simplicity.

Previous: Ævar Arnfjörð BjarmasonNext: Junio C Hamano
Message 2 of 6 in “Git's tests have depended on Perl since at least 2006”
  1. Ævar Arnfjörð BjarmasonAug 13, 2010
  2. Jonathan NiederAug 13, 2010
  3. Junio C HamanoAug 13, 2010
  4. Ævar Arnfjörð BjarmasonAug 13, 2010
  5. Junio C HamanoAug 13, 2010
  6. Ævar Arnfjörð BjarmasonAug 13, 2010

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.