GitZilla is Python magic to support Git-Bugzilla integration. There are various ways of using GitZilla.
Note that GitZilla must be installed on the machine receiving commits from everyone – home to the the "official" or the "central" repository.
Simple ready scripts
To quickly start using GitZilla:
* Install GitZilla. You may choose the .deb for easy installation on Debian/Ubuntu systems. Otherwise, just unpack the source and install in the usual setuptools way:
sudo python setup.py install
* Switch to the hooks directory (/path/to/repository/.git/hooks) and delete the post-receive and update hooks.
* Link (or copy) the gitzilla provided hooks:
ln -s $(which gitzilla-post-receive) post-receive
ln -s $(which gitzilla-update) update
* Read and edit the config file at /etc/gitzillarc. A simple (and sufficient for most cases) configuration is something like:
allowed_bug_states: NEW, ASSIGNED, REOPENED
(and even the last item is optional!)
* Commit away!