[OpenAFS-devel] Preferred method for flagging patches as "safe to build"
Simon Wilkinson
sxw@inf.ed.ac.uk
Tue, 27 Jul 2010 22:48:34 +0100
On 26 Jul 2010, at 17:39, Jason Edgecombe wrote:
> Hi everyone,
>=20
> I want some input on how to approve patches for building with =
buildbot.
> I see the following options:
>=20
> 1. Make a category in Gerrit and give certain people the ability to =
set
> this category.
> 2. Automatically build patches sent from an approved list of people =
and
> additionally build anything with a +1 from that same list.
What we want is 2), but I think the best way of achieving this is by =
implementing 1), as follows:
*) Create a new Gerrit Category - SAFE, with values of 0 or +1
*) Create a Trusted Developers Gerrit Group. Allow them to set SAFE =
values.
*) Implement a hook script that automatically gives any patch uploaded =
by someone in the trusted developers group a +1 SAFE score
Cheers,
Simon.