Article View: news.software.nntp
Article #90862Re: perl-nocem not processing all NoCeMs by same issuer
From: Julien ÉLIE
Date: Thu, 05 Oct 2023 18:35
Date: Thu, 05 Oct 2023 18:35
46 lines
3061 bytes
3061 bytes
Hi Jesse,
>>> Next question, is there an easier way for me to process the notices I have in
>>> news.lists.filters without grabbing Message-IDs one-by-one?
>>
>> Besides Ivo's script working for the tradspool storage method, there is
>> also a straight-forward way to do that depending on the overview method
>> you're using.
>>
>> With ovsqlite, you obtain all these storage tokens with:
>>
>> ovsqlite-util -g -n news.lists.filters | cut -f 5 -d' '
>>
>> See tdx-util and ovdb_stat for a similar dump with tradindexed and ovdb.
>> I can add a paragraph about that in the perl-nocem documentation as it
>> is an interesting use case to document.
>
> If it isn't overly complicated to provide an example for tdx-util that would
> be helpful to me and I'm sure others.
Sure. As for tdx-util, the storage token is the 6th field in the output:
tdx-util -g -n news.lists.filters | cut -f 6 -d' '
Piping that into perl-nocem will re-process all the notices in this
newsgroup.
With the Berkeley DB database, it is less straight-forward as the
ovdb_stat program works differently. We have to retrieve the overview
data ("-r 1-" for all the articles, or "-r low-high" for a specific
range of articles), find the Message-ID in the 5th field, and convert
them to storage tokens.
ovdb_stat -r 1- trigofacile.test | cut -f 5 | grephistory -s
I'll add these commands in the perl-nocem documentation as they seem to
prove useful.
--
Julien ÉLIE
« Le vrai danger, ce n'est pas quand les ordinateurs penseront comme les
hommes, c'est quand les hommes penseront comme les ordinateurs. »
Technical Details
Message-ID:
<ufmvle$76bs$1@news.trigofacile.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-mailReferences:
<ucv8rp$14t2$1@nnrp.usenet.blueworldhosting.com> <ucvdep$1m48$1@nnrp.usenet.blueworldhosting.com> <ucvecm$1fm4$1@nnrp.usenet.blueworldhosting.com> <ud2u8f$2cj5i$1@news.trigofacile.com> <ufmm3l$2mjm$1@nnrp.usenet.blueworldhosting.com>Show Full Headers
Complete Article Headers
Message-ID: <ufmvle$76bs$1@news.trigofacile.com> Subject: Re: perl-nocem not processing all NoCeMs by same issuer Date: Thu, 5 Oct 2023 20:35:26 +0200 From: Julien ÉLIE <iulius@nom-de-mon-site.com.invalid> References: <ucv8rp$14t2$1@nnrp.usenet.blueworldhosting.com> <ucvdep$1m48$1@nnrp.usenet.blueworldhosting.com> <ucvecm$1fm4$1@nnrp.usenet.blueworldhosting.com> <ud2u8f$2cj5i$1@news.trigofacile.com> <ufmm3l$2mjm$1@nnrp.usenet.blueworldhosting.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 Newsgroups: news.software.nntp Organization: Groupes francophones par TrigoFACILE Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Date: Thu, 5 Oct 2023 18:35:26 -0000 (UTC) Injection-Info: news.trigofacile.com; posting-account="julien"; posting-host="176.143-2-105.abo.bbox.fr:176.143.2.105"; logging-data="235900"; mail-complaints-to="abuse@trigofacile.com" User-Agent: Mozilla Thunderbird Cancel-Lock: sha1:rLjdjGUZnH9voniKi6T/yOw3Zbw= sha256:PpYaCRPN0XyiJxSub+x4h/autOqv/UJCtTAwEpbXCcI= sha1:o3JGB1M2nCiXnrPcKRZXPDOUK4M= sha256:tvug6EHhsGyJ2HVDd9ImEzWbhFoxwy6VcjbUV72m0dI= In-Reply-To: <ufmm3l$2mjm$1@nnrp.usenet.blueworldhosting.com>