User:MarkAHershberger/Weekly reports/2010-W24

For week 24, I focused on the command line installer and, especially SQLite.

SQLite
My first task was to make sure the available tests would work on SQLite — until now I've been using my MySQL-based installation for the tests. The only major problem I ran into was with the FULLTEXT search capabilities on SQLite when it was installed with the new-installer code.

After confirming that the tests worked with the old installer, I discovered that FULLTEXT search capabilities had been left out of the new installer for SQLite. This provided me with my first opportunity to dig into the new-installer code and add a feature.

This also provides me with a place to test the output methods for the CliInstaller. As I have it currently written, error handling in SqliteInstaller is using addHtml — a method that should probably be particular to the WebInstaller class. In any case it feels yucky and will be fixed soon.

CliInstaller
After discussion with ^demon and others on IRC, I also began attacking the CLI installer. Progress was slower than I would like. Although install.php existed, it looked like the other code written for it hadn't been committed. Additionally, instead of being a “traditional” maintenance script — extending the Maintenance class — something else entirely was going on.

After some frustration, I just decided to re-write in a way I thought more reasonable. This is my first chance to work on a maintenance script from scratch. This allowed me to start setting up defaults and options that will be filled out more completely this week.

I should be able to finish up the initial CliInstaller this week so that I can start setting up automated tests next week.