Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: PATCH: _rpm caches installed rpms
- X-seq: zsh-workers 8117
- From: Adam Spiers <adam@xxxxxxxxxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxxxxxx
- Subject: Re: PATCH: _rpm caches installed rpms
- Date: Thu, 30 Sep 1999 19:32:37 +0100
- In-reply-to: <E11WcsN-0005L6-00@xxxxxxxxxxxxxxxxxx>
- Mail-followup-to: zsh-workers@xxxxxxxxxxxxxx
- Mailing-list: contact zsh-workers-help@xxxxxxxxxxxxxx; run by ezmlm
- References: <19990929195933.A15944@xxxxxxxxxxxxxxxxxxxxxxx> <E11WcsN-0005L6-00@xxxxxxxxxxxxxxxxxx>
- Reply-to: Adam Spiers <adam@xxxxxxxxxx>
Zefram (zefram@xxxxxxxx) wrote:
> Adam Spiers wrote:
> >I'm personally a fan of caching (sp?). Others may not be; should it
> >be configurable? In any case, the cache can easily be force-rebuilt.
>
> I think caching is dangerous in this case. If the rpm command is being
> used, then the data you are caching -- the list of installed packages
> -- is almost certainly changing.
Oops, good point. Peter, probably best to leave that patch out.
> The list can also be generated (with
> rpm -qa) quite quickly.
Not on my machine :-( 664 installed rpms ...
> In both of these aspects, rpm is unlike, for
> exxample, man, where caching is useful.
True.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author