Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: PATCH: _rpm caches installed rpms



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