When a patch is submitted for review with r?, we have at *least* the
following outcomes:
1. r+ - land as is
2. r+ - nits, but I'll fix them and land for you
3. r+ - land with feedback addressed
4. r? cancelled
5. r? cancelled, f+ left
6. r? cancelled, f- left
7. r- - don't land this patch as is
8. r-, f+ - don't land, but I like the idea
9. r- - this patch is unacceptable
Every individual does things differently. I find this confusing.
Contributors find this confusing. I would like code review responses to
better reflect what the next action is rather than requiring patch
authors to maintain an in-brain lookup table of person to flag
meaning/intent.
>
> For responses, I want to eliminate the ambiguity that comes with the
> existing Bugzilla system and have responses convey the action that
> should be performed. e.g.
>
> Review Response: {land as is, land it with changes (I trust you),
> looks good (request re-review with changes), not acceptable}
>
>
> Those are currently captured in part inside the textual feedback (like
> "I would like to see this part of an update patch to land", or "good to
> go but please rebase it on top of this other thing that I'm landing
> tomorrow", etc.) Why is that not enough?
First, lots of people don't leave those comments! I've seen patches from
first-time contributors get insufficient context and the contributor
immediately asks "what do you mean."
Furthermore, the fields remove ambiguity. It forces the reviewer to make
a call on the future of the patch without leaving room for
interpretation in the textual response (I know I've misinterpreted
comments before and landed prematurely). This can help tremendously when
language is a barrier.
In the case of "land as is," we could have RB automatically trigger
autoland (wouldn't that be nice).
Fields can also help with auditing and verifying the review process.
"You were told to make changes but you pushed the same changeset that
was reviewed!"
Fields can also help with dashboards. They would allow us to measure
which individuals are effective at writing patches that get accepted on
first review, etc.
> I'm sure people will point out that we could also add privacy and
> security flags and at some point we'll reinvent tracking flags and
> other parts of Bugzilla. I concede I'm not sure what to do here. I'm
> not sure if it prevents us from doing something better for basic
> code review on the ReviewBoard side though.
>
>
> Privacy and security reviews have a vastly different scope and are
> typically done on a larger scope. I don't think they're a requirement
> for the code review system.
Works for me!