On 12/19/12 14:28, Tim Foster wrote:
On 12/20/12 08:48 AM, Tim Foster wrote:
https://cr.opensolaris.org/action/browse/pkg/timf/http-depot-webrev-1
You could possibly just re-use
misc.valid_pub_prefix here to test for validity.

Good idea - valid_pub_prefix seems as restrictive as SMF instance names,
so that works.

Sorry for another followup - turns out SMF instance names allows some
characters that valid_pub_prefix() doesn't, such as '_'

I'll look around for a better method, but might revert to what I had
before.

I don't see any problem with being more restrictive than what SMF allows; just less restrictive.

But that's up to you.

-Shawn

_______________________________________________
pkg-discuss mailing list
pkg-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss

Reply via email to