Maybe you're interested About this site or in some of my Projects or Articles. You might even be interested About me or My Friends. If all else fails head back Home.

Morethanseven is where plays with the web

Git, Ditz and Microformats

April 6th, 2008

I finally got round to making use of Git, the distributed source code management tools much loved by Open Source projects like the Linux Kernel and now Ruby on Rails. It had been on the long list of things to have a look at for quite a while but for the majority of my personal projects SVN is just fine. The reason that led me to finally run sudo port install git-core was the new Ditz command line issue tracking software release on Gitorious by William Morgan.

Now, a command line issue tracker is maybe kind of niche and a little geeky. But most desktop or web based issue trackers just seem to wind me up and I like small tools that fit in with my command line centric workflow. I managed to clone my own copy of Ditz to have a play with. I ran into a few initial problems but nothing a good tutorial and a helpful mailing list couldn’t fix.

I’m not just playing around either; Ditz comes with the nice ability to generate a set of static HTML files representing your issue database. I’ve committed and pushed a few modifications and enhancements onto my clone – mainly validation, semantic markup improvements and a smattering of microformats (work in progress) in the templates and a couple of markup generation helpers in the Ruby code. I plan on working up the interface a little as well but like any good web designer I’m starting with the underlying markup structure.

A few other enhancements I’d love to see in Ditz or a clone I could pull from include the ability to use SQLite rather than the default YAML for larger projects, automatic generation of RSS feeds alongside the HTML (although I’ve started implementing hAtom) and maybe automated deployment to a remote host over FTP or SSH.

The distributed nature of Git appears to be pushed as the main advantage to those developers taking a look. But I think this is, in many cases, is not that important compared to the familiarity that comes from having used SVN or similar for a while. What I think just might be it’s real strength is that Git is a social source control system. For Open Source projects like Ditz this is a potentially game changing move. The ease with which anyone can contribute and take things in strange directions without affecting the overall effort is fantastic. It removes barriers to entry for contributors and means making small quick changes is much easier and more immediate. With both Gitorious and Github wrapping Git in a shiny web based interface that focuses on these social aspects it will be interesting to see if this leads to more or faster Open Source collaboration efforts.

Popularity: 12%

Tagged , , , , ,

One Response to “Git, Ditz and Microformats”

  1. What you said is so true, about git being social.

    It’s amazing how GitHub started as a site to store your code, a central repository for a central-repository-less system… and became a sort of Facebook or VIRB for coders. I find myself leaving comments on commits all over the place, contributing thought if not actual code to a MULTITUDE of projects across the entire site… and loving every moment of it!

    Not only that, but it has real code implications, as you mentioned. This evening, I saw something I didn’t like (a small library called Soup, which I had never heard of, and will probably never even use, was badly organized) – I forked it, cloned my fork, and went to re-organizing. Maybe a total of two or three minutes before I was in a text editor. Then, when I was satisfied, I checked it all in, and pushed it off to my fork… and then popped off a pull request to the original author. In total, maybe 10 minutes not spent in the text editor. It’s something I would never have done under SVN, or even under Gitorious (due to not noticing the project the way I did on GitHub, through a train of idle browsing through my friends’ histories of commenting and commiting).

    It’s just… amazing.

Leave a Reply