[[!tag sd bug-tracking]]
For a few months now I've been using SD for tracking bugs in many of my personal projects. SD is a distributed bug tracker, and I believe such systems to be the future, just like distributed version control has become the obviously correct choice.
Distributed bug tracking is still in its infancy, and the tools are still developing. However, SD, at least, is already usable, at least for the small kinds of projects as mine are. I have no idea, at least yet, how it scales up to large projects with many developers.
Life with SD is similar to life with a DVCS. You have your bug repository, and you make changes there as find bugs, fix them, and so on. When it is suitable and convenient, you synchronise your repository with others. I mainly sync to my server, so that others can sync from that if they wish. (I don't know if anyone does that.)
There are several distributed bug trackers. I chose SD because it seemed the most mature one, but also because it does not tie the bug repository with the source code version control tree. This is quite important, I think. If there's a bug in the project's website, then that does not need to be committed to the project's source code.
If I work on a bug in a separate code branch, I would like to make any necessary notes about it in a central bug repository for all the branches on my laptop. This is helpful, for example, if I have to back out of my code changes, because I did something stupid, but want to keep the notes I took in the bug repository.
SD is not without its weirdness. The command line syntax is a bit
un-Unixy, and it requires setting an environment variable to
specify the location of the bug repository. (I wrote a little
wrapper script to set it: all my branches for project foo are in
~/foo
, and the bug repository is in ~/foo/bugs
.) It could perhaps
also be faster, but it's not exactly slow, either: it is a joy to
be able to just run sd ticket close 123
rather than open a web
browser, navigate to the right bug, and click close there.
Also, once you have a bunch of projects, each with its own bug
repository, it becomes an effort to synchronise each of them.
I'm hoping mr
will someday support SD, but until then I'm using
a little wrapper that syncs my SD repositories to my server.
I also have a third wrapper that allows me to run an SD command on each repository, so that I can, for example, easily get a list of all open bugs in all projects, which is helpful for my GTD weekly review.