Bugflow - A lighthouse/github workflow

| | Comments (0) | TrackBacks (0)

I love the integration between github and lighthouse. (If you're not familiar with this, have a look.) However, I always found myself forgetting which ticket I was working on when writing commit messages. At first, I wrote this script just to add the ticket number in the git commit message, but it quickly evolved to help throughout the workflow.

When starting on a new ticket, this script helps by

  • Assigning a ticket to when starting work
  • Creating a local branch with an intelligent name

On completion it will

  • Set the state of the ticket to a user-defined value (through the git commit msg)
  • Clear the active user (also through the git commit msg)

Workflow

Here’s an example of the workflow…

Setup

Install Bugflow

Just grab this script and put it wherever you like. (I prefer ~/bin)

Install Gem

Grab the lighthouse gem from github:

$ gem sources -a http://gems.github.com
$ sudo gem install Caged-lighthouse-api

Project Config

Finally, create a file in the root of your project called .bugflow.yml and add the following data:

Also, it’s a good idea to add this file to your .gitignore.

$ echo ".bugflow.yml" >> .gitignore

Happy hacking!

0 TrackBacks

Listed below are links to blogs that reference this entry: Bugflow - A lighthouse/github workflow.

TrackBack URL for this entry: http://blog.jdhuntington.com/mt-tb.cgi/11

Leave a comment

About this Entry

This page contains a single entry by JD Huntington published on February 26, 2009 11:50 AM.

Emacs color theme: Blackboard was the previous entry in this blog.

Adventures in home roastng is the next entry in this blog.

Find recent content on the main index or look in the archives to find all content.

Pages

Powered by Movable Type 4.1