Index: docs/v8_committers_responsibility.md |
diff --git a/docs/v8_committers_responsibility.md b/docs/v8_committers_responsibility.md |
new file mode 100644 |
index 0000000000000000000000000000000000000000..ee8d21256368bb750282bed29f895ed7f21de1da |
--- /dev/null |
+++ b/docs/v8_committers_responsibility.md |
@@ -0,0 +1,41 @@ |
+## Basic commit guidelines |
+ |
+When you're committing to the V8 repositories, ensure that you follow those guidelines: |
+ |
+ 1. Find the right reviewer for your changes and for patches you're asked to review. |
+ 1. Be available on IM and/or email before and after you land the change. |
+ 1. Watch the [waterfall](http://build.chromium.org/p/client.v8/console) until all bots turn green after your change. |
+ 1. When landing a TBR change (To Be Reviewed), make sure to notify the people whose code you're changing. Usually just send the review e-mail. |
+ |
+In short, do the right thing for the project, not the easiest thing to get code committed, and above all: use your best judgement. |
+ |
+**Don't be afraid to ask questions. There is always someone who will immediately read messages sent to the v8-committers mailing list who can help you.** |
+ |
+## Changes with multiple reviewers |
+ |
+There are occasionally changes with a lot of reviewers on them, since sometimes several people might need to be in the loop for a change because of multiple areas of responsibility and expertise. |
+ |
+The problem is that without some guidelines, there's no clear responsibility given in these reviews. |
+ |
+If you're the sole reviewer on a change, you know you have to do a good job. When there are three other people, you sometimes assume that somebody else must have looked carefully at some part of the review. Sometimes all the reviewers think this and the change isn't reviewed properly. |
+ |
+In other cases, some reviewers say "LGTM" for a patch, while others are still expecting changes. The author can get confused as to the status of the review, and some patches have been checked in where at least one reviewer expected further changes before committing. |
+ |
+At the same time, we want to encourage many people to participate in the review process and keep tabs on what's going on. |
+ |
+So, here are some guidelines to help clarify the process: |
+ 1. When a patch author requests more than one reviewer, they should make clear in the review request email what they expect the responsibility of each reviewer to be. For example, you could write this in the email: |
+``` |
+ |
+ a. larry: bitmap changes |
+ b. sergey: process hacks |
+ c. everybody else: FYI |
+ |
+``` |
+ 1. In this case, you might be on the review list because you've asked to be in the loop for multiprocess changes, but you wouldn't be the primary reviewer and the author and other reviewers wouldn't be expecting you to review all the diffs in detail. |
+ 1. If you get a review that includes many other people, and the author didn't do (1), please ask them what part you're responsible for if you don't want to review the whole thing in detail. |
+ 1. The author should wait for approval from everybody on the reviewer list before checking in. |
+ 1. People who are on a review without clear review responsibility (i.e. drive-by reviews) should be super responsive and not hold up the review. The patch author should feel free to ping them mercilessly if they are. |
+ 1. If you're an "FYI" person on a review and you didn't actually review in detail (or at all), but don't have a problem with the patch, note this. You could say something like "rubber stamp" or "ACK" instead of "LGTM." This way the real reviewers know not to trust that you did their work for them, but the author of the patch knows they don't have to wait for further feedback from you. Hopefully we can still keep everybody in the loop but have clear ownership and detailed reviews. It might even speed up some changes since you can quickly "ACK" changes you don't care about, and the author knows they don't have to wait for feedback from you. |
+ |
+(Adapted from: http://dev.chromium.org/developers/committers-responsibility ) |