🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #83781

Re: docheckgroups et al

#83781
From: John F. Morse
Date: Tue, 04 Jan 2011 16:06
72 lines
3727 bytes
Julien ÉLIE wrote:
> Hi John,
>
>   
>> However if I would have discovered earlier that any verbosity above
>> -v0 would cause the unneeded text, we wouldn't be having this
>> discussion.
>>
>> IOW, this causes the output to contain more than mod-active would
>> swallow:
>>
>> actsync -o c -z 0 -m -v 4 -p 0 /var/lib/news/active ./active-new
>>     
>
> I still do not understand.
> The lines added by -v 4 do not contain the word “ctlinnd” and are
> therefore ignored.
>
> while (<>) {
>   if (/^\s*\S*ctlinnd newgroup (\S+) (\S+)/) {
>     $toadd{$1} = $2;
>     $changes++;
>   } elsif (/^\s*\S*ctlinnd rmgroup (\S+)/) {
>     $eval .= "  next if \$group eq '$1';\n";
>     $changes++;
>   } elsif (/^\s*\S*ctlinnd changegroup (\S+) (\S+)/) {
>     $eval .= "  s/ \\S+\$/ $2/ if \$group eq '$1';\n";
>     $changes++;
>   }
> }
>
>
>
> I see lines like:
>
> actsync: STATUS: using default server: localhost
> actsync: STATUS: obtaining active file from localhost
> actsync: STATUS: read 608 groups, will merge 606 groups from localhost
> actsync: STATUS: found 2 line errors from localhost
> actsync: STATUS: obtaining active file from news.lacave.net
> actsync: STATUS: read 1645 groups, will merge 1645 groups from news.
>
> Nothing with “ctlinnd”.
>
>
> Besides, just tested:
>
> % actsync news.lacave.net -p 1 -o c -v 4 | grep comp.ai.shells | mod-active
> reading list of groups to update
> 1 change(s) to do
> ctlinnd pause batch active update, ok
> rewriting active file
> ctlinnd reload active 'updated from checkgroups'
> --- /home/news/db/active.old	2011-01-03 21:29:53.000000000 +0100
> +++ /home/news/db/active	2011-01-03 21:30:18.000000000 +0100
> @@ -609,0 +610 @@
> +comp.ai.shells 0000000000 0000000001 y
> ctlinnd go batch active update, ok
> updating /home/news/db/active.times
> chmoding active files
>
>
> Seems to work.
> What do you have on your news server when you run mod-active?
>   

"What" meaning what? ;-)

-- 
John

When a person has -- whether they knew it or not -- already rejected the Truth, by what means do they discern a lie?
Technical Details
Message-ID: <ifvghc$qvr$1@n102.xanadu-bbs.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.20141118.mbox.gz!border1.nntp.dca3.giganews.com!border2.nntp.dca3.giganews.com!border4.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!npeer02.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!news.glorb.com!news2.glorb.com!news.glorb.com!v102.xanadu-bbs.net!n102.xanadu-bbs.net!.POSTED!not-for-mail
References: <ie88v7$hg8$1@n102.xanadu-bbs.net> <ifb38e$2m6$1@puck.litech.org> <ifcmdj$h2p$1@n102.xanadu-bbs.net> <87ipydiwys.fsf@windlord.stanford.edu> <ifri8f$4jg$1@puck.litech.org> <ifs1r4$rjh$1@n102.xanadu-bbs.net> <8739p9c0d4.fsf@windlord.stanford.edu> <ifta98$77o$1@n102.xanadu-bbs.net> <8oeq22Fa6fU1@mid.individual.net>

Show Full Headers
Complete Article Headers
Message-ID: <ifvghc$qvr$1@n102.xanadu-bbs.net>
Subject: Re: docheckgroups et al
Date: Tue, 04 Jan 2011 10:06:04 -0600
From: "John F. Morse" <john@example.invalid>
References: <ie88v7$hg8$1@n102.xanadu-bbs.net> <ifb38e$2m6$1@puck.litech.org> <ifcmdj$h2p$1@n102.xanadu-bbs.net> <87ipydiwys.fsf@windlord.stanford.edu> <ifri8f$4jg$1@puck.litech.org> <ifs1r4$rjh$1@n102.xanadu-bbs.net> <8739p9c0d4.fsf@windlord.stanford.edu> <ifta98$77o$1@n102.xanadu-bbs.net> <8oeq22Fa6fU1@mid.individual.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.20141118.mbox.gz!border1.nntp.dca3.giganews.com!border2.nntp.dca3.giganews.com!border4.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!npeer02.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!news.glorb.com!news2.glorb.com!news.glorb.com!v102.xanadu-bbs.net!n102.xanadu-bbs.net!.POSTED!not-for-mail
Newsgroups: news.software.nntp
Organization: Xanadu BBS
Lines: 72
Reply-To: dont.bother
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Trace: n102.xanadu-bbs.net 1294157165 27643 192.168.89.210 (4 Jan 2011
X-Complaints-To: newsmaster@xanadu-bbs.net
NNTP-Posting-Date: Tue, 4 Jan 2011 16:06:05 +0000 (UTC)
User-Agent: Thunderbird 2.0.0.24 (X11/20101027)
In-Reply-To: <8oeq22Fa6fU1@mid.individual.net>
X-Enigmail-Version: 0.96.0
X-Original-Bytes: 3478