Lane, Ryan wrote:
On 3 August 2010 18:14, Aryeh Gregor Simetrical+wikilist@gmail.com wrote:
I'm thankful that the Debian MediaWiki package at least
*works*. Not
that the same can be said of all their packages either (OpenSSL, anyone?). Maybe if we provided .debs and RPMs, people would be less prone to use the distro packages.
That just creates more problems:
- bad quality distro packages
- bad quality our own packages (while we know MediaWiki, we are not
experts in packaging)
- lots of confusion
I've packaged hundreds of RPMs. It isn't difficult, and you don't need to be an expert. It is easy enough to package the MediaWiki software. The real problem comes with upgrades. How does the package handle this? Do we ignore the actual maintanence/update.php portion? Do we run it? How do we handle extensions? Package them too? Do we make a repo for all of this? How are the extensions handled on upgrade?
I had some plans for adding the needed hooks to the installer so that it could be run by a package manager in a more FHS way, store LocalSettings inside /etc, automatically run upgrade.php, etc.
Then since the new installer changed how LocalSettings is provided to the user, I didn't thought further on how to adapt it.