Skip to content

lscarval/jirret

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Overview
--------
Set of gerrit hooks that will update JIRA issues referenced in the subject of any changes.  Currently has hooks for change-abandoned, change-merged, patchset-created.

More info on hooks at:
http://gerrit.googlecode.com/svn/documentation/2.1.6/config-hooks.html

Requirements
------------
 - The user that runs the gerrit process must be able to ssh into the gerrit sshd to run "gerrit query" commands.  
 - JIRA must have xmlrpc enabled ( http://confluence.atlassian.com/display/JIRADEV/JIRA+XML-RPC+Overview )
 - Gerrit must have the canonicalWebUrl setup in order to add links to the change ( http://gerrit.googlecode.com/svn/documentation/2.1.6/config-gerrit.html#gerrit.canonicalWebUrl )

Installation Steps
-------------------
 - Drop hook files into $site_path/hooks 
 - Create JIRA user to post gerrit comments.  User should only need permissions to post new comments to issues
 - Setup config file in the home folder for the user that runs gerrit: ~/.jirretconfig

Config file
------------
jirret looks for a config file at ~/.jirretconfig
See jirretconfig.example for an example.

Known issues/limitations
-------------------------
 - Projects do not auto update when added to JIRA

About

Gerrit hooks to update JIRA

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 95.5%
  • Shell 4.5%