Hi,

I was reworking some of the pkg.actions code as part of a pkgdepend rework and thanks to Dan's help, discovered that validate_pkg in the onbld package depended on a function that I had removed (get_variants).

As it turns out, we can probably keep the function around for the moment to keep compatibility. I'd like to file the bug to migrate validate_pkg to the new function and I'd do that in bugster right?

In general though, there's a larger concern that validate_pkg is using interfaces that we haven't declared stable. Had Dan not happened to test these bits with a full ON build, I would've happily putback and then ON builds would've started breaking soon when build machines got upgraded.

If validate_pkg is going to use internal apis of pkg, then maybe it belongs in the IPS gate w/ tests so that we'd catch breakage before putback. Dan had an idea where IPS provides an interface for doing proto-comp like activities which the consumers providing a call back function which is used to do the checking. Alternatively, we could go the contract/documentation route. Whatever we decide, the current situation seems likely to promote build breakage going forward.

Thanks,
Brock
_______________________________________________
on-ips-dev mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/on-ips-dev

Reply via email to