[commit: Cabal] master: Switch from DepGraph to InstallPlan (5d8d0d7)
Paolo Capriotti
p.capriotti at gmail.com
Tue May 8 00:01:45 CEST 2012
Repository : ssh://darcs.haskell.org//srv/darcs/packages/Cabal
On branch : master
http://hackage.haskell.org/trac/ghc/changeset/5d8d0d743d5baa076e1394e6ffd641da4407b9b6
>---------------------------------------------------------------
commit 5d8d0d743d5baa076e1394e6ffd641da4407b9b6
Author: Duncan Coutts <duncan at haskell.org>
Date: Mon May 5 09:17:43 2008 +0000
Switch from DepGraph to InstallPlan
The dependency resolver has had to be extended in a slightly hacky
way to gather the extra information needed by an install plan. In
particular it requires the flags to use to configure each package,
the actual versions of dependencies to use and all of the
installed packages and their closure of dependencies.
However the current resolver is fairly naive and so can be easily
persuaded into producing an invalid install plan, in which case
you'll get a detailed list of reasons as to why it is invalid.
cabal-install/Hackage/DepGraph.hs | 121 -----------------------------------
cabal-install/Hackage/Dependency.hs | 112 ++++++++++++++++++++++++--------
cabal-install/Hackage/Fetch.hs | 11 ++-
cabal-install/Hackage/Install.hs | 78 ++++++++++------------
cabal-install/cabal-install.cabal | 1 -
5 files changed, 126 insertions(+), 197 deletions(-)
Diff suppressed because of size. To see it, use:
git show 5d8d0d743d5baa076e1394e6ffd641da4407b9b6
More information about the Cvs-libraries
mailing list