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

On branch  : master

http://hackage.haskell.org/trac/ghc/changeset/a753a7b92aecb5d2760249d6adcf9c820a2a9512

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

commit a753a7b92aecb5d2760249d6adcf9c820a2a9512
Author: Duncan Coutts <[email protected]>
Date:   Wed Feb 20 11:06:37 2008 +0000

    Use a dependency graph rather than a list when installing packages
    This allows us to figure out what to do when installing a single package
    fails. Instead of just carrying on as if nothing had happened and then
    failing several other packages which depended on the one that failed
    initially we can cut those dependent packages out as soon as the first one
    fails and if there is anything left that did not depend on the failed
    package then we can try and carry on.

 cabal-install/Hackage/DepGraph.hs   |  101 +++++++++++++++++++++++++++++++++++
 cabal-install/Hackage/Dependency.hs |   37 ++++++++-----
 cabal-install/Hackage/Fetch.hs      |    4 +-
 cabal-install/Hackage/Info.hs       |    6 ++-
 cabal-install/Hackage/Install.hs    |   34 +++++++-----
 cabal-install/Hackage/Utils.hs      |    4 ++
 6 files changed, 156 insertions(+), 30 deletions(-)


Diff suppressed because of size. To see it, use:

    git show a753a7b92aecb5d2760249d6adcf9c820a2a9512

_______________________________________________
Cvs-libraries mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/cvs-libraries

Reply via email to