Article View: news.software.nntp
Article #76005Re: Some improvement to INN's handling control articles
From: Iulius
Date: Mon, 02 Apr 2007 14:18
Date: Mon, 02 Apr 2007 14:18
42 lines
2533 bytes
2533 bytes
En réponse à Iulius :
> By the way, I wonder whether the best thing to do regarding
> « docheckgroups » would not be to *automatically* do the changes needed
> in the « newsgroups » file.
I think it is the right thing to do.
But on no account should we change the docheckgroups behaviour (if
people test it in command line, I assume they do not want to blow up
their newsgroups file!).
So here is what I suggest:
* a new doupdategroups shell script:
--> http://people.via.ecp.fr/~iulius/inn2/doupdategroups
which only updates the newsgroups file (replacing all the descriptions
present by the new ones);
* in checkgroups.pl, after the call of:
system("$inn::pathbin/docheckgroups", $newsgrouppats);
add the call of:
system("$inn::pathbin/doupdategroupsgroups", $newsgrouppats);
and add a line in @output to say that the newsgroups file has been
automatically updates.
Thus, people might want to do:
cat checkgroups | docheckgroups
and see the changes to make to both their active and newsgroups file.
As for their active file, they do:
cat checkgroups | docheckgroups | sh
As for their newsgroups file, they do:
cat checkgroups | doupdategroups
Easy and useful, isn't it?
--
Iulius
« Hâte-toi de bien vivre et songe que chaque jour
est à lui seul une vie. » (Sénèque)
Technical Details
Message-ID:
<eur3bm$dj7$1@guepard.ecp.fr>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx02.iad01.newshosting.com!newshosting.com!newsfeed.icl.net!newsfeed.fjserv.net!oleane.net!oleane!news.ecp.fr!not-for-mailReferences:
<euog64$fcs$1@guepard.ecp.fr>Show Full Headers
Complete Article Headers
Message-ID: <eur3bm$dj7$1@guepard.ecp.fr> Subject: Re: Some improvement to INN's handling control articles Date: Mon, 02 Apr 2007 16:18:32 +0200 From: Iulius <iulius@nom-de-mon-site.com.invalid> References: <euog64$fcs$1@guepard.ecp.fr> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx02.iad01.newshosting.com!newshosting.com!newsfeed.icl.net!newsfeed.fjserv.net!oleane.net!oleane!news.ecp.fr!not-for-mail Newsgroups: news.software.nntp Organization: Gens Iulia -- http://www.trigofacile.com/ Lines: 42 NNTP-Posting-Host: goret.via.ecp.fr Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 8bit X-Trace: guepard.ecp.fr 1175523510 13927 138.195.145.22 (2 Apr 2007 14:18:30 GMT) X-Complaints-To: ingesys@cti.ecp.fr NNTP-Posting-Date: Mon, 2 Apr 2007 14:18:30 +0000 (UTC) User-Agent: Thunderbird 1.5.0.10 (Windows/20070221) In-Reply-To: <euog64$fcs$1@guepard.ecp.fr>