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

Re: [PATCH] Remove dependency on IO::String from Git.pm test

From
Jakub Narebski <jnareb@gmail.com>
Date
Jun 18, 2008, 17:52 UTC
Message-ID
<200806181952.02048.jnareb@gmail.com>
In-Reply-To
<alpine.DEB.1.00.0806181756540.6439@racer>
On Wed, 18 Jun 2008, Johannes Schindelin wrote:
Show 12 quoted lines
> On Wed, 18 Jun 2008, Jakub Narebski wrote:
> > Michael Hendricks <michael@ndrix.org> writes:
> > 
> > > Instead of using IO::String to create an in-memory filehandle, use 
> > > open() with a scalar reference as the filename.  This feature has been 
> > > available since Perl 5.8.0 (which was released in 2002), so it should 
> > > be available pretty much everywhere by now.
> > 
> > Besides if I understand correctly gitweb very much requires Perl >= 5.8 
> > because of required Unicode support.
> 
> Did I miss something?  Was this patch not more about Git.pm?
Oops... You are right, my mistake.
For my defense I'd like to point out that the patch this patch is
response to was made by gitweb caching project GSoC student, Lea Wiemann
(who should have been CC-ed, by the way).
 
> BTW I think it is not nice at all how the dependency hell with Git.pm is 
> made worse recently.
It is not dependency for Git.pm, but for Git.pm TEST.
> It is fascinating through how much _pain_ we go with the shell scripts to 
> maintain portability, even with _very_ old or obscure systems (see the SCO 
> server patches that came in not long ago!), and just walk over that 
> portability when it comes to Perl...

And I pointed out how it could be resolved (use 5.8 specific feature, or IO::String, or skip tests).

-- 
Jakub Narebski
Poland
Previous: Johannes SchindelinNext: Johannes Schindelin
Message 5 of 10 in “Remove dependency on IO::String from Git.pm test”
  1. Remove dependency on IO::String from Git.pm testMichael Hendricks, Jun 18, 2008
  2. Jakub NarebskiJun 18, 2008
  3. Rafael Garcia-SuarezJun 18, 2008
  4. Johannes SchindelinJun 18, 2008
  5. Jakub NarebskiJun 18, 2008
  6. Johannes SchindelinJun 18, 2008
  7. Lea WiemannJun 18, 2008
  8. Junio C HamanoJun 18, 2008
  9. Johannes SchindelinJun 18, 2008
  10. Lea WiemannJun 19, 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.