[
https://issues.apache.org/jira/browse/BEAM-6122?focusedWorklogId=169482&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-169482
]
ASF GitHub Bot logged work on BEAM-6122:
----------------------------------------
Author: ASF GitHub Bot
Created on: 26/Nov/18 20:38
Start Date: 26/Nov/18 20:38
Worklog Time Spent: 10m
Work Description: kennknowles commented on a change in pull request
#7129: [BEAM-6122] Update committer guidelines
URL: https://github.com/apache/beam/pull/7129#discussion_r236414176
##########
File path: website/src/contribute/committer-guide.md
##########
@@ -24,6 +24,24 @@ This guide is for
[committers](https://www.apache.org/foundation/how-it-works.html#committers)
and covers Beam's guidelines for reviewing and merging code.
+## Pull request review objectives
+
+The review process aims for:
+
+* Review iterations should be efficient, timely and of quality (avoid tiny or
out-of-context changes or huge mega-changes)
+* Support efficiency of authoring (don't want to wait on a review for a tiny
bit because GitHub makes it very hard to stack up reviews in sequence / don't
want to have major changes blocked because of difficulty of review)
+* Ease of first-time contribution (encourage to follow [contribution
guildelines](/contribute/#contributing-code)
+ but committer may absorb some extra effort for new contributors)
+* Pull requests and commit messages establish a clear history with purpose and
origin of changes
+* Ability to perform a granular rollback, if necessary (also see
[policies](/contribute/postcommits-policies/))
+
+Granularity of changes:
+
+* We prefer small independent, incremental PRs with descriptive, isolated
commits. Each commit is a single clear change
+* It is OK to keep separate commits for different logical pieces of the code,
if they make reviewing and revisiting code easier
+* Making commits isolated is a good practice, authors should be able to
relatively easily split the PR upon reviewer's request
+* When there are multiple commits in a single PR, every commit that gets
merged should compile and pass tests
Review comment:
I would simply remove this bullet. I don't think there's anything that is
both reasonable and actionable.
In practice, one may often revert a whole PR as Scott suggests. You can
always open multiple reverts for the whole PR, various commits in the PR, etc,
and choose one (the first?) that restores signal. It is then easy enough to
roll forward innocent commits that were caught in the dragnet.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
Issue Time Tracking
-------------------
Worklog Id: (was: 169482)
Time Spent: 1h 40m (was: 1.5h)
> Update committer guidelines
> ---------------------------
>
> Key: BEAM-6122
> URL: https://issues.apache.org/jira/browse/BEAM-6122
> Project: Beam
> Issue Type: Task
> Components: website
> Reporter: Thomas Weise
> Assignee: Thomas Weise
> Priority: Major
> Time Spent: 1h 40m
> Remaining Estimate: 0h
>
> Per discussion in
> [https://lists.apache.org/thread.html/6d922820d6fc352479f88e5c8737f2c8893ddb706a1e578b50d28948@%3Cdev.beam.apache.org%3E]
>
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)