🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #89743

Re: INN2: importing archival messages an threads

#89743
From: Russ Allbery
Date: Thu, 27 Oct 2022 15:46
47 lines
3416 bytes
Henning Hucke <h_hucke+spam.news@newsmail.aeon.icebear.org> writes:

> INN does duplicate detection already by itself. That's nothing you need
> to do. And you also need no separate python implemented NNTP feeder
> since such tools already exist.

The big problem with injecting old posts is that INN uses strictly
increasing article numbers, so they'll get larger article numbers than
existing (more recent) posts.

How this will look to the user will vary by newsreader, but in general all
the historic posts will show up as new, and they may or may not be sorted
correctly when people view the group depending on whether the newsreader
sorts by article date or by article number.  Sorting by article number is
quite common.

If you want this to look as if all the articles had arrived in normal
order, unfortunately you (speaking to the original poster here) have to do
major surgery.  You'll have to assemble an article tree, probably with
manually assigned article numbers, that has all the articles you want
numbered in the right order.  I think you'll have to use tradspool and
tradindexed overview, and then use the tdx-util program from tradindexed
to rebuild overview for that group.  You'll also have to inject the
articles into history, probably by rebuilding history.

This is unforutnately not going to be easy to do and is going to be
disruptive for any existing readers of the group on that server (because
you'll end up renumbering the articles in that group).  INN doesn't
provide any tools out of the box for doing this, although I have done
things like this before (many years ago) manually.

You may find it easier to set up a second INN server, assemble a list of
all the articles you want on that server in correct date sorted order, and
then feed all the articles to that server in that order using innxmit or
some similar tool.  This will also require some work to assemble all the
pieces and build the batch file pointing to all the article files, so it
will take some manual experimentation.  (Since I haven't done that
experimentation in over ten years, I unfortunately can't give you
step-by-step instructions.)  But it may mean less fiddling than manually
assembling a tradspool structure and rebuilding history and overview.  Or
it may not!  I'm not sure which is easier.

-- 
Russ Allbery (eagle@eyrie.org)             <https://www.eyrie.org/~eagle/>

          Please post questions rather than mailing me directly.
     <https://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Technical Details
Message-ID: <8735b9p8un.fsf@hope.eyrie.org>
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: <tj3ko6$197dn$3@dont-email.me> <tj5igi$hsc$1@sirius.aeon.icebear.cloud> <tj5rle$1lkov$1@dont-email.me> <tjdnmm$p32$1@sirius.aeon.icebear.cloud>

Show Full Headers
Complete Article Headers
Message-ID: <8735b9p8un.fsf@hope.eyrie.org>
Subject: Re: INN2: importing archival messages an threads
Date: Thu, 27 Oct 2022 08:46:56 -0700
From: Russ Allbery <eagle@eyrie.org>
References: <tj3ko6$197dn$3@dont-email.me> <tj5igi$hsc$1@sirius.aeon.icebear.cloud> <tj5rle$1lkov$1@dont-email.me> <tjdnmm$p32$1@sirius.aeon.icebear.cloud>
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.software.nntp
Organization: The Eyrie
Mime-Version: 1.0
Content-Type: text/plain
Injection-Info: hope.eyrie.org; logging-data="26537"; mail-complaints-to="news@eyrie.org"
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux)
Cancel-Lock: sha1:rEL0OaHKpMVBlV06EwDnsT1V5+k=