#5092 do not send myself an email when I open or comment on a pull request
Opened 3 years ago by ktdreyer. Modified a year ago

When I open a new pull request, or I write a comment on an existing pull request, Pagure sends me an email with a copy of what I've just written. Please do not send me emails for the comments that I write or PRs that I open.


When I open a new pull request, or I write a comment on an existing pull request, Pagure sends me an email with a copy of what I've just written. Please do not send me emails for the comments that I write or PRs that I open.

Pagure notifies everyone on new PR and new ticket as a mean to start the thread.
Any new action after that will not be sent to the person who made it unless
they've asked for it in their settings.
So you should not receive notifications/emails from pagure when commenting on an
existing ticket or PR.

If that happened, could you please give us access to one of these emails?

This has happened for as long as I can remember using Pagure. Here's a full email with headers. https://fedorapeople.org/~ktdreyer/pagure-issue-5092/pagure-ticket-c227c9ddb40d400ab962b4f92dba3043.txt

This has happened for as long as I can remember using Pagure. Here's a full email with headers. https://fedorapeople.org/~ktdreyer/pagure-issue-5092/pagure-ticket-c227c9ddb40d400ab962b4f92dba3043.txt

So I went and checked the database and this is what I see:

pagure=# select "user", _settings from users where "user" = 'ktdreyer';
   user   |          _settings
----------+------------------------------
 ktdreyer | {"cc_me_to_my_actions": "y"}

In other words: you have enabled the option to be CC'ed on your own actions.

If you want to disable that, go to: https://pagure.io/settings#nav-user-tab and
un-check the check box.

Thank you for explaining this!

I read that setting earlier before I opened this ticket, and I did not understand the phrase "Activate cc me to my actions". I misunderstood this setting to mean "Any time I act on a ticket, add me as a "subscriber" on that ticket." After reading your explanation and the #1400 ticket, I see it means "Send me an email any time I perform any action in Pagure".

I was going to write a UI patch to improve the text, but I see the settings Jinja template just translates the string "cc_me_to_my_actions" with Activate {{ key | replace('_', ' ') }}, so I'm not sure how to change this to add any help text there.

I was also looking into how we can make it easier for users to learn about cc_me_to_my_actions directly from the email text itself so they can disable it if they choose, but I wasn't sure about how to do that either.

It would be great if Pagure did not email me every time I open a new PR. I already know that I've opened it.

As I have said before:

Pagure notifies everyone on new PR and new ticket as a mean to start the thread.

I was going to write a UI patch to improve the text, but I see the settings Jinja template just translates the string "cc_me_to_my_actions" with Activate {{ key | replace('_', ' ') }}, so I'm not sure how to change this to add any help text there.

We could do like in the project's options page and just have an explanation underneath the checkbox explaining what it does.

Metadata Update from @wombelix:
- Issue assigned to wombelix

a year ago

Metadata Update from @wombelix:
- Issue set to the milestone: 5.13

a year ago

Login to comment on this ticket.

Metadata