Actions
Feature #6326
openParse email with patches as generated by @git format-patch@
Status:
New
Priority:
Normal
Assignee:
-
Category:
Email receiving
Target version:
-
Start date:
2010-09-08
Due date:
% Done:
0%
Estimated time:
Resolution:
Description
It would be nice if the Mail Handler could parse emails generated by git format-patch
. It could thus generate an issue with the description, and attach the patch to it.
I hacked the rdm-mailhandler.rb
script to try to detect and preprocess such an email. When it detects a mail formatted by Git, it creates a multipart message with the patch as an attachment which it then submits to Redmine's MailHandler
the normal way.
This is highly experimental (as my first attempt at Ruby), and the use of TMail should be replaced by Mail. Also, I think this feature would better be implemented directly in Redmine's MailHandler
rather than in rdm-mailhandler.rb
.
Files
Actions