--
--
Chromium Developers mailing list: chromi...@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-dev
--
Interesting, thanks!A couple questions:- If I'm not misunderstanding, this won't take into account OWNERS in its initial version? It seems like it might result in a lot of spam in that case.
- The trying to commit when the reviewer has some comments to address behavior seems unfortunate. In fact, it seems like it has the potential to decrease the likelihood of reviewers giving "LGTM with nits", if they fear/know that the CL will get auto-committed without taking their comments into account. Is there no way to address that as part of V1?
This sounds risky. Do you have any stats on which percentage of reviews have just a single lgtm?
On Monday, March 17, 2014 8:20:28 AM UTC-4, Colin Blundell wrote:Interesting, thanks!A couple questions:- If I'm not misunderstanding, this won't take into account OWNERS in its initial version? It seems like it might result in a lot of spam in that case.Right, OWNERS are not taken into account. I am not sure it would result in more spam as compared to the current behavior with the single checkbox. Could you give an example of your concern?
- The trying to commit when the reviewer has some comments to address behavior seems unfortunate. In fact, it seems like it has the potential to decrease the likelihood of reviewers giving "LGTM with nits", if they fear/know that the CL will get auto-committed without taking their comments into account. Is there no way to address that as part of V1?We tried to address this with the following:* On the comment publish page the following msg is displayed (if the new checkbox is checked): "Note: The 'Commit after a reviewer gives LGTM' bit is turned on for this CL. Saying 'LGTM with nits' will send it to the CQ."* If a reviewer wants to say "LGTM with nits" then he/she can first uncheck the new checkbox.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-dev...@chromium.org.
On Mon, Mar 17, 2014 at 1:35 PM, <rmi...@chromium.org> wrote:
On Monday, March 17, 2014 8:20:28 AM UTC-4, Colin Blundell wrote:Interesting, thanks!A couple questions:- If I'm not misunderstanding, this won't take into account OWNERS in its initial version? It seems like it might result in a lot of spam in that case.Right, OWNERS are not taken into account. I am not sure it would result in more spam as compared to the current behavior with the single checkbox. Could you give an example of your concern?As long as engineers didn't use it until they were waiting for the final LGTM they need for a CL, you're right, it shouldn't result in more spam. Are you confident that engineers will understand that that would be the correct way to use this checkbox? My initial assumption on seeing such a checkbox would be that its semantics would be "Commit once all necessary LGTMs are obtained to pass presubmit checks." That might just be me though :).
- The trying to commit when the reviewer has some comments to address behavior seems unfortunate. In fact, it seems like it has the potential to decrease the likelihood of reviewers giving "LGTM with nits", if they fear/know that the CL will get auto-committed without taking their comments into account. Is there no way to address that as part of V1?We tried to address this with the following:* On the comment publish page the following msg is displayed (if the new checkbox is checked): "Note: The 'Commit after a reviewer gives LGTM' bit is turned on for this CL. Saying 'LGTM with nits' will send it to the CQ."* If a reviewer wants to say "LGTM with nits" then he/she can first uncheck the new checkbox.That sounds good. I'm afraid that that specific language will just incline reviewers to not say LGTM there, which seems counterproductive. Maybe something like "Please uncheck the box if you have comments you want addressed with your LGTM" or something like that?
I agree that for those of us working across multiple timezones, automatic commit after LGTM is a great feature. But I am worried about it ignoring nits. Why not make it so that only a straight "LGTM" with no further comments kicks off the CQ? If there are any nits, do *not* auto-commit and allow the CL author to fix them first. This would seem like the desired behavior in 99% of cases.
On 03/17/2014 02:03 PM, rmi...@chromium.org wrote:
>
>
> On Monday, March 17, 2014 8:53:34 AM UTC-4, Bartosz Fabianowski wrote:
>>
>> I agree that for those of us working across multiple timezones, automatic
>> commit after LGTM is a great feature. But I am worried about it ignoring
>> nits. Why not make it so that only a straight "LGTM" with no further
>> comments kicks off the CQ? If there are any nits, do *not* auto-commit and
>> allow the CL author to fix them first. This would seem like the desired
>> behavior in 99% of cases.
>>
>
> I fear that might complicate things (both in the Rietveld code and the
> flow). Reviewers will not be able to say "LGTM thanks for working on
> this!". Hopefully Colin's suggestions will help make things more clear for
> reviewers when the new checkbox is checked.
I did mean that additional text in the reply body should stop the CQ.
Additional in-line comments (the ones you get when you double-click
anywhere in the code) should stop the CQ IMHO.
Isn't it already possible that reviewers with commit-rights can tick the commit checkbox?If so, isn't a comment by the author like "Please commit after reviewing." sufficient or could you somehow consider this in your design?This would at least work up to two or three reviewers.
FWIW, as someone that works in another timezone, whenever I need this feature today I simply send my reviewer a "PTAL (please CQ if it LGTYs)".
This is typically either for a single reviewer small change or a bigger review for which I ask this of the owner closing off on the review after LGTMs from others.
I've yet to see a reviewer fail to check the box when it looked good to them as-is and faced with this CQ request and I'm not convinced that we need more than this verbal contract where both parties currently understand all the subtleties which would be hard to put in an automated system (as discussed above).
Cheers!
Gab
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-dev...@chromium.org.
Gerrit has a nice feature where the patch owner has to check a 'Ready' box for the CQ to pick up the patch.
I am not suggesting implementing Gerrit's +1/+2 system,
but maybe we could just add a 'Ready' checkbox so that a reviewer can evaluate and check the 'Commit' box if the owner has checked 'Ready' (and maybe prevent a non-owner from checking 'Commit' unless the owner has checked 'Ready'?
It seems that a number of people have commented that they informally use the "please CQ if it looks good to you". I've gotten that as well at different times and I always do it.Does anyone here use this informal request and have it fail? i.e. trying to figure out if we need to add extra UI/state/heuristics to Rietveld; it seems there are higher priority things to improve there than this.
On Mon, Mar 17, 2014 at 11:00 AM, Thiago Farina <tfa...@chromium.org> wrote:
On Mon, Mar 17, 2014 at 2:41 PM, Steven Bennetts <stev...@google.com> wrote:
Gerrit has a nice feature where the patch owner has to check a 'Ready' box for the CQ to pick up the patch.I like this idea more.I am not suggesting implementing Gerrit's +1/+2 system,Interesting. It seems another discussion for improving rietveld though.but maybe we could just add a 'Ready' checkbox so that a reviewer can evaluate and check the 'Commit' box if the owner has checked 'Ready' (and maybe prevent a non-owner from checking 'Commit' unless the owner has checked 'Ready'?This is basically to say to reviewer that he can check the commit box? Isn't the owner responsible for checking that button himself?In my case I never had any problems with reviewers in other timezones, well I think they are all in different timezones anyway. What happens in my case is that, some reviewers when happy with my patch they 'LGTM" the change and right after they check the commit box for me (probably while I'm asleep).IMO, this feature "Commit after a reviewer gives LGTM' is already possible, the reviewer just needs to make a judgment, as I exemplified above, and check the commit box himself if he is already satifies with the current shape of the latest patch.--Thiago Farina
* dpranke@ has recommended using a flow similar to Webkit's model (dropdown/select with empty/cq-/cq?/cq+). This may become the next evolution of the two checkbox flow.
--