On Tue, Apr 10, 2012 at 10:24 PM, Mike Connor <
mco...@mozilla.com> wrote:
> I suppose the core questions I have here are:
>
> * What specific problem are you trying to solve? You mention unnecessary
> trouble, but don't give specifics, so I don't know how to evaluate this
> proposed solution.
>
Here are the problems I'm trying to solve:
* Enable Core peers who are not on the list of peers for a module review
patches to the code they know best without "breaking the rules".
* Enable Core peers review patches to unowned modules without breaking the
rules, and make it easier for new contributors to know who to ask for
review in one of those modules (i.e., "look at the hg log and see who most
recently reviewed code in that module.)
* Provide a way for growing more people to be reviewers. In my experience,
the bar on somebody becoming a peer today is much higher than it needs to
be.
> * If the problem is on the seeking side, I'm fairly sure this would make
> things worse, as in many cases I would imagine there are far more people
> who _shouldn't_ review a patch than those who should, so why do you think
> it'd make things easier?
>
I was not proposing to provide the superset of everyone who's currently an
owner/peer as a list of people who _can_ review a patch. The current rule
of thumb in at least many areas of the code base is to see who has been
reviewing patches to the same code more recently and ask them for review,
and I think that has been working well in general. That is what I'm hoping
that we would end up with, provided that the person in question is a peer
of some module. Sorry if I was not clear on that.
> * Are there modules where review is not timely from the owner or peers,
> where there are other qualified reviewers who can help? If so, why not
> simply add more peers to those modules?
>
Yes, there are. To give you an example, I'm probably a good person to
review code in nsTextControlFrame, but that is only a tiny component of the
Layout Engine module, and I don't think I deserve to be a peer of that
module just because I know one piece well. Our modules are simply too
coarse grained to make adding more peers work well in every case.
> * Owners and peers are free to delegate specific reviews to others, so why
> not encourage more of that, if the problem is that module reviewers are
> overloaded but aren't yet ready to give unfettered review access to more
> people?
>
I think encouraging delegation is something that we should be doing more
of. The current review policy, as far as I can see, only allows delegation
to the peers of a module, so my proposal would probably make finding
somebody to delegate to a bit easier if you want to stick to the rules, but
I generally think that is an orthogonal issue, and no matter what our
review policy is, reviewers should strive to delegate more where it makes
sense.
> * Why try to impose a generic solution? Individual module owners can make
> this choice for their modules, have they expressed interest in adopting
> this type of model?
I'm not trying to impose a solution, this is a discussion after all. :-)
I think this change has worked fairly well for Firefox/Toolkit. But I do
understand the hesitation to apply the same idea to Core (which includes
way more modules and lines of code and Firefox/Toolkit). I don't know how
to approach this at a smaller scale though.