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

Re: [PATCH] Add a remote helper to interact with mediawiki, pull & clone handled

From
Thomas Adam <thomas@xteddy.org>
Date
Jun 6, 2011, 19:48 UTC
Message-ID
<BANLkTi=nOa2B_KNfv-XkYFVr8Ngdd2msFA@mail.gmail.com>
In-Reply-To
<1307355635-5580-1-git-send-email-jeremie.nikaes@ensimag.imag.fr>
Hi,
On 6 June 2011 10:20, Jeremie Nikaes <jeremie.nikaes@ensimag.imag.fr> wrote:
I've got some points of my own for consideration.
> @@ -0,0 +1,306 @@
> +#! /usr/bin/perl
> +
> +use strict;
use warnings; ?
> +use Switch;
Ugh -- no.  This is terrible.  Look at this:

[~]% corelist Switch Switch was first released with perl v5.7.3 and removed from v5.13.1

Since you do not specify a minimum perl version you might be alright, but for those people on 5.14 -- they won't have this module, for good reason. You can, if you wanted use "given/when" as alternate constructs to this.

> +use MediaWiki::API;
> +use Storable qw(freeze thaw);

This might have problems transcending storable formats made on a 32bit machine, and then trying to unpack them again on 64bit. Do you really need the need for these storable items to be encoded as binary?

[...]
-- Thomas Adam
Previous: Jérémie NIKAESNext: Jérémie NIKAES
Message 4 of 5 in “Add a remote helper to interact with mediawiki, pull & clone handled”
  1. Add a remote helper to interact with mediawiki, pull & clone handledJeremie Nikaes, Jun 6, 2011
  2. Junio C HamanoJun 6, 2011
  3. Jérémie NIKAESJun 6, 2011
  4. Thomas AdamJun 6, 2011
  5. Jérémie NIKAESJun 6, 2011

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.