> >   Instead of spreading out the if blocks for certificate checks into
> >   each command, I wonder if we should group the "switch" at 1730 into
> >   operations that contact authorities and those that don't, and only
> >   check for the former?
> 
> The problem is for things like info and contents, which decide within the
> methods that handle those operations whether they'll be contacting the
> server or not (info -r, for example).

This is what stopped me from doing this before.  However, if it would
look cleaner and we can live with info and search always performing this
check, I could group them this way.  The only downside is that for these
routines that sometimes go local instead of remote, we'll perform the
check anyway.

Thoughts?

-j

_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss

Reply via email to