#1980 add e-mail-trac gateway to submit patches via git, bzr, etc.
Closed: Fixed None Opened 14 years ago by till.

= problem =

git allows to send patches via send-email and bzr using send, but there is no place to send the patches to for hosted projects. Instead one needs to manually create a ticket and copy all information from the patch to the ticket to create a useful ticket.

= analysis =

Releng used to use a email2trac plugin, but I believe it was not used anymore because of spam problems. But for this use case, the mails need to be in a certain format and it is very unlikely that spam is sent matching this format.

= enhancement recommendation =

The plugin would need to work as follows:
- see if the sender can be matched to a known FAS account, store that FAS name
- parse incoming e-mails and check whether they are valid patches e.g. for git or bzr
- The Subject is used as a new short summary and the commit message is used as the initial comment
- the mail itself is stored as an attachement for to the ticket
- the ticket is created using the looked up FAS account name

I do not know how much coding this would involve, but I would certainly like to have this feature. If it looks like it could be accepted, I will spend some time looking into it eventually.


email2trac is installed on hosted1 and still installed. In theory you can configure it for your project, perhaps via the admin interface?

We no longer have email2trac installed. Is this still desired?

Closing. Please re-open if this is still wanted/needed.

Login to comment on this ticket.

Metadata