InterNetNews / inn

INN (InterNetNews) Usenet server
https://www.isc.org/othersoftware/#INN
Other
68 stars 12 forks source link

Add ability to rebuild overview for a specific newsgroup with ovsqlite-util and/or makehistory #281

Open jrehmer opened 9 months ago

jrehmer commented 9 months ago

Perhaps there is another way to accomplish this that I am not aware of, but I would like to be able to rebuild overview data for specific newsgroups using ovsqlite-util.

I have a lot of groups that exist in tradspool which were automatically removed via control messages. I'd like to re-add these groups (not allowing posting) and add them to the overview database.

The tradindexed overview method provides means to do this with tdx-util:

tdx-util -R /usr/local/news/spool/articles/example/test -n example.test

Foolishly, I meant to re-add the groups prior to running makehistory to rebuild the overview, but I forgot, and would like to avoid another 12-day process rebuilding the entire overview when I know which groups need to be built/rebuilt.

jrehmer commented 9 months ago

After some additional thought, perhaps for my case it would be beneficial to have this ability using makehistory as well, as the articles are no longer stored in the history database either.

jrehmer commented 9 months ago

After some additional thought, perhaps for my case it would be beneficial to have this ability using makehistory as well, as the articles are no longer stored in the history database either.

Actually, the articles are in the history database because the tradspool locations were still in tradspool.map when I ran makehistory, but I can see where it may be useful in other situations to have the ability to do this with makehistory as well.