From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/14729 Path: main.gmane.org!not-for-mail From: Mike McEwan Newsgroups: gmane.emacs.gnus.general Subject: Re: `gnus-agent-expire' - specifics? Date: 22 Mar 1998 16:09:57 +0000 Sender: owner-ding@hpc.uh.edu Message-ID: References: NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 (generated by tm-edit 7.108) Content-Type: text/plain; charset=US-ASCII X-Trace: main.gmane.org 1035153874 17896 80.91.224.250 (20 Oct 2002 22:44:34 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 20 Oct 2002 22:44:34 +0000 (UTC) Return-Path: Original-Received: from xemacs.org (xemacs.cs.uiuc.edu [128.174.252.16]) by altair.xemacs.org (8.8.8/8.8.8) with ESMTP id IAA09717 for ; Sun, 22 Mar 1998 08:24:46 -0800 Original-Received: from gizmo.hpc.uh.edu (gizmo.hpc.uh.edu [129.7.102.31]) by xemacs.org (8.8.5/8.8.5) with ESMTP id KAA29692 for ; Sun, 22 Mar 1998 10:25:18 -0600 (CST) Original-Received: from sina.hpc.uh.edu (sina.hpc.uh.edu [129.7.3.5]) by gizmo.hpc.uh.edu (8.7.6/8.7.3) with ESMTP id KAN09954; Sun, 22 Mar 1998 11:00:19 -0600 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Sun, 22 Mar 1998 10:21:08 -0600 (CST) Original-Received: from claymore.vcinet.com (claymore.vcinet.com [208.205.12.23]) by sina.hpc.uh.edu (8.7.3/8.7.3) with SMTP id KAA13478 for ; Sun, 22 Mar 1998 10:20:56 -0600 (CST) Original-Received: (qmail 12768 invoked by uid 504); 22 Mar 1998 16:20:34 -0000 Original-Received: (qmail 12765 invoked from network); 22 Mar 1998 16:20:33 -0000 Original-Received: from post-20.mail.demon.net (HELO post.mail.demon.net) (194.217.242.27) by claymore.vcinet.com with SMTP; 22 Mar 1998 16:20:33 -0000 Original-Received: from lotusland.demon.co.uk ([158.152.62.156]) by post.mail.demon.net id aa2001393; 22 Mar 98 16:12 GMT Original-Received: from mike by lotusland.demon.co.uk with local (Exim 1.82 #1) id 0yGnMk-00008Q-00; Sun, 22 Mar 1998 16:12:54 +0000 Original-To: ding@gnus.org In-Reply-To: Lars Magne Ingebrigtsen's message of "19 Mar 1998 14:28:58 +0100" X-Mailer: Gnus v5.6.3/XEmacs 20.4 - "Emerald" Original-Lines: 41 MMDF-Warning: Parse error in original version of preceding line at post.mail.demon.net Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:14729 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:14729 Lars Magne Ingebrigtsen writes: > Oh, uhm, never. I forgot about that. *sigh* > > Hm... I'll have to think about how to approach this problem. Well I had a think about it, hacked a solution, and then rejected it as null and void :-(. I was nuking the NOV lines of articles in the overview file with dates older then `gnus-agent-expire-days' that did *not* have corresponding article files in my news directories. This is fine when the NOV line date is an accurate reflection of when the article header was downloaded, but I guess there are too many instances when such a date bears little relation to when the article was actually posted, arrived on the news server, and was downloaded. Duh, I've realised the necessity for the agent history files. With this in view, I was wondering if perhaps the best way to get rid of redundant NOV lines might be if an extra line of some sort was written to the history file for each group, detailing the highest article *header* downloaded in a given session. Then, at the tail end of current gnus-agent expire processing, the history file could be scanned for the last `group header details' line with a date that was less than or equal to current time minus `gnus-expire-days' (No NOV lines would be deleted if the first `group header details' was greater than the match value etc. etc.). Any NOV lines with article numbers less than or equal to the `highest retrieved header' number would then be nuked. An alternative would be to have a separate `history' file for downloaded headers, but then there's probably too many files already eh. Just an idea, I'm in no way proffering this as the way to go, it's just that I've wasted some time on it :-). What's the deal with those .agentview files? I been pruning my .overviews, but these suckers seem to keep on growing (I think...). -- Mike.