Re:Things Everyone Should Do: Code Review
by Locke1689 on Wednesday July 06, 2011 @05:15PM
(#2735926)
You can always commit it to your home share but no, at Google all code that is checked in to version control must be reviewed, period.
So you can commit it somewhere.
You just can't commit it to a certain repo.
Re:Things Everyone Should Do: Code Review
by lpolovets on Wednesday July 06, 2011 @05:44PM
(#2736031)
It's more like without a code review you can only commit to your personal scratch space.
A more accurate way to state "At Google, no code, for any product, for any project, gets checked in until it gets a positive review" would be that "No code goes into production without a positive code review."
Which is completely reasonable. The original contention of no checkins at all sounds like hell.
The original statement makes sense if they are not using a DVCS (I know that at least a couple years ago they were mostly a Perforce shop). If they are now using a DVCS then they probably have repos for different code stages plus all the local repos.
Re:Things Everyone Should Do: Code Review
by FaceKicker on Wednesday July 06, 2011 @05:29PM
(#2735962)
The exception being the "experimental" part of the code base, which can never be used in any production code without undergoing a full code review.
Re:Things Everyone Should Do: Code Review
by pavpanchekha on Thursday July 07, 2011 @06:36AM
(#2737967)
They're a Perforce shop (except some open-source-from-the-start projects, like Android). So checking something in is a pretty weighty operation (also, really slow). So actually, the statement is very likely true.
Re:Things Everyone Should Do: Code Review
by rachelbythebay on Thursday July 07, 2011 @07:04PM
(#2740644)
Don't believe all of it.
TBR.
I can't believe that's true as stated.
I am guessing "No code is put to a branch which is used by others without review or "No code is put into production without review". I can't imagine "You aren't allowed to check in things without getting signoff of others" working period.