New issue
Advanced search Search tips

Issue 759080 link

Starred by 3 users

Issue metadata

Status: WontFix
Owner:
Closed: Aug 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: ----
Type: ----


Previous locations:
gerrit:7096


Sign in to add a comment

Make "lgtm" in a comment automatically give +1

Project Member Reported by mgiuca@chromium.org, Aug 25 2017

Issue description

I think typing lgtm as the first thing in a code review slides the box up to +1 in the UI, but it doesn't seem to always work --- I keep getting reviews with "lgtm" but not a +1, and then I have to wait potentially 24 hours, or in a case that happened today, 96 hours as my reviewer left a +1-less-lgtm and went on leave (https://chromium-review.googlesource.com/c/chromium/src/+/611741#message-69d39d5681c487aae711a7b0b29b9d516707c657).

Can we just make a server-side thing that automatically changes a reviewer's status to +1 if their comment includes the word "lgtm", for compatibility with the Reitveld workflow?
 
Gerrit used to do this (in the GWT UI) but it was removed in version 2.11

See  issue 3130  and https://gerrit-review.googlesource.com/#/c/gerrit/+/63762/

Comment 3 by logan@google.com, Aug 25 2017

Components: -PolyGerrit
Labels: Proj-Gerrit-Migration

Comment 4 by logan@google.com, Aug 25 2017

Project: chromium
Moved issue gerrit:7096 to now be  issue chromium:759080 .
Components: Infra>Codereview>Gerrit

Comment 6 by aga...@chromium.org, Aug 28 2017

Owner: aga...@chromium.org
Status: WontFix (was: New)
We have carefully considered the tradeoffs of this behavior. The current plugin will cause the review to include a CR+1 vote if and only if the letters "lgtm" are the first four letter of the message, and the reviewer hasn't manipulated the CR label manually. When they type "lgtm", they will see the CR+1 button get highlighted.

We are not going to implement any backend magic to interpret the text of messages, period. We have considered extending the plugin to recognize "lgtm" elsewhere in the message other than at the beginning, and have decided that we do not wish to perpetuate Rietveld's poor design decisions any further.

Sign in to add a comment