gitbucket-notifications-plugin
gitbucket-notifications-plugin copied to clipboard
Receive notifications only when involved / being the asignee
When you have a couple of projects hosted in GitBucket and the notifications plugin activated, you receive loads of mails by default (every time when someone is creating a PR, etc.). This can quickly become annoying and the risk that you miss the really important things (e.g. asignee = you) is increasing.
It would be nice to have an option which allows to receive notifications only when you're directly involved in a state change.
I just realized that you can adjust the "watch"-level per repository ("watching", "not watching", "ignoring"). But: I would find it useful to be able to set a "default watch level". Otherwise every single user has to adjust the settings per repository.
We would really appreciate that feature.
The current notification plugin sends email to only involved users. https://github.com/gitbucket/gitbucket-notifications-plugin/blob/b51f194d2b7df2639471a3cc7a91441cb627607c/src/main/scala/gitbucket/notifications/service/NotificationsService.scala#L63-L94
Involved users include a repository owner. So, if you are the owner of many repositories, you could get many notification emails. Do you want to avoid this case?
Out situation is the following. We are working as teams with multiple roles, developers and operations, and are using pull requests to ensure 4-eyes-principle within each role. The current setup leads to situations where every ops'ler is receiving every dev-pr and vise versa. We would like to be able to configure that less "spammy".
Thanks.
Hm, I see. Group members and collaborators are included in the notification target. Will an option to exclude them work? https://github.com/gitbucket/gitbucket-notifications-plugin/blob/b51f194d2b7df2639471a3cc7a91441cb627607c/src/main/scala/gitbucket/notifications/service/NotificationsService.scala#L54-L61
As soon as collaborators are only users involved in the related PR / branch you get the notification for - that should work.