🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.admin.peering
Article #1646

Re: Renumber newsgroups by post date

#1646
From: Frank
Date: Sun, 23 Apr 2023 16:08
21 lines
1353 bytes
Eli:

> How can I best renumber the article numbers of all newsgroups, sorted by post
> date.

Why?! Renumbering articles is generally a bad idea. Newsreaders rely on 
them to tell what's new and what to mark as read.

If a server renumbers its articles, its readers would need to throw out 
their newsrc and show everything as unread.

> Can someone help me with this?

- stop accepting articles on the existing server
- make a sorted list of storage tokens (you'll probably need to write a 
script for this. loop over the history and make a list of tokens and their 
posting date, then sort it)
- set up a new empty server
- use the sorted list to feed articles into the new server
- swap servers
- start accepting articles again
Technical Details
Message-ID: <20230423160822.Aq0OKbfG2jj0@sewer.dizum.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!not-for-mail
References: <7Qb1M.3786652$nwq3.3523857@fx13.ams4>

Show Full Headers
Complete Article Headers
Message-ID: <20230423160822.Aq0OKbfG2jj0@sewer.dizum.com>
Subject: Re: Renumber newsgroups by post date
Date: Sun, 23 Apr 2023 16:08:22 -0000
From: Frank <franky@xxx.yyy>
References: <7Qb1M.3786652$nwq3.3523857@fx13.ams4>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!not-for-mail
Newsgroups: news.admin.peering
Organization: dizum.com - The Internet Problem Provider
X-Abuse: abuse@dizum.com
Injection-Info: sewer.dizum.com - 2001::1/128