I thought I’d take this long weekend to do something fun: get Bugzilla running under Heroku.
Steps:
- fork the perl/psgi buildpack to run bugzilla.
bugzilla buildpack - swear at Gerv for adding login name support and swear at
checksetup.pl for spinning in an infinite loop when it can’t prompt for a missing config Bug 1284021. - start writing support for storing the “params” data in the db instead of the filesystem, as the filesystem in heroku is ephermal.
- realize that you’ll want to memcache this, so might as well add memcache to heroku
- realize MemCachier (one of the herkoku memcached providers) requires username and passwords and that the perl bindings don’t support this
After some research… I realize this feature requires support for the binary protocol and is based on SASL. Fine. I’ll learn XS (perl’s FFI) and contribute code to Memcache::libmemcached. How hard can it be?
It turned out to be not very hard
but it’s a work in progress (and definitely leaks memory right now).
Oh yeah, and bugzilla does run on heroku, but it won’t be useful until the params stuff can be stored in the DB.