On 02/ 2/11 09:43 AM, Bart Smaalders wrote:
On 02/01/11 19:09, Shawn Walker wrote:
17797 plan debugging should also display solver trim database
http://cr.opensolaris.org/~swalker/pkg-tip/
1. I'd really like it if going to -vvv caused the trim database
to be displayed. I have a feeling it will be useful for
folks developing complex packages as well as those
developing/debugging the packaging system itself.
Perhaps we can set the appropriate debug values
when verbose > 2?
This would also allow you to use the -vvv option to control
the level of output from the exception display.
2. At some point I'm going to move excludes into the PkgSolver
structure; this parameter is passed all over the solver now and is never
modified, so it's a perfect candidate for this.
The get_solver_errors() function in imageplan is a perfect example
of why; it's a parameter that must be the same as was passed in
to the original solve()....
I've reworked this quite a bit based on your comments (I accidentally
overwrote my original webrev though, sorry):
http://cr.opensolaris.org/~swalker/pkg-tip/
* change -vvv to output -D plan information
* change dumped dependency errors to be coalesced
* fix solver cleanup to only leave trim dict intact when using -D plan
-Shawn
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss