It reflects what was discussed on our last Tobiko team meeting. Change-Id: I2d1fe31ab12b05526b956312104ee765c8f8af9e
2.4 KiB
Tobiko Reviewer Guide
Document Overview
This document describes how to review changes proposed for Tobiko. You can find here information about where patches should be reviewed and what are some basic rules during the review and to merge patches.
See also
Tobiko uses OpenStack's gerrit to review patches. You can find many additional details about using Gerrit in the OpenStack Contributor Guide.
Reviewing changes
Every change proposed to one of the Tobiko repositories needs to be reviewed by someone else. Everyone who have account in the Openstack gerrit created can review every change there. As a reviewer You can comment on the proposed change and give one of the votes:
+1
- when You think that change is good to be merged and don't need additional work,-1
- when change needs some additional work, You shouldn't give just-1
to the change without any comments what is wrong in Your opinion there.0
- when You simply have some comment but don't want to give neither+1
nor-1
to the change.
Core reviewers
There is also Core reviewers team. Reviewers who are members of this team can additionally vote on the change with:
+2
- when change is ready to be merged according to the core reviewer,-2
- which meansDo not merge that change
- it shouldn't be used often and only for good reason. That vote will not dissapear when new patch set will be proposed by the change owner. It can be only removed by the reviewer who gave it,+W
- which means that patch is approved and is going to be merged by Zuul after it will pass CI jobs.
To give +W
to the patch and to merge it patch should
have at least one +2
vote for someone else than patch
owner. If the change is trivial, like e.g. fixed typo, and made by one
of the Tobiko core reviewers, it can be approved directly by the owner
of the change to be merged quickly. Core reviewers shouldn't use that
exception too much. General rule should always be that someone else
should review the change, vote with +2
and approve change
with +W
.