Patchwork Recognize X-list list header

login
register
mail settings
Submitter Ralf Baechle
Date Sept. 22, 2010, 3:17 p.m.
Message ID <20100922151729.GB12663@linux-mips.org>
Download mbox | patch
Permalink /patch/65430/
State Accepted
Headers show

Comments

Ralf Baechle - Sept. 22, 2010, 3:17 p.m.
Ecartis inserts X-list list headers.

 apps/patchwork/bin/parsemail.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
Jeremy Kerr - Sept. 24, 2010, 2:20 a.m.
Hi Ralf,

> Ecartis inserts X-list list headers.

Thanks for the patch, applied.

I wanted to verify the capitalisation of 'X-list', so went to grab the
source of ecartis, but seems that the download server (ftp.ecartis.org)
is offline. I tried to (CVS!) checkout the source, but cvs.ecartis.org
is offline too. Is ecartis still being used?

Cheers,


Jeremy
Ralf Baechle - Sept. 24, 2010, 7:45 a.m.
On Fri, Sep 24, 2010 at 10:20:21AM +0800, Jeremy Kerr wrote:

> I wanted to verify the capitalisation of 'X-list', so went to grab the
> source of ecartis, but seems that the download server (ftp.ecartis.org)
> is offline. I tried to (CVS!) checkout the source, but cvs.ecartis.org
> is offline too. Is ecartis still being used?

The project is defunct for many years but legacy installations remain.
Similar for Majordomo except Majordomo being a zillion times more common
and both use X-List.  The two capitalizations X-list and X-List seem to be
similarly common.

If you haven't found an Ecartis source tarball and still want one, I've
dumped it at:

  ftp://ftp.linux-mips.org/pub/linux/mips/people/ralf/ecartis/

I'd switch anytime but don't like any of the replacements.  GNU Mailman
for example uses databases instead of ASCII files which on occasion is
a pain.

  Ralf

Patch

diff --git a/apps/patchwork/bin/parsemail.py b/apps/patchwork/bin/parsemail.py
index 68bd94c..a85f42d 100755
--- a/apps/patchwork/bin/parsemail.py
+++ b/apps/patchwork/bin/parsemail.py
@@ -36,7 +36,7 @@  except ImportError:
 from patchwork.parser import parse_patch
 from patchwork.models import Patch, Project, Person, Comment
 
-list_id_headers = ['List-ID', 'X-Mailing-List']
+list_id_headers = ['List-ID', 'X-Mailing-List', 'X-list']
 
 whitespace_re = re.compile('\s+')
 def normalise_space(str):