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

Re: contrib/mw-to-git/Git/Mediawiki.pm

From
BPBenoît Person <benoit.person@ensimag.fr>
Date
Jun 27, 2013, 17:54 UTC
Message-ID
<CAETqRCif7K3MZiG4oMfnM-jps+KajDMYML4C5Hhy8eE7bj38xA@mail.gmail.com>
In-Reply-To
<7vzjubsbqj.fsf@alter.siamese.dyndns.org>
> Hmph.  Does it even need to be in-tree then?  Is it insufficient to
> run ../../git from that directory instead?

Well, the fact is we use Perl packages now (Git.pm and Git::Mediawiki.pm in contrib/mw-to-git/Git/). The way we build perl scripts in the toplevel's Makefile makes those packages accessible only in $GITPERLLIB if it's defined and defaults to $INSTLIBDIR to seek for installed version of those packages.

We use a bin-wrapper to define that $GITPERLLIB variable so that the installed version gets bypassed by the one presents in the directory defined in $GITPERLLIB.

> I just noticed that the script is not strictly a text file, ending
> with an incomplete line, by the way.
an incomplete line ?
Previous: Junio C HamanoNext: Junio C Hamano
Message 5 of 7 in “contrib/mw-to-git/Git/Mediawiki.pm”
  1. Torsten BögershausenJun 27, 2013
  2. Benoît PersonJun 27, 2013
  3. Matthieu MoyJun 27, 2013
  4. Junio C HamanoJun 27, 2013
  5. Benoît PersonJun 27, 2013
  6. Junio C HamanoJun 27, 2013
  7. Junio C HamanoJun 27, 2013

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.