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

Re: [PATCH] Use find instead of perl in t5000 to get file modification time

From
Alex Riesen <raa.lkml@gmail.com>
Date
Oct 31, 2008, 13:45 UTC
Message-ID
<81b0412b0810310645o1ad4f6e4i9b0527f5789e5665@mail.gmail.com>
In-Reply-To
<eaa105840810310559l29addd80i7a22c21e37231bb1@mail.gmail.com>
2008/10/31 Peter Harris <git@peter.is-a-geek.org>:
Show 14 quoted lines
> On Fri, Oct 31, 2008 at 3:00 AM, Alex Riesen wrote:
>> Sam Vilain, Thu, Oct 30, 2008 06:29:14 +0100:
>>> On Wed, 2008-10-29 at 11:38 +0100, Alex Riesen wrote:
>>> > I could not find what exactly does the ActiveState's Perl use for its stat
>>> > implementation (and honestly, have no motivation to look harder).
>>> > It seems to honor TZ, but the produced time does not seem to be either
>>> > local or GMT.
>>>
>>> See, the difference is that the perl is portable and your patch isn't.
>>
>> ActiveState Perl on Windows is portable? To another windows, maybe.
>
> Quite aside from missing the point (which is that Vanilla Perl runs
> everywhere, including Windows[1]), this is also factually incorrect.

Ok, it is (almost: "Vanilla Perl is experimental and is not intended for production purposes". Well, I need it exactly for production purposes!)

> A quick check of the ActiveState website would reveal ActivePerl
> downloads for AIX, Linux (x86 and x86-64), Solaris (x86, SPARC, and
> SPARC64), MacOSX (x86 and PPC), and source code, in addition to
> Windows.

what's the point of that, I wonder... Just to admit they broke the original source beyond all repair on one platform (windows) so now they have provide their poor customers with the same broken version on all the other platforms, because they complained about incompatibilities.

So Perl is portable. ActiveState Perl may look portable. They just don't seem to be compatible enough. Even then, the Git's test suite and some scripts (I have no use for git-svn on Windows) do very good job to be usable even if the portable dependency replaced with something else. I'm trying to keep it at that because I personally have no choice.

Previous: Peter HarrisNext: Johannes Schindelin
Message 7 of 14 in “Use find instead of perl in t5000 to get file modification time”
  1. Use find instead of perl in t5000 to get file modification timeAlex Riesen, Oct 29, 2008
  2. Jeff KingOct 29, 2008
  3. Alex RiesenOct 30, 2008
  4. Sam VilainOct 30, 2008
  5. Alex RiesenOct 31, 2008
  6. Peter HarrisOct 31, 2008
  7. Alex RiesenOct 31, 2008
  8. Johannes SchindelinOct 31, 2008
  9. Alex RiesenOct 31, 2008
  10. Johannes SchindelinNov 1, 2008
  11. Alex RiesenNov 1, 2008
  12. Johannes SchindelinNov 1, 2008
  13. Alex RiesenNov 2, 2008
  14. Johannes SchindelinNov 2, 2008

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.