🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #60038

Re: Redirect/Saving newsgroup to different newsgroup.

#60038
From: Jeffrey M. Vinocur
Date: Sat, 24 Aug 2002 04:11
54 lines
3041 bytes
In article <yl3ct5mapu.fsf@windlord.stanford.edu>,
Russ Allbery  <rra@stanford.edu> wrote:
>
>> s/[^-.+[:alnum:]]$src[^-.+[:alnum:]]/$dst/g
>
>I bailed on this and just documented the problem, since you can have
>almost anything in a newsgroup name.

Heh.  Fine by me.  (The more readable that code, the better.)

(The opposite approach, of course, would be to require
[:,[:space:]] before and ([:,[:space:]]|$) after, I guess.)  Oh,
and we have problems if any of those headers are wrapped onto the
next line, but I guess nobody will ever encounter that in
practice.


>> Want to mention the new refeeding program that somebody just submitted?
>> (Hmm, I guess there could be an option for that to take care of the
>> find-replace and even the Message-ID tweaking if desired.
>
>I think I missed the refeeding program, but in general that would make
>sense.

Uh, contrib/respool.c, I meant.  I just took a glance, and I
think that could handle it without too much trouble.


>> How hard would it be to supply a tool (or bit of script in the FAQ
>> itself) to remove Message-IDs from history?
>
>Not *too* hard, although you have to find the message ID by hash and
>you'll have to stop the server, so it's more than I think I can write in
>the FAQ.  But it could be provided as a tool with INN and wouldn't be too
>hard to write.

I think people forget to set artcutoff before trying to feed old
articles with sufficient frequency that it would be worthwhile.
On the otherhand, I think those are mostly people with small
servers, and now that makehistory seems reliable, there's really
no reason they can't take the server down briefly, makehistory
and then makedbz.


>Maybe an option to grephistory?  (Making it even more poorly named?)

Hrm.  It would fit in there easily enough, and that actually
makes sense user-interface-wise, in a slightly twisted way.


-- 
Jeffrey M. Vinocur
jeff@litech.org
Technical Details
Message-ID: <ak710o$tc8$3@puck.litech.org>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news.ems.psu.edu!news.litech.org!not-for-mail
References: <3D1A0033.9010402@acme.nsc.com> <ylr8gpv5in.fsf@windlord.stanford.edu> <ak6ec6$mb5$3@puck.litech.org> <yl3ct5mapu.fsf@windlord.stanford.edu>

Show Full Headers
Complete Article Headers
Message-ID: <ak710o$tc8$3@puck.litech.org>
Subject: Re: Redirect/Saving newsgroup to different newsgroup.
Date: Sat, 24 Aug 2002 04:11:04 +0000
From: jeff@litech.org (Jeffrey M. Vinocur)
References: <3D1A0033.9010402@acme.nsc.com> <ylr8gpv5in.fsf@windlord.stanford.edu> <ak6ec6$mb5$3@puck.litech.org> <yl3ct5mapu.fsf@windlord.stanford.edu>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news.ems.psu.edu!news.litech.org!not-for-mail
Newsgroups: news.software.nntp
Organization: Litech Systems Design
Lines: 53
Sender: jeff@litech.org
NNTP-Posting-Host: puck.litech.org
X-Trace: puck.litech.org 1030162264 30088 208.48.41.224 (24 Aug 2002 04:11:04 GMT)
X-Complaints-To: usenet@litech.org
NNTP-Posting-Date: Sat, 24 Aug 2002 04:11:04 +0000 (UTC)
X-Newsreader: trn 4.0-test76 (Apr 2, 2001)
Originator: jeff@litech.org (Jeffrey M. Vinocur)