Praising Coder, easing the Drupal 6 upgrade path

Doug Green, maintainer of the Coder Module, get all the praise this morning. On a quick vacation, I decided it was time to finally upgrade the two small modules that I maintain. I haven't used Coder in a while (though I will be using it much more now), but I knew that it had a helper for upgrading D5 => D6. And what a breeze Coder made upgrading my modules.

I grabbed a new checkout of coder, added coder and my two modules to a stock install and reviewed my code. I was ashamed to find a few coding standard errors had infected my code (a few tab instead of 2 spaces, and 'else' on a few line) but the great work of spotting every API that had changed and giving either explicit instructions on how to fix it, or a link to the relevant Handbook page is excellent.

I was expecting that the simpler updates like the l() and url() changes would have guidance for the API change, which it did, but what blew me away was all the FormAPI help that was given. Not having to wade through all the documentation to adjust my form validations and submissions is awesome.

Now two more simple modules, Revision Deletion and Link To Us have Drupal 6 posts. Thank you again Doug, and all the contributor to Coder.

PS. I can't wait to try out the v2 updates (http://drupal.org/node/125413). Sounds very promising.

You should checkout

Hey, now that is neat as

Hey, now that is neat as well. Thanks for the tip.

Coder is really great. I have

Coder is really great. I have used it for all module updates I did from 5 to 6 and also use it to check whether the code aligns with Drupal coding guidelines. The deadwood project looks very promising too.

I also recently used coder to

I also recently used coder to start working module from 5 to 6. Was very impressed!

Haven't gotten a chance to

Haven't gotten a chance to implement this / try it out but wow does that sound cool! I have too many modules right now to try and convert them all when we run a mostly 5.x install so if this does what it claims that would go a long way towards getting us up to 6.x. Thanks!

You bet Coder rocks. I'm a

You bet Coder rocks. I'm a totally novice at Drupal modules and I was able to upgrade 4 of them from 5 to 6.