opscode/depsolver — pull request #8 by seth (2012-12-17 05:53:06+00:00)
Title: Fix dep solving with constraints in environment

This PR addresses CHEF-3699 in which we learn that depsolving was
broken when using an environment containing any form of cookbook
version constraint.

The patches are lightly tested at this time, but given the previous
behavior, I'd like to get this fix into a build sooner rather than
later and then come back to significantly ramp up the test coverage
around depsolving.

The patches in chef_objects result in the environment constraints
being applied as a pre-filter before calling the solver. The downside
of this approach is that the solver cannot give useful error messages
when the root cause is that cookbooks have been filtered out by the
environment.

http://tickets.opscode.com/browse/CHEF-3699