git-bz: Bugzilla subcommand for Git

Now that gnome-shell development is in full swing, I’ve been spending a lot of time creating patches with git and git-svn, and then pasting the git-format-patch results into Bugzilla. That seemed like a highly automatable task. git-send-bugzilla wasn’t really what I was looking for. Hence, git-bz:

# File the last commit as a new bug on the default tracker
git bz file my-product/some-component HEAD^

# Attach a series of patches to an existing bug
git bz attach bugzilla.gnome.org:1234 b50ea9bd^

# Prompt if you want to apply each patch attachment from a bug
git bz apply bgo:1234

Just the script: http://git.fishsoup.net/cgit/git-bz/plain/git-bz
GIt repository: git clone git://git.fishsoup.net/git-bz

I haven’t tested with anything but bugzilla.gnome.org yet; expect some things to need fixing.

5 Comments

  1. ulrik
    Posted November 16, 2008 at 11:28 am | Permalink

    post it to the git mailing list, there are certainly people that are interested!

  2. Zeeshan Ali (Khattak
    Posted November 16, 2008 at 3:28 pm | Permalink

    Cool stuff! Don’t know of others but something really useful for me at least.

  3. Posted November 16, 2008 at 4:49 pm | Permalink

    git-bugzilla has been around for a while, and used by a few people at gnome, including behdad, chpe and myself.

    http://code.istique.net/?p=git-bugzilla.git;a=summary

  4. Florian Steinel
    Posted November 24, 2008 at 4:33 pm | Permalink

    I’m trying to port this from httplib to urllib2.
    http://github.com/fsteinel/git-bz/tree/urllib2

  5. Tobu
    Posted April 7, 2009 at 9:45 am | Permalink

    Neat. Is there an equivalent tool for patch-bombing google code?


Post a Comment

Your email is never published nor shared. Required fields are marked *
*
*