a project by xx4h Public Projects
master maybe doesn't work. have a look at the tags.
- can be used for more than one trac instance
- every repo can be assigned to one trac instance (or/additionally you can use the catch-all mechanism)
- the following gerrit actions will be processed:
- rewiew (+/- in green/red)
- comments
- patchsets (new/update)
- merge
- processing of tags in commits (refs,see,fix,close,…) and perfomring related status changes in trac ticket (testing/closed/...)
- configuration through a config file
##Scheduled Features
- interaction with remote tracs (for the moment there is only support for local trac)
- advanced configuration (e.g. colors for trac comments and quotes, adaptions for what is the content of a trac comment, …)
cd /path/to/your/gerrit/folder
sudo -u gerrit -H git clone https://github.com/xx4h/gerrit-trac-hooks.git hooks
cd hooks
- checkout what's the newest tag &&
git checkout v0.12b
- optional: edit
config_path
in change-merged, comment-added, patchset-created and ref-update sudo -u gerrit -H cp hooks.config.example hooks.config
now edit hooks.config to meet your needs
Closed Bugs/Features
Open Bugs/Features
Create New Issue/Bug/Feature
enjoy! =)
\_ xx4h