[commit: Cabal] master: Improve InstallPlan error checking and reporting (817cec3)

Ian Lynagh igloo at earth.li
Fri Jun 24 01:53:07 CEST 2011


Repository : ssh://darcs.haskell.org//srv/darcs/packages/Cabal

On branch  : master

http://hackage.haskell.org/trac/ghc/changeset/817cec37df99663e92333a93861b64c29ecfbf32

>---------------------------------------------------------------

commit 817cec37df99663e92333a93861b64c29ecfbf32
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 817cec37df99663e92333a93861b64c29ecfbf32



More information about the Cvs-libraries mailing list