Re: Moderation - Mailing list pgsql-www

From Adrian Klaver
Subject Re: Moderation
Date
Msg-id 7dd2591e-e68d-2410-69f2-3c2bd3af26c0@aklaver.com
Whole thread Raw
In response to Re: Moderation  (Stephen Frost <sfrost@snowman.net>)
Responses Re: Moderation  (Stephen Frost <sfrost@snowman.net>)
List pgsql-www
On 8/13/21 11:35 AM, Stephen Frost wrote:
> Greetings,
> 
> * Adrian Klaver (adrian.klaver@aklaver.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.klaver@aklaver.com



pgsql-www by date:

Previous
From: Stephen Frost
Date:
Subject: Re: Moderation
Next
From: Stephen Frost
Date:
Subject: Re: Moderation