[commit: Cabal] master: Improve InstallPlan error checking and reporting (68e5cfc)
Paolo Capriotti
p.capriotti at gmail.com
Tue May 8 00:01:41 CEST 2012
Repository : ssh://darcs.haskell.org//srv/darcs/packages/Cabal
On branch : master
http://hackage.haskell.org/trac/ghc/changeset/68e5cfc7a9d73ead3a981a88f26db3941975f3df
>---------------------------------------------------------------
commit 68e5cfc7a9d73ead3a981a88f26db3941975f3df
Author: Duncan Coutts <duncan at haskell.org>
Date: Sun May 4 20:18:57 2008 +0000
Improve InstallPlan error checking and reporting
Instead of just reporting that a plan is invalid, produce a
detailed list of reasons why it is invalid.
This should be useful for people debugging dependency resolvers.
Also rename the complete property to closed, since the property
is about the set being closed under the dependency relation.
Also re-use the PackageIndex functions for checking the validity
conditions rather than re-implementing the checks locally.
cabal-install/Hackage/InstallPlan.hs | 337 +++++++++++++++++++++++-----------
1 files changed, 233 insertions(+), 104 deletions(-)
Diff suppressed because of size. To see it, use:
git show 68e5cfc7a9d73ead3a981a88f26db3941975f3df
More information about the Cvs-libraries
mailing list