New mail archive script
- From: Olav Vitters <olav vitters nl>
- To: foundation-list gnome org, devel-announce-list gnome org
- Subject: New mail archive script
- Date: Wed, 13 Feb 2013 10:15:35 +0100
[ Regarding the new mail.gnome.org ]
On Wed, Jan 30, 2013 at 04:10:52PM +0100, Andrea Veri wrote:
> All the services should be up and running again. The migration took a bit
> more than we expected cause of a failing script.
That was a Perl script which failed because of a missing module. It
didn't print any error message. Instead it just used 100% and that
took Andrea+Owen a long time to figure out (script has not changed since
2002 or so :).
I've rewritten the script in Python. It is not live yet, but over the
coming days I'll be testing it. This script handles the URLs below:
https://mail.gnome.org/archives/$LISTNAME/
(so not https://mail.gnome.org/archives/, just every link beneath it)
In the new script I changed the layout. You can see it at:
https://mail.gnome.org/archives/gnome-bugsquad/
though it'll be overwritten as soon as a new email is sent to that
mailing list.
If you notice errors please file a bug at:
https://bugzilla.gnome.org/enter_bug.cgi?product=sysadmin
If you want to see the old+new script:
http://git.gnome.org/browse/mhonarc/tree/ (archive.pl and archive.py)
UTF-8 archive problem:
Note: there is another problem in where the archives are not in UTF-8.
That is due to upstart (RHEL6) not starting Postfix with
LANG=en_US.UTF-8. Proper way to configure that is welcome. Note that
postfix is just a sysvinit service in RHEL6, so the job configuration
does not apply AFAIK.
See https://bugzilla.gnome.org/show_bug.cgi?id=693433 if you have ideas.
--
Regards,
Olav
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]