On Thu, Nov 15, 2007 at 10:19:48PM -0800, Jyri Virkki wrote: > Danek Duvall wrote: > > > > - Currently, it uses "pkg search -s" to activate server query, which is > > wrong. Possibly "pkg search -s <server>" would be good, but to turn > > the current -s into -r (for remote), which is what I'm currently > > leaning towards. Another suggestion would be to make it search > > remotely (and locally?) by default, and only search locally with -l. > > Any thoughts on this would be appreciated. > > I probably misunderstood the above but do you suggest every 'pkg > search' invocation would go over the network to the server instead of > searching local cache? That's not good, it'd be too slow, to say > nothing about the load on the server.
Okay. I have no insight into how the current code would perform if this were done a whole lot, over a slow link, etc. Note, though, that the data locally isn't a cache of everything that's on the server, it's a cache only of the packages you have installed. > I typically do hundreds of 'aptitude search foo' for every > 'aptitude update' in debian. It'd be very annoying if it did an > implicit update for every search. And I don't understand this -- I'm not talking about updating anything at all on a search. Danek _______________________________________________ pkg-discuss mailing list [email protected] http://mail.opensolaris.org/mailman/listinfo/pkg-discuss
