[ET Trac] [Einstein Toolkit] #1529: Included clickable link to archived posting in users list emails
Einstein Toolkit
trac-noreply at einsteintoolkit.org
Sun Jan 26 00:08:09 CST 2014
#1529: Included clickable link to archived posting in users list emails
--------------------------------------+-------------------------------------
Reporter: rhaas | Owner:
Type: enhancement | Status: reopened
Priority: optional | Milestone:
Component: EinsteinToolkit website | Version: development version
Resolution: | Keywords:
--------------------------------------+-------------------------------------
Changes (by rhaas):
* status: closed => reopened
* resolution: wontfix =>
Comment:
Alright. One can use the message-id when making a one-line hack to
mailman. The attached patch is for
/usr/lib/mailman/Mailman/Archiver/HyperArch.py which is the tool actually
generating the archives. It replaces the sequence number of the posting
(which is what is usually used for the URL) by the first part of the
message id. Eg for
http://lists.einsteintoolkit.org/pipermail/users/2014-January/003400.html
it would generate
http://lists.einsteintoolkit.org/pipermail/users/2014-January/20140106182143.GH6244.html
which is almost unique (the message ID is created by the sender it seems
so two sender could in principle create the same ID).
If one does not want to hack a file installed by the package manager (or
if you are not root) but can at least modify /etc/mailman/mm_cfg.py then
one can use the entry PUBLIC_EXTERNAL_ARCHIVER (see
/usr/lib/mailman/Mailman/Defaults.py) to replace the default archiver with
a copy of lines 210--216 of /usr/lib/mailman/Mailman/Defaults.py that uses
the modified HyperArch.py .
To get the message id to show up in the email text (rather than just the
email header, which requires inspecting the message source in one's email
client), one can modify Decorate.py and add a new field "msg_id" to the
allowed values in mailing list (Non-digest options, the web-gui complain
but things work anyway).
Maybe a student can be found who is willing to turn these into a "nice"
method. What I described works in a test setup inside of a virtual machine
but I have no idea what kind of access level we have to the machine that
runs the ET mailing list.
--
Ticket URL: <https://trac.einsteintoolkit.org/ticket/1529#comment:3>
Einstein Toolkit <http://einsteintoolkit.org>
The Einstein Toolkit
More information about the Trac
mailing list