--
You received this message because you are subscribed to the Google Groups "infra-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to infra-dev+...@chromium.org.
To post to this group, send email to infr...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/infra-dev/CAH58R2fJLPQVCbWv_cBvXFwf%2B%2BaOtdjMaTvDLeM-4Wa5%2BWHozg%40mail.gmail.com.
--
--
Chromium Developers mailing list: chromi...@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-dev
---
You received this message because you are subscribed to the Google Groups "Chromium-dev" group.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-dev/op.ze5hg6w6rbppqq%40cicero2.linkoping.osa.
The part mentioned seems like an overall improvement, but it looks like you want to increase the magic triggered by a self review. Most people (I sincerely hope) never use TBR so it can't be too magic once you need it to quickly land something that will unblock work.Today entering "TBR=someone" in the commit message will trigger a self-review and the change will be ready to submit. You can learn about TBR= from watching other commits, but I'm not sure how someone is supposed to know that they have to self review a change if they've never done it before.
Hi Aaron,From the POV of someone who exclusively uses the WebUI to TBR, am I correct that the workflow change you're proposing is the following?CURRENT WORKFLOW: Add X to reviewers, add TBR=X to commit message and commit.PROPOSED WORKFLOW: Add X to reviewers, self-approve the CL and commit, tool adds TBR=X to commit message via analysis.If I'm correct, I personally feel that it's somewhat strange and dangerous to give this much weight to self-approval. No one (I assume) writes "TBR=foo" by accident, but it's totally plausible to me to imagine self-approving by accident. I also feel that the semantics of writing "TBR=foo" are crystal-clear, whereas the semantics of self-approval are kind of murky (kind of in the sense of "why do we even have that lever?").
On Wed, Feb 28, 2018 at 6:35 AM Daniel Bratell <bra...@opera.com> wrote:The part mentioned seems like an overall improvement, but it looks like you want to increase the magic triggered by a self review. Most people (I sincerely hope) never use TBR so it can't be too magic once you need it to quickly land something that will unblock work.Today entering "TBR=someone" in the commit message will trigger a self-review and the change will be ready to submit. You can learn about TBR= from watching other commits, but I'm not sure how someone is supposed to know that they have to self review a change if they've never done it before.In Gerrit, it is already the case that someone TBRing a change must self-approve it. If they don't, the Submit to CQ button doesn't even show up, and is replaced by the quick-action Code-Review+1 button, which will self-approve the change. So this isn't adding another unintuitive step to their process, and folks who do TBR changes already know that they need to self-approve them.
You (and some people commenting on the doc) do raise a good point that folks are accustomed to having the tools automatically set CR+1 when they have TBR=someone in the commit description. So I'm going to slightly change the proposal:Rather than removing all ability of folks to use "git cl upload --tbrs=someone" and put "TBR=someone" in the commit description, I'll simply unify the processing of those with the current processing of normal reviewers. If someone uses those to indicate that their CL should be TBRed, it will automatically be self-approved, but the TBR= line will be stripped from the commit message (just like the R= line already is) and the list of reviewers specified by TBR= and --tbrs will be merged with those specified as normal reviewers.On Wed, Feb 28, 2018 at 7:10 AM Colin Blundell <blun...@chromium.org> wrote:Hi Aaron,From the POV of someone who exclusively uses the WebUI to TBR, am I correct that the workflow change you're proposing is the following?CURRENT WORKFLOW: Add X to reviewers, add TBR=X to commit message and commit.PROPOSED WORKFLOW: Add X to reviewers, self-approve the CL and commit, tool adds TBR=X to commit message via analysis.If I'm correct, I personally feel that it's somewhat strange and dangerous to give this much weight to self-approval. No one (I assume) writes "TBR=foo" by accident, but it's totally plausible to me to imagine self-approving by accident. I also feel that the semantics of writing "TBR=foo" are crystal-clear, whereas the semantics of self-approval are kind of murky (kind of in the sense of "why do we even have that lever?").You're almost correct, but not quite. The current workflow is "Add X to reviewers, add TBR=X (or anything really, doesn't have to correspond unfortunately) to commit message, self-approve the CL, and commit". As I mentioned above, Gerrit already requires self-approval in order for TBR changes to land. So this isn't adding any new requirements, it's just removing the double-bookeeping of self-approval and TBR= lines.Aaron
--
--
Chromium Developers mailing list: chromi...@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-dev
---
You received this message because you are subscribed to the Google Groups "Chromium-dev" group.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-dev/CAH58R2fZxMyoN6%2BrbcA7wE6A-fnP7nfi2PC8Eg5xd0Gjf8LqjA%40mail.gmail.com.
On Wed, Feb 28, 2018 at 6:02 PM, Aaron Gable <aga...@chromium.org> wrote:
In Gerrit, it is already the case that someone TBRing a change must self-approve it. If they don't, the Submit to CQ button doesn't even show up, and is replaced by the quick-action Code-Review+1 button, which will self-approve the change. So this isn't adding another unintuitive step to their process, and folks who do TBR changes already know that they need to self-approve them.This does not match my experience. AFAICT, I see "Submit to CQ" button as soon as my CL received any +1 comment. This does not need to be a self-approved, and does not need to cover all OWNERS.This is why I find the proposal confusing. My most frequent use case for TBR-ing a CL is that I do some refactoring of a class, get approval from one OWNER of the refactored class, and then TBR OWNERS of the affected client code if the changes are mechanical/trivial. In that case, I would see the "Submit to CQ" button. Currently I would just add TBR=... and then send to CQ. I don't know what I would have to do after the proposal.
On Wed, Feb 28, 2018 at 9:14 AM Sylvain Defresne <sdef...@chromium.org> wrote:On Wed, Feb 28, 2018 at 6:02 PM, Aaron Gable <aga...@chromium.org> wrote:In Gerrit, it is already the case that someone TBRing a change must self-approve it. If they don't, the Submit to CQ button doesn't even show up, and is replaced by the quick-action Code-Review+1 button, which will self-approve the change. So this isn't adding another unintuitive step to their process, and folks who do TBR changes already know that they need to self-approve them.This does not match my experience. AFAICT, I see "Submit to CQ" button as soon as my CL received any +1 comment. This does not need to be a self-approved, and does not need to cover all OWNERS.This is why I find the proposal confusing. My most frequent use case for TBR-ing a CL is that I do some refactoring of a class, get approval from one OWNER of the refactored class, and then TBR OWNERS of the affected client code if the changes are mechanical/trivial. In that case, I would see the "Submit to CQ" button. Currently I would just add TBR=... and then send to CQ. I don't know what I would have to do after the proposal.Ah, I see. Yes, this is a case that this proposal handles differently, thanks for bringing it up explicitly.Your description of what you would do under the current system is missing a step. Today, you would get approval from some reviewers, add TBR=... to the commit description, get a popup telling you that doing so is insufficient and you must also self-approve the change, do so, and then send to the CQ.
Under the proposed system, we remove that extra step in the middle. You would get approval from some owners, self-approve the change, and then submit the change to the CQ.Independent of this proposal, we're already making changes to make this easier; in particular, we're ensuring that the quick-action "Code-Review+1" button shows up to everyone who hasn't approved the change yet, no matter whether or not other reviewers have approved it already.Since you brought it up, I think it makes sense to make it even easier. When the change has been approved by some but not all reviewers, we could give change uploaders a "TBR and Submit to CQ" button next to the normal "Submit to CQ" button, which would self-approve and then submit the change. Would that assuage your concerns about not knowing what to do in this situation?
--
--
Chromium Developers mailing list: chromi...@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-dev
---
You received this message because you are subscribed to the Google Groups "Chromium-dev" group.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-dev/CAH58R2chdbvhpW%3D26m4c9jqzA5O48C-Pg7PFwWQT8PNN0XaPbw%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-dev/CAH58R2ev3PhHYe_DzUgQ7h5OGp7yf9V2hCzVtrZhpYR5AkpbqA%40mail.gmail.com.
There are three cases I use TBR for:
1. Urgent revert or fix to a build or test
2. Change to documentation or README files only
3. Large change got review from several people already,
but TBRing the owner of some directory with a trivial change
I think #1 and #2 are fine - self-review makes total sense for
these.
I'm not sure about #3. I think self-review is a more confusing
way to think about it than TBR, but that's just my opinion.
I'm most concerned about this case:
> The one thing that I've noticed happens quite often is that people confuse CQ+1 with CR+1
I'm seeing this happen all the time. Is there anything we could do to
make it less confusing?
If you're the owner, what if the CR+1 button was replaced with a
"Self-Approve" button? That'd be harder to press by accident!
On Fri, Mar 9, 2018 at 9:54 AM <dmaz...@google.com> wrote:There are three cases I use TBR for:
1. Urgent revert or fix to a build or test
2. Change to documentation or README files only
3. Large change got review from several people already,
but TBRing the owner of some directory with a trivial change
I think #1 and #2 are fine - self-review makes total sense for
these.
I'm not sure about #3. I think self-review is a more confusing
way to think about it than TBR, but that's just my opinion.Yep, I acknowledge that this may be slightly less intuitive, but I think that is offset by two things:1) I have plans (see also below) to push user education and have good affordances in the UI2) I think that having a single mechanism for bypassing approval is good; we shouldn't have different mechanisms depending on why you're bypassing approval.
I'm most concerned about this case:
> The one thing that I've noticed happens quite often is that people confuse CQ+1 with CR+1
I'm seeing this happen all the time. Is there anything we could do to
make it less confusing?
If you're the owner, what if the CR+1 button was replaced with a
"Self-Approve" button? That'd be harder to press by accident!Yep, I've already mentioned this a little bit upthread, and I've updated the doc to contain some of these ideas, but I definitely plan to change the buttons which are visible to folks. We can replace CR+1 with self-approve for change owners, we can replace "Submit to CQ" with "TBR and Submit to CQ" when someone already has self-approved, and more.
--
You received this message because you are subscribed to the Google Groups "infra-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to infra-dev+unsubscribe@chromium.org.
To post to this group, send email to infr...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/infra-dev/CAH58R2fg-5AUUMKVRDAHWkYKZQinwSSPEHuRP6A8ttBm%3DJk3%3DQ%40mail.gmail.com.