Tuesday, July 13, 2010

Gerrit hook function

http://gerrit.googlecode.com/svn/documentation/2.1.2/config-hooks.html

You can put following file into $site_path/hooks :
patchset-created, comment-added, change-merged, change-abandoned

The gerrit will call these function with parameter, ex:
patchset-created --change --project --branch --commit --patchset

No comments:

Related Posts Plugin for WordPress, Blogger...