Gerrit: enable gerrit hooks to move bug status on all oVirt projects

Description

Right now the Gerrit hooks located on the Gerrit server only handles VDSM & ovirt-engine projects.

There was a request from some maintainers to add support for more projects.
Please use this ticket to list the required projects to be added:

Activity

Show:
Eyal Edri
April 13, 2016, 12:40 PM

I think before we do that we need to look into migrating the gerrit hooks into a gerrit plugin or at least committing the configuration to git.

Eyal Edri
May 15, 2016, 8:09 AM

cc

Eyal Edri
May 15, 2016, 8:10 AM

Lets start by collecting which projects want to be added and do the enable gradually.

new docs can be found here:
http://ovirt-gerrit-hooks.readthedocs.io/en/latest/

Eyal Edri
July 28, 2016, 6:52 AM

list of hooks per project can be found here:
http://infra-docs.readthedocs.io/en/latest/CI/Gerrit_Hooks.html#list-of-projects-and-the-hooks-they-use

Might be a good idea to ask on the devel list which project wants the status change hooks enabled and to which branches.

We can start with 'POST' and 'MODIFIED' hooks.

Eyal Edri
August 14, 2016, 6:52 AM

We can't enforce maintainers to use the hooks, not everyone wants to.
This should be an opt-in request, so any projects that wants a certain hook enabled should open a ticket with the relevant info:

  • project name

  • list of hooks he would like to see enabled.

Documentation on hooks available can be found here:
http://infra-docs.readthedocs.io/en/latest/CI/Gerrit_Hooks.html

Won't Fix

Assignee

Shlomo Ben David

Reporter

Eyal Edri

Blocked By

None

Epic Link

Priority

Medium