I think this is akin to what some other projects do to automatically apply
patches and validate whether they apply or not. I've always wanted such a
system for Lucene, but never had the time to hook it together. I wish Hudson
had a JIRA plugin that did it automatically (or maybe there is and I'm just not
aware of it).
-Grant
On Jan 28, 2011, at 11:51 AM, Dawid Weiss wrote:
> Just a follow-up to those interested...
>
> I eventually went with procmail (with a little help from guys that
> know it better). So, for folks who do have access to their MTA and can
> filter e-mails, here it is (postfix/procmail combo):
>
>> cat ~/.forward
> "|/usr/bin/procmail"
>
>> cat ~/.procmailrc
> 0:
> {
> :0fhw:
> | perl -pe 's/^(Subject: \[jira\] )([^\\ ])+(.*)/Subject:$3/g'
>
> :0
> [email protected]
> }
>
> That last forward only if you want to redirect somewhere else, of
> course. Works like a charm.
>
> Dawid
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]