πŸš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #87341

Re: PyClean installation

#87341
From: Steve Crook
Date: Tue, 02 Feb 2016 15:57
46 lines
2725 bytes
On Sun, 31 Jan 2016 15:50:21 +0100, Julien Γ‰LIE wrote in
Message-Id: <n8l6ve$psu$1@news.trigofacile.com>:

> Hi Steve,
>
>>> 2016-01-15 00:55:41 WARNING /home/news/pyclean/etc/pyclean.cfg: File not
>>> found
>> I've changed that to an INFO and improved the logged message.  The
>> config file is optional and the defaults work in most cases.
>
> Thanks.
> PyClean has behaved fine these last two weeks.

Hi Julien,

Good to hear it's worked for you!

> I have two remarks:
>
> * couldn't the body_fuzzy parameter use the "true" value by default 
> instead of "yes"?  All the other boolean parameters use "true"/"false".
I've changed it in the default config from "yes" to "true".  They are
interchangable within the parser so it was just a text change.

> I know it is the same for ConfigParser; it would just be more coherent.
Agreed.

> * couldn't the exclusion lists be parametrable?
> For instance, it could be useful to allow a change of the currently 
> hard-coded variable in PyClean:
>    html_allowed = ['^pgsql\.', '^relcom\.', '^gmane', 'microsoft', 
> '^mailing\.']
>
> One may add local newsgroups, or change the default list.

Yes, I think this could be done without too much effort.  The Regex file
parser within PyClean already does this for the bad_* style files stored
in pyclean/etc.  I'll take a look at it over the weekend if the weather
keeps me in.  This being England, that's a fairly sure bet.  :)

-- 
What shall we use 
To fill the empty spaces 
Where we used to talk?

Technical Details
Message-ID: <slrnnb1kfd.gvh.steve@fleegle.mixmin.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.(19219).mbox.7z!not-for-mail
References: <n4km8u$1ra$1@news.trigofacile.com> <slrnn95jel.lfk.steve@fleegle.mixmin.net> <slrnn9f49r.lfk.steve@fleegle.mixmin.net> <n791cm$14v$1@news.trigofacile.com> <slrnn9g7l6.lfk.steve@fleegle.mixmin.net> <n7bj99$2es$1@news.trigofacile.com> <slrnn9kh3e.lfk.steve@fleegle.mixmin.net> <n8l6ve$psu$1@news.trigofacile.com>

Show Full Headers
Complete Article Headers
Message-ID: <slrnnb1kfd.gvh.steve@fleegle.mixmin.net>
Subject: Re: PyClean installation
Date: Tue, 02 Feb 2016 15:57:33 +0000
From: Steve Crook <steve@mixmin.net>
References: <n4km8u$1ra$1@news.trigofacile.com> <slrnn95jel.lfk.steve@fleegle.mixmin.net> <slrnn9f49r.lfk.steve@fleegle.mixmin.net> <n791cm$14v$1@news.trigofacile.com> <slrnn9g7l6.lfk.steve@fleegle.mixmin.net> <n7bj99$2es$1@news.trigofacile.com> <slrnn9kh3e.lfk.steve@fleegle.mixmin.net> <n8l6ve$psu$1@news.trigofacile.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.(19219).mbox.7z!not-for-mail
Newsgroups: news.software.nntp
Organization: Mixmin
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Tue, 2 Feb 2016 15:57:33 -0000 (UTC)
Injection-Info: news.mixmin.net; posting-host="2d93934a2587fdd53dd2502e9ed2773fc4612d66";
 logging-data="19162"; mail-complaints-to="abuse@mixmin.net"
User-Agent: slrn/pre1.0.3-6 (Linux)
X-Received-Body-CRC: 3758714745
X-Received-Bytes: 2597