Category Archives: NewMetalArmy
Replaying apache log files with python and twill
In order to test for a memory leak in New Metal Army I needed to replay my apache log files against my test server. Using Twill this was a doddle. The only slightly icky thing about the script is the regular expression to parse a line from the apache log file (in Combined Log Format). [...]
SQLAlchemy-Migrate upgrade scripts in a transaction
SQLAlchemy Migrate is a really good tool for managing database upgrades for SQLAlchemy centric projects. I’ve been using it for 6 months on New Metal Army and I haven’t had a screwed website upgrade yet! For those that don’t know SQLAlchemy-migrate allows you to version control database changes and easily upgrade and downgrade a database. [...]
Turbogears Development: Enviroment
I thought I’d run through a list of tools that I used to make New Metal Army. New Metal Army is my first major website and I learned a lot along the way. Here are the tools in no particular order: Subversion First and foremost, subversion is a source control tool but it’s also a [...]

Recent Comments