Rohan Verma wants to merge 3 commits from /u/rhnvrm/allura/ to master, 2017-01-20
Email Subjects:
I have changed it to the merge request summary.
So the first email will have just the summary and the mails in the discussions will have the word "discussions" appended to it.
TODO:
Commit | Date | |
---|---|---|
[8549f3]
(feature-improve-emails)
by
Rohan Verma
[#8048] Fix the failing tests due to new metalink parameter |
2016-08-03 09:55:50 | Tree |
2016-08-03 09:09:50 | Tree | |
2016-05-26 21:17:22 | Tree |
Related
Tickets:
#8048A few tests fail, they need to be updated to match the code changes. Testing for the new behavior specifically would be nice too.
The commented-out line can just be removed.
Should we make the subject match exactly to what the initial email is?
'Merge request: ' + mr.summary
. The capitalization and ":" are different. Also there is the word "discussion" added to the end automatically, which doesn't match. I tested a few other tools (blog, wiki, etc) and found that the wiki customizes the email subjects. It uses theemail_subject
property, maybe you can try that for merge requests?Now it is like, similar to wiki:
Also fixed the tests.
Hrm, I was thinking the subjects should be all exactly the same, not different. That will help gmail put it into a single thread. Unfortunately other mail clients like Thunderbird won't put it into a thread since they don't have the correct
In-Reply-To:
andReferences:
header values. To set those properly, I believe we can use themessage_id
param (seeticket.py
for an example of how it is set for tickets)Summary: [#8048] Better email subjects for merge request updates and view meta button in emails --> [#8048] Better email subjects for merge request updates
Description:
Diff:
Related
Tickets:
#8048Hi,
Is this something you think you want to wrap up? I forget exactly where we left it, but I think we were getting close. Or do you mind if I work on finishing it up?
Hey,
Sorry for the late response. Even I have forgot where we left it. Will look into this again tonight and let you know ASAP.
I just went through the changes I had made, I don't think I could think of any way to solve this further using the approach that I had used. I'm closing the MR, you can take a look at the branch https://forge-allura.apache.org/u/rhnvrm/allura/ci/feature-improve-emails/tree/ if that helps.
Thanks
Ok, no problem. Thanks. I will probably take a look at it at some point, but I haven't had time lately either :)