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

Skip to content

Commit 1a8e0fc

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

File tree

1 file changed

+15
-5
lines changed

1 file changed

+15
-5
lines changed

doc/devel/coding_guide.rst

Lines changed: 15 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,19 @@ 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, and label the PR with the "Merge with single review?" label.
70+
Other core devs can then either review the PR and merge or reject it, or
71+
simply request that it gets a second review before being merged. If no one
72+
asks for such a second review within a week, the PR can then be merged on
73+
the basis of that single review.
74+
75+
One core dev should only champion one PR at a time and we should try to
76+
keep the flow of championed PRs reasonable.
77+
78+
* Make sure the Travis, Appveyor, CircleCI, and codecov tests are passing
6779
before merging.
6880

6981
- Whenever a pull request is created or updated, Travis and Appveyor
@@ -73,7 +85,7 @@ PR Review guidelines
7385

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

7890
* Squashing is case-by-case. The balance is between burden on the
7991
contributor, keeping a relatively clean history, and keeping a
@@ -94,8 +106,6 @@ PR Review guidelines
94106
with the contributor first.
95107

96108

97-
98-
99109
Branches and Backports
100110
======================
101111

0 commit comments

Comments
 (0)