On 05/22/12 18:10, Tim Foster wrote:
[snip]
I believe that when a user asks us to remove an origin without
qualifying it; they mean just that -- remove the origin and any
references.
If they want to remove just a specific proxy or key/cert pair, then they
should specify the origin and the specific proxy or key/cert pair.
Alright, so this could be a simple user-interface change on my part.
I could make:
# pkg set-publisher -G http://foo bar
delete all instances of http://foo (ie. preserve the current
behaviour) and also make:
I'm not a fan of this change, though I could live with it. Another
suggestion would be this:
1) If a single origin with the uri http://foo is specified (with or
without proxy) -G http://foo removes it
2) If multiple origins with the uri http://foo are specified but one
doesn't have a proxy, -G http://foo removes the unproxied one
3) If multiple origins with the uri http://foo are specified but all
have a proxy, -G http://foo is an error.
Writing it all out like that makes me think it might be too complex for
no real gain, but I thought I'd throw it out anyway.
Other than that, everything else makes sense to me.
[snip]
cheers,
tim
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss