Dear Ariel,
Some time ago, I generated a DEB package named `mwxml2sql_0.0.2-1_amd64.deb'. It works very well, and was the source of the patches that I submitted upstream. Now that I have learned that you welcome such patches, it occurs to me that you might want the DEB package as well. If so, then there are a number of things we should discuss.
0) Naming
Your other DEB packages have names like:
mediawiki_1.19.6-1_all.deb mediawiki-extensions-base_3.3_all.deb mediawiki-math_1.0+git20120528-7_amd64.deb
For naming consistency, would you like the `mwxml2sql' package to be renamed something like
mediawiki-mwxml2sql_0.0.2-1_amd64.deb
1) ITP
Debian policy requires that new packages first be announced with an Intent-To-Package (ITP) bug report. Then a `Debian Developer' may or may not step forward to sponsor the package for inclusion in a Debian distribution.
Do you have someone in-house, who is serving as a `Debian Maintainer'? If so, could you introduce us?
2) Architectures
All my systems are AMD64. Whereas `mwxml2sql' contains C language programs, and whereas Debian is a binary distribution; a set of `mwxml2sql' DEB packages should be prepared, one for each architecture. Do you have a way of generating DEB packages for other architectures?
Sincerely Yours, Kent
Στις 27-05-2013, ημέρα Δευ, και ώρα 21:00 -0400, ο/η wp mirror έγραψε:
Dear Ariel,
Some time ago, I generated a DEB package named `mwxml2sql_0.0.2-1_amd64.deb'. It works very well, and was the source of the patches that I submitted upstream. Now that I have learned that you welcome such patches, it occurs to me that you might want the DEB package as well. If so, then there are a number of things we should discuss.
- Naming
Your other DEB packages have names like:
mediawiki_1.19.6-1_all.deb mediawiki-extensions-base_3.3_all.deb mediawiki-math_1.0+git20120528-7_amd64.deb
For naming consistency, would you like the `mwxml2sql' package to be renamed something like
mediawiki-mwxml2sql_0.0.2-1_amd64.deb
Yes, that sounds like a reasonable naming scheme.
- ITP
Debian policy requires that new packages first be announced with an Intent-To-Package (ITP) bug report. Then a `Debian Developer' may or may not step forward to sponsor the package for inclusion in a Debian distribution.
Do you have someone in-house, who is serving as a `Debian Maintainer'? If so, could you introduce us?
One person on our team was already a member of the Debian project when he came to us but he's not in charge of our packages there. 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.
- Architectures
All my systems are AMD64. Whereas `mwxml2sql' contains C language programs, and whereas Debian is a binary distribution; a set of `mwxml2sql' DEB packages should be prepared, one for each architecture. Do you have a way of generating DEB packages for other architectures?
All I've got is amd64 as well. But it looks like Debian does this for us: see http://www.debian.org/doc/manuals/maint-guide/build.en.html#autobuilder 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...
Ariel
On May 28, 2013 12:34 AM, "Ariel T. Glenn" ariel@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@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
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 people build mirror sites. They are written using C language, and offer some performance advantage over existing utilities such as `importDump.php'.
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 used `dh_make' to make the 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 would like your advise as to the next steps to take. Shall I submit an Intent-To-Package (ITP) bug to Debian? Do you know anyone who would like to sponsor the package?
Sincerely Yours, Kent
On 5/28/13, Jeremy Baron jeremy@tuxmachine.com wrote:
On May 28, 2013 12:34 AM, "Ariel T. Glenn" ariel@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@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
On Wed, 29 May 2013, wp mirror wrote:
Dear list members,
For what’s it worth, I ACK’d your mails, but if you’re going to write here more often you should maybe subscribe to the list. And use a realname ☺
I would like some advise on how to submit a mediawiki related DEB package. Jeremy Baron recommended that I contact this mailing list.
That’s probably correct.
- New utilities
Ariel T. Glenn at WMF wrote a set of utilities, `mwxml2sql', that help
It’s for MySQL instead of a database, so I’m neither personally nor professionally interested, but maybe someone else. Otherwise…
I would like your advise as to the next steps to take. Shall I submit an Intent-To-Package (ITP) bug to Debian? Do you know anyone who
… this is an important first step for…
would like to sponsor the package?
… this. Indeed, as this package does not have anything to do with MediaWiki AFAICT from a quick glance, not being an extension or somesuch, just submit it using the normal Debian ways.
bye, //mirabilos
Στις 03-06-2013, ημέρα Δευ, και ώρα 11:39 +0200, ο/η Thorsten Glaser έγραψε:
<snip>
… this. Indeed, as this package does not have anything to do with MediaWiki AFAICT from a quick glance, not being an extension or somesuch, just submit it using the normal Debian ways.
The main utility is designed to read XML dumps that conform to the Mediawiki export schema [1] and write sql for importing into three MW tables. If that should be treated as separate from MediaWiki for .deb purposes, that's fine, there's a Java MW XML->MySQL conversion utility with somewhat different functionality that would be nice to get packaged up too, and we can follow the same route for both of them.
Thanks,
Ariel
On Mon, 3 Jun 2013, Ariel T. Glenn wrote:
The main utility is designed to read XML dumps that conform to the Mediawiki export schema [1] and write sql for importing into three MW tables. If that should be treated as separate from MediaWiki for .deb purposes, that's fine
The rule of separation here is that it has separate upstream.
there's a Java MW XML->MySQL conversion utility with somewhat different functionality that would be nice to get packaged up too, and we can follow the same route for both of them.
This also means that the conversion utilities do not require anything from the MediaWiki packages themselves (like the extensions do), and that they’re only useful for a small subset of MediaWiki users (those that indeed use MySQL instead of a database). Which confirms that.
In case you *do* need something to be changed in the core mediawiki* packages in Debian, of course this is the right place to go. (And maybe one of the other readers will show interest in those packages – just I don’t.)
bye, //mirabilos
Dear Ariel,
I renamed the output of the `dist' targer to `mediawiki-mwxml2sql-0.0.2.tar.gz' by editing the Makefile. I also fixed some typos. These patches are posted as:
https://gerrit.wikimedia.org/r/#/c/65706/
Please let me know if they are acceptable.
Sincerely Yours, Kent
On 5/28/13, Ariel T. Glenn ariel@wikimedia.org wrote:
Στις 27-05-2013, ημέρα Δευ, και ώρα 21:00 -0400, ο/η wp mirror έγραψε:
Dear Ariel,
Some time ago, I generated a DEB package named `mwxml2sql_0.0.2-1_amd64.deb'. It works very well, and was the source of the patches that I submitted upstream. Now that I have learned that you welcome such patches, it occurs to me that you might want the DEB package as well. If so, then there are a number of things we should discuss.
- Naming
Your other DEB packages have names like:
mediawiki_1.19.6-1_all.deb mediawiki-extensions-base_3.3_all.deb mediawiki-math_1.0+git20120528-7_amd64.deb
For naming consistency, would you like the `mwxml2sql' package to be renamed something like
mediawiki-mwxml2sql_0.0.2-1_amd64.deb
Yes, that sounds like a reasonable naming scheme.
- ITP
Debian policy requires that new packages first be announced with an Intent-To-Package (ITP) bug report. Then a `Debian Developer' may or may not step forward to sponsor the package for inclusion in a Debian distribution.
Do you have someone in-house, who is serving as a `Debian Maintainer'? If so, could you introduce us?
One person on our team was already a member of the Debian project when he came to us but he's not in charge of our packages there. 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.
- Architectures
All my systems are AMD64. Whereas `mwxml2sql' contains C language programs, and whereas Debian is a binary distribution; a set of `mwxml2sql' DEB packages should be prepared, one for each architecture. Do you have a way of generating DEB packages for other architectures?
All I've got is amd64 as well. But it looks like Debian does this for us: see http://www.debian.org/doc/manuals/maint-guide/build.en.html#autobuilder 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...
Ariel
Στις 29-05-2013, ημέρα Τετ, και ώρα 16:05 -0400, ο/η wp mirror έγραψε:
Dear Ariel,
I renamed the output of the `dist' targer to `mediawiki-mwxml2sql-0.0.2.tar.gz' by editing the Makefile. I also fixed some typos. These patches are posted as:
Please see my comments there.
Ariel
Dear Ariel, Thanks. I replaced the option quotes [] with mandatory quotes <>. No complaints from Lintian.
Sincerely Yours, Kent +------------------------------------------------------------------------+ pub 1024D/359E5142 2008-09-01 GPG key available on pgpkeys.mit.edu Key fingerprint = 8D4F 4485 7F7D 5406 230C 9749 B821 2572 359E 5142 uid Dr. Kent L. Miller kent.l.miller@alumni.cmu.edu +------------------------------------------------------------------------+
On Thu, 30 May 2013, Ariel T. Glenn wrote:
Στις 29-05-2013, ημέρα Τετ, και ώρα 16:05 -0400, ο/η wp mirror έγραψε:
Dear Ariel,
I renamed the output of the `dist' targer to `mediawiki-mwxml2sql-0.0.2.tar.gz' by editing the Makefile. I also fixed some typos. These patches are posted as:
Please see my comments there.
Ariel
xmldatadumps-l@lists.wikimedia.org