[Pkg-mediawiki-devel] [Xmldatadumps-l] Tools to help import MediaWiki XML dumps into database

wp mirror wpmirrordev at gmail.com
Fri May 31 02:40:40 UTC 2013


Dear list members,

I would like some advise on how to submit a `mediawiki` related DEB
package.  Jeremy Baron recommended that I contact this mailing list.

0) New utilities

Ariel T. Glenn at WMF wrote a set of utilities, `mwxml2sql', that help
convert XML dump files into a format that can be readily loaded into
the database for a local instance of MediaWiki.  These utilities are
written using C language, and offer some performance advantage over
existing utilities such as `importDump.php'.

The upstream source code may be found at
<https://gerrit.wikimedia.org/r/#/admin/projects/operations/dumps>.

1) Reason for packaging

I wrote `wp-mirror' which is a free utility for mirroring any desired
set of WMF wikis.  This I distribute as a DEB package.  My next
release, wp-mirror-0.6, is focused on performance improvement; and,
among other things, will make use of Ariel's utilities.

To facilitate the handling of dependencies, I decided to package
Ariel's utilities.

2) DEB package

I prepared a DEB package which is now named
`mediawiki-mwxml2sql_0.0.2-1_amd64.deb'.  It builds correctly with
`debuild' and with `pbuilder'.  `Lintian' only complains that it does
not close any ITP bug.

3) Patches

I patched Ariel's source code and Makefile, so that man pages could be
generated using `help2man'. I submitted the patch upstream, and Ariel
graciously applied it.  One more patch is under review (a few typos).

4) ITP

I submitted an Intent-To-Package (ITP) bug to Debian, but have not yet
received the bug number.

Do you know anyone who would like to sponsor the package?

Sincerely Yours,
Kent

On 5/28/13, Jeremy Baron <jeremy at tuxmachine.com> wrote:
> On May 28, 2013 12:34 AM, "Ariel T. Glenn" <ariel at wikimedia.org> wrote:
>> Στις 27-05-2013, ημέρα Δευ, και ώρα 21:00 -0400, ο/η wp mirror έγραψε:
>> From
>> looking at http://packages.debian.org/sid/mediawiki-extensions-base it
>> seems we want to get in contact with Romain Beauxis or Thorsten Glaser
>> and see how to proceed.
>
> pkg-mediawiki-devel at lists.alioth.debian.org is the place to mail.
>
>> Hmm I really have no idea what will happen to some of these on a 32-bit
>> system, I should check that out in a vm sometime...
>
> sounds like you just need tests in the Debian package and then Debian can
> run those for you on all archs/ports.
>
> -Jeremy
>



More information about the Pkg-mediawiki-devel mailing list