Reply to patch functionality

Carl-Daniel Hailfinger c-d.hailfinger.devel.2006 at gmx.net
Mon Aug 3 23:31:31 EST 2009


Hi,

I forgot to state that there are two ways to build this functionality:
1. Construct the reply link during mail parsing
2. Construct the reply link during web page display.

To get the functionality right, the following information is needed:
- Message-ID
- _Unmangled_ subject
- Mailing list mail address

AFAICS the mail header is available during mail parsing and during web
display, but it seems it is a bit more difficult to extract the info
from the header after it has been stored in the database (at least from
looking at the structure).

What's the right way to do this?

On 03.08.2009 14:51, Carl-Daniel Hailfinger wrote:
> I'm currently trying to implement a "Reply to this patch" link in the
> Patchwork web interface, but I'm missing a way to find out the mail
> address of the mailing list for the project inside
> apps/patchwork/bin/parsemail.py.
> AFAICS Patchwork does not store the list address anywhere. There is the
> list ID, but that doesn't help if you want to send a mail to the list.
>
> Any pointers are appreciated.
>   

Regards,
Carl-Daniel

-- 
http://www.hailfinger.org/



More information about the Patchwork mailing list