🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #87340

Re: PyClean installation

#87340
From: Julien ÉLIE
Date: Sun, 31 Jan 2016 14:50
35 lines
2352 bytes
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.


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 know it is the same for ConfigParser; it would just be more coherent.



* 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.

-- 
Julien ÉLIE

« Si ça n'a pas fait boum, c'est peut-être le succès ? »
   (Astérix)

Technical Details
Message-ID: <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
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>

Show Full Headers
Complete Article Headers
Message-ID: <n8l6ve$psu$1@news.trigofacile.com>
Subject: Re: PyClean installation
Date: Sun, 31 Jan 2016 15:50:21 +0100
From: Julien ÉLIE <iulius@nom-de-mon-site.com.invalid>
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>
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: TrigoFACILE -- http://www.trigofacile.com/
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Sun, 31 Jan 2016 14:50:22 -0000 (UTC)
Injection-Info: news.trigofacile.com; posting-account="julien"; posting-host="aaubervilliers-651-1-273-5.w86-212.abo.wanadoo.fr:86.212.240.5";
 logging-data="26526"; mail-complaints-to="abuse@trigofacile.com"
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:38.0)
 Gecko/20100101 Thunderbird/38.5.1
In-Reply-To: <slrnn9kh3e.lfk.steve@fleegle.mixmin.net>
X-Received-Body-CRC: 3285283540
X-Received-Bytes: 2398