Re: No easy way to join discussion in existing thread when not subscribed

From: Amir Rohan <amir(dot)rohan(at)mail(dot)com>
To: Stephen Frost <sfrost(at)snowman(dot)net>
Cc: Andres Freund <andres(at)anarazel(dot)de>, PostgreSQL www <pgsql-www(at)postgresql(dot)org>, magnus(at)hagander(dot)net, Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>
Subject: Re: No easy way to join discussion in existing thread when not subscribed
Date: 2015-09-29 15:51:02
Message-ID: 560AB366.7000600@mail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-www

Magnus,

Please, see attached patch adding a "whole thread[as mbox] link"
to pgarchives, by popular request upthread.

It checks hiddenstatus, but does materialize the entire raw thread
in memory (including attachments) to form the response, which
is unbounded in principle and can be sizable in practice.

Perhaps django can do streaming requests, so we can bound
the memory usage + timeout. It's been a while.

If you'd like changes (hard limits, strip attachments, etc'),
do let me know.

On 09/29/2015 03:51 PM, Stephen Frost wrote:

>>> I have this frustration with mutt. :) Which is why I'd like an mbox of
>>> just the thread that I want to reply to.
>>

Here you go.

>> I'd be glad to help implement whatever works, if someone points me
>> at the code for the website.
>
> I assume you're referring to the above changes to the archives system,
> not the bug tracker debate, so, the archives code is here:
>
> http://git.postgresql.org/gitweb/?p=pgarchives.git;a=summary
>
> The website code is here:
>
> http://git.postgresql.org/gitweb/?p=pgweb.git;a=summary
>

I'd be glad to help with the bugtracker too, if things have converged,
I haven't followed that thread closely.

Cheers,
Amir

p.s.

The web archives already support a single-message mbox download.
It's the "raw" view. I didn't realize and... *neither did any of you*
;)

Attachment Content-Type Size
20150929.pgarchives.add_thread_mbox_dl_amir_v1.patch text/x-patch 4.5 KB

In response to

Responses

Browse pgsql-www by date

  From Date Subject
Next Message Amir Rohan 2015-09-29 16:18:25 Re: No easy way to join discussion in existing thread when not subscribed
Previous Message Alvaro Herrera 2015-09-29 14:14:48 Re: Deselecting "Receive Mail" on the website ml subscribe form is broken