My favorites | Sign in
Project Home Downloads Wiki Issues Source
New issue   Search
for
  Advanced search   Search tips   Subscriptions
Issue 623: Request for tags "Gerrit-Owner" and "Gerrit-Reviewer" in generated emails
1 person starred this issue and may be notified of changes. Back to list
Status:  Released
Owner:  ----
Closed:  Mar 2012


Sign in to add a comment
 
Reported by danfuzz....@gmail.com, Jul 7, 2010
Background: I want to be able to filter two particular types of gerrit-generated emails using Gmail filters. (1) Any mail having to do with a change I created. (2) Any mail that is related to a change I have been asked to review.

I don't think there's a way to reliably filter those messages right now, but with the addition of a couple new tags, I think there could be.

Exactly one "Gerrit-Owner: user@example.com" line would get added to every message. This would contain the email address of the owner of the change.

One or more "Gerrit-Reviewer: user@example.com" lines would get added to every message having to do with a change that has assigned reviewers, one per reviewer.

So, any messages for changes I make would get tagged "Gerrit-Owner: danfuzz@android.com" and any messages for changes I've been asked to review would get tagged "Gerrit-Reviewer: danfuzz@android.com". Both are super-easy to reliably filter for.

Thanks for your consideration!
Jul 13, 2010
#1 sop@google.com
Change https://review.source.android.com/15761 does this.

But I think I need to ask... if you are filtering like
this, why are you getting so much email from Gerrit?
Did you sign up for all notifications on a project, but
don't really want them?  Or are you just trying to get
a GMail label to appear in your inbox to denote special
messages that you need to react to, vs. other emails?
Status: Fixed
Labels: FixedIn-2.1.4
Jul 13, 2010
#2 danfu...@gmail.com
Thanks for the quick turnaround!

In answer to your question, here's a bit more detail:

Yes, I have whole project notifications for a few relavent projects, e.g. I want to see everything happening in the dalvik and libcore projects (and a couple more). I filter most gerrit-related mail into a "changelog" label, which I go through once a day or so.

I also have a "code review" label, which is meant for messages that demand a more immediate reaction from me, such as when I'm asked to do a review or when someone comments on one of my patches.

Until now, I couldn't get Gmail to reliably distinguish messages in the former and latter categories, and so some important messages would slip through the cracks (get licked up by the wrong label), which meant that I couldn't simply monitor "code review" for unread messages if I wanted to be maximally reactive.
Jul 13, 2010
#3 sop@google.com
Well, its live on review.source.android.com now.

:-)
Mar 27, 2012
#4 sop@google.com
(No comment was entered for this change.)
Status: Released
Sign in to add a comment

Powered by Google Project Hosting