The owners system exists because not everybody might have the
experience in an area they're changing to know whether a certain type
of change is appropriate. BUT: all committers should be qualified to
review any change for code clarity and correctness! And one of the
best ways to get more senior is to do lots of code reviews! So if
you're making changes to a popular directory (base, content, etc.),
consider:
#1. Setting somebody appropriate who's not an owner to the code
review. It could be somebody who you discussed your patch with,
somebody knowledgeable in that area but not an OWNER, etc. Hopefully
this is not somebody you know will just rubberstamp whatever you send
since then step #4 won't work.
#2. Getting the code reviewed from that person for code architecture,
correctness, clarity, and style. This reviewer learns what you are
doing and becomes more knowledgeable and experienced for future
reviews.
#3. LATER adding an owner to the code review for the higher-level
owners review. Adding later is critical, since otherwise that person
will see a 6 email thread that keeps popping up in their inbox and
probably ignore it, not knowing when it's ready for final approval.
#4. Getting quick LGTM from the owner who hopefully agrees with your
overall design and knows they don't have to check for memory leaks,
off-by-one errors, and comments missing periods at the end of the
sentence :)
#5. If there are design-level comments,.both you and your original
reviewer can learn something new for next time, leading to a virtuous
cycle of awesomeness!
If you're unsure about something, start with:
#0. Ask owner if a certain approach is appropriate.
Most people will respond much faster to a direct email with a specific
question ("I want to add a Lisp interpreter to base, is that
appropriate?") than a code review ("Convert preferences system to
parenthesized format"). And when somebody's already been given a
heads-up on some change, and they see a code review that's already
been thoroughly checked by your awesome co-worker, your speedy
LGTM is assured.
#1. Setting somebody appropriate who's not an owner to the code
review.
--
Chromium Developers mailing list: chromi...@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-dev