Gnus development mailing list
 help / color / mirror / Atom feed
From: Mike McEwan <mike@lotusland.demon.co.uk>
Subject: Re: `gnus-agent-expire' - specifics?
Date: 22 Mar 1998 16:09:57 +0000	[thread overview]
Message-ID: <m3sooazoyy.fsf@lotusland.demon.co.uk> (raw)
In-Reply-To: Lars Magne Ingebrigtsen's message of "19 Mar 1998 14:28:58 +0100"

Lars Magne Ingebrigtsen <larsi@gnus.org> 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.



  reply	other threads:[~1998-03-22 16:09 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-03-18 21:42 Mike McEwan
1998-03-19 13:28 ` Lars Magne Ingebrigtsen
1998-03-22 16:09   ` Mike McEwan [this message]
1998-03-23 13:25     ` Lars Magne Ingebrigtsen
1998-03-23 23:47       ` Mike McEwan
1998-03-26 14:50         ` Lars Magne Ingebrigtsen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m3sooazoyy.fsf@lotusland.demon.co.uk \
    --to=mike@lotusland.demon.co.uk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).