patch applied (cabal-install): Use a dependency graph rather than a
list when installing packages
Duncan Coutts
duncan.coutts at worc.ox.ac.uk
Wed Feb 20 06:15:25 EST 2008
Wed Feb 20 03:06:37 PST 2008 Duncan Coutts <duncan at 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-6062773f7ddf5e03a5c920b364bca25d59455c70.gz
More information about the cabal-devel
mailing list