On 10/03/11 14:13, Alan Coopersmith wrote:
On 10/ 3/11 01:54 PM, Brock Pytlik wrote:
Webrev:
https://cr.opensolaris.org/action/browse/pkg/bpytlik/18975-v1

Bug:
18975 resolve should be able to restrict which packages are used as fall back

I've also changed our gate to use the new feature which gives a nice speed boost
when doing make packages.

So if I understand the man page right, the expected use for other
consolidations would be something like:

 - Add -E to existing package build one time to generate a list of
    external dependencies.   That list gets saved to a file we
    checkin to our gate.
Right, and that file also serves as the whitelist for the pkglint action005.1.missing-deps check.


 - Add -e with the file containing that list to our normal package
    build process.   Optionally leave -E there to bring to our
    attention when we no longer need one of those dependencies.

Is that about right?

Yep, that sums it up pretty accurately. The process seemed to work reasonably well when I tried it on our gate and ON. One thing that might need to be called out in the man page, I'm not certain, is that if you use -e and have missed a package, you'll get an error because the resolve will fail. With the current code, if you have an unneeded package and use -e and -E, resolve will report the extra package, but will still exit 0. Breaking the build because of extra packages in the list seemed overly restrictive, but I can change that if desired.

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

Reply via email to