Hi Julius,
On 13/06/2019, 18:58, "TSC on behalf of Julius Werner via TSC" <tsc-bounces@lists.trustedfirmware.org on behalf of tsc@lists.trustedfirmware.org> wrote:
As a follow-up to what we just discussed in the meeting, here's how to set up email notifications on Gerrit:
1. Log in to review.trustedfirmware.org 2. Click on the little Settings gear on the top right (next to your name) 3. Scroll down to Notifications 4. Type the repo name (e.g. TF-A/trusted-firmware-a) into the Repo field (you have to wait for it to auto-complete and then select it, can't just copy&paste the full name in) 5. Type a search expression for things to monitor into the field on the right 6. Click Add 7. Repeat with as many expressions as you want to monitor 8. Select checkboxes for the events you want to monitor (e.g. I believe "Changes" just sends one email when it is first uploaded, "Patches" sends one for every new patch set) 9. Click Save Changes For the search expression I usually use something like path:"^plat/common/.*" or path:"^drivers/(arm/pl011|console|coreboot|delay_timer|gpio|ti).*" to monitor the subdirectories I'm interested in, but any valid Gerrit search expression works. You can try out the expression in the normal search field to make sure it detects all the changes you intended.
Thanks for the information, that's really useful :) I was aware of project-specific notifications in general but had never noticed there was a search filter to customize that further to specific files/directories!
As a number of people have asked about that in the past, I've captured your instructions on the TF-A wiki here:
https://developer.trustedfirmware.org/w/tf_a/gerrit_notifications/
Regards, Sandrine