Re: Moderation

From: Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com>
To: Stephen Frost <sfrost(at)snowman(dot)net>
Cc: Magnus Hagander <magnus(at)hagander(dot)net>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, PostgreSQL WWW <pgsql-www(at)lists(dot)postgresql(dot)org>
Subject: Re: Moderation
Date: 2021-08-13 19:55:01
Message-ID: 7dd2591e-e68d-2410-69f2-3c2bd3af26c0@aklaver.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-www

On 8/13/21 11:35 AM, Stephen Frost wrote:
> Greetings,
>
> * Adrian Klaver (adrian(dot)klaver(at)aklaver(dot)com) wrote:
>> On 8/13/21 10:49 AM, Adrian Klaver wrote:
>>> On 8/13/21 10:18 AM, Stephen Frost wrote:
>>>>> https://gitlab.com/pglister/pglister/-/blob/master/mailtemplates/moderation_response.txt
>>>>>
>>>>
>>>> No, I don't think just adding it to every moderation notice that is sent
>>>> out would be very good.  If we're going to do this then we should make
>>>> it so that the notice actually says why it was moderated, if the issue
>>>> was cross-posting and then have a custom notice for that.
>>>
>>> I don't suppose there is a cheat sheet somewhere that gives an outline of
>>> how information is processed in pglister?
>>
>> Alright pulled out the shovel and I believe the place to intercept this is:
>>
>> https://gitlab.com/pglister/pglister/-/blob/master/lib/handlers/mailhandler.py
>>
>> MailHandler.moderate()
>>
>> Am I getting close?
>
> Yes, offhand that looks like the right area.
>
> Of course, installing it and setting it up and testing it by making
> changes would be the way to go ... and writing docs along the way would
> be certainly welcome. :)

Am I right that there is no documentation currently?

If there is where is it hidden?

Any pointers as to where to look for setup information e.g requirements.txt.

While I'm at it is there a reason inline comments are used instead of
docstrings?

>
> Thanks!
>
> Stephen
>

--
Adrian Klaver
adrian(dot)klaver(at)aklaver(dot)com

In response to

Responses

Browse pgsql-www by date

  From Date Subject
Next Message Stephen Frost 2021-08-13 20:51:10 Re: Moderation
Previous Message Stephen Frost 2021-08-13 18:35:37 Re: Moderation