-
Notifications
You must be signed in to change notification settings - Fork 60
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Postfix PR title with [backport]
#46
Conversation
This makes it possible to search for all GitHub e-mail notifications that involves a backport PR. This can be really useful if you want to filter these kind of notification e-mails in a special way.
I like this idea, but I recommend this be implemented as a "title template" feature that we can configure through the .backportrc.json files. This allows for individual projects to maintain their own naming conventions, just like they do for branches and labels. |
@epixa This would mean that my Gmail filter would have to be manually maintained for each project that changes the default (if the default is to set it to for instance |
@watson Ah yeah, I understand your concern there, and I'm glad you mentioned something since I was specifically thinking about the per-project config so that we could not have the prefix in kibana's projects. Kibana PR lists already include a backport label and are pretty cluttered as-is. Out of curiosity, can you filter on the content instead? If so, the backport description already includes the phrase Anyway, I don't have very strong opinions about this, but as more and more people and projects use this tool, changing the hardcoded rules around content is going to be harder and harder without disrupting folks. |
Also chiming in here. The issue you (@watson) are describing with getting too many "noisy" backport emails is definitely something I'd like to see a solution for. The optimal solution would be a filter that worked on non-visible fields like |
Filtering on on the body text actually solves the problem, so I'm just going to close this PR. Here's a cheatsheet for the filters you can set up: For a specific repo on GitHub:
For all repos under a GitHub org/user:
For all repos on GitHub:
|
Cool! Glad you got it working, and thanks for cheatsheet. |
Doh! This obviously only work for the initial email notification. But all activity that happens post the first, will of course not have that word in the body. Only the subject stays the same. Any suggestions on how to get around this without modifying the subject? |
I only watch a few repos so I don't get notified unless I'm directly involved in a PR - not to say it isn't a problem, just that I'm not experiencing it, so haven't thought much about this. Did you try setting a filter on |
That would work, but needs to be kept up to date all the time as new versions are released, so I would rather have a more "permanent" solution of course 😄 |
This makes it possible to search for all GitHub e-mail notifications that involves a backport PR.
This can be really useful if you want to filter these kind of notification e-mails in a special way.