patch applied (cabal-install): Use a dependency graph rather than a list when installing packages
Wed Feb 20 03:06:37 PST 2008 Duncan Coutts <duncan@haskell.org> * 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. A ./Hackage/DepGraph.hs M ./Hackage/Dependency.hs -14 +23 M ./Hackage/Fetch.hs -1 +3 M ./Hackage/Info.hs -2 +4 M ./Hackage/Install.hs -13 +21 M ./Hackage/Utils.hs +4 View patch online: http://darcs.haskell.org/cabal-install/_darcs/patches/20080220110637-adfee-6...
participants (1)
-
Duncan Coutts