http://screencast.com/t/zMVPh6huD should include the branch(es) that the commits are on. Each commit should have a link to view it. And each commit should go through standard markdown processing.
I'm pretty sure the notification message should be Markdown and then links will be generated properly for text/plain and text/html components of the HTML. Perhaps you just need to add the domain (config['base_url']) and the links will work.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
The branch name in brackets like [master] doesn't work well when it gets converted to html because brackets are used for links and there's not an artifact called master, so the brackets get dropped. Maybe (master) would be better. Or master: sample commit message
I don't think _make_notification needs to do markdown conversion since mail_tasks.py already has that logic. (see the end of the sendmail function). Moreover, within _make_notification, the c.user.get_pref('email_format') refers to the committer, not the recipient. Will it work without modifying _make_notification at all?
And then can you add the branch name and link for the notification of a single commit also? Markdown/html works correctly for a single commit notification.
Thanks
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Closed #70 and updated 42cc_3775 branch. There's one merge commit in the branch, it should disappear when you'll make git rebase. I could not get the two branches (in your and our repository) merged/rebased without that commit.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
created #43: [3775] commit notifications should say the branch, and use markdown (2cp)
Originally by: tramadolmen
I have generated this notification message:
It seems that link in tags not showed. Can i place link without tags?
I'm pretty sure the notification message should be Markdown and then links will be generated properly for text/plain and text/html components of the HTML. Perhaps you just need to add the domain (
config['base_url']
) and the links will work.closed #43, please check branch '42cc_3775'
The branch name in brackets like
[master]
doesn't work well when it gets converted to html because brackets are used for links and there's not an artifact called master, so the brackets get dropped. Maybe(master)
would be better. Ormaster: sample commit message
I don't think _make_notification needs to do markdown conversion since mail_tasks.py already has that logic. (see the end of the
sendmail
function). Moreover, within_make_notification
, thec.user.get_pref('email_format')
refers to the committer, not the recipient. Will it work without modifying _make_notification at all?And then can you add the branch name and link for the notification of a single commit also? Markdown/html works correctly for a single commit notification.
Thanks
Created #70: [#3775] Refactoring and small amendments (1cp)
Related
Tickets:
#3775Closed #70 and updated 42cc_3775 branch. There's one merge commit in the branch, it should disappear when you'll make git rebase. I could not get the two branches (in your and our repository) merged/rebased without that commit.