Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 0fca51b

Browse files
committed
Propose change to PR merging policy.
As discussed during the dev call.
1 parent 64ba969 commit 0fca51b

File tree

1 file changed

+14
-5
lines changed

1 file changed

+14
-5
lines changed

doc/devel/coding_guide.rst

Lines changed: 14 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ PR Review guidelines
5151
the threshold "is this better than it was?" as the review criteria.
5252

5353
* For code changes (anything in ``src`` or ``lib``) at least two
54-
developers (those with commit rights) should review all pull
54+
core developers (those with commit rights) should review all pull
5555
requests. If you are the first to review a PR and approve of the
5656
changes use the github `'approve review'
5757
<https://help.github.com/articles/reviewing-changes-in-pull-requests/>`__
@@ -63,7 +63,18 @@ PR Review guidelines
6363
:file:`doc/api/api_changes` and significant new features have and
6464
entry in :file:`doc/user/whats_new`.
6565

66-
* Make sure the Travis, Appvyor, circle, and codecov tests are passing
66+
- If a PR already has a positive review, a core developer (e.g. the first
67+
reviewer, but not necessarily) may champion that PR for merging. In order
68+
to do so, they should ping all core devs both on github and on the dev
69+
mailing list. Other core devs can then either review the PR and merge or
70+
reject it, or simply request that it gets a second review before being
71+
merged. If no one requires such a second review within a week, the PR can
72+
then be merged on the basis of that single review.
73+
74+
One core dev should only champion one PR at a time and we should try to
75+
keep the flow of championed PRs reasonable.
76+
77+
* Make sure the Travis, Appveyor, CircleCI, and codecov tests are passing
6778
before merging.
6879

6980
- Whenever a pull request is created or updated, Travis and Appveyor
@@ -73,7 +84,7 @@ PR Review guidelines
7384

7485
* Do not self merge, except for 'small' patches to un-break the CI or
7586
when another reviewer explicitly allows it (ex, "Approve modulo CI
76-
passing, may self merge when green")
87+
passing, may self merge when green").
7788

7889
* Squashing is case-by-case. The balance is between burden on the
7990
contributor, keeping a relatively clean history, and keeping a
@@ -94,8 +105,6 @@ PR Review guidelines
94105
with the contributor first.
95106

96107

97-
98-
99108
Branches and Backports
100109
======================
101110

0 commit comments

Comments
 (0)