patch applied (cabal): Refactor sdist code a bit

Duncan Coutts duncan.coutts at worc.ox.ac.uk
Tue Mar 18 21:59:11 EDT 2008


Tue Mar 18 16:59:16 PDT 2008  Duncan Coutts <duncan at haskell.org>
  * Refactor sdist code a bit
  Separate the phases of sdist better so that they can be reused in
  cabal-install. This part is similar to Andrea Vezzosi's patch.
  Separate the snapshot code rather than mixing it all in with prepareTree.
  Use a proper withTempDirectory which fixes one FIXME.
  Better separate UI code from actions, move the notices to sdist.

    M ./Distribution/Simple/SrcDist.hs -82 +122
    M ./Distribution/Simple/Utils.hs -3 +14

View patch online:

  http://darcs.haskell.org/cabal/_darcs/patches/20080318235916-adfee-bad5a9171bd437e62299a461559b1d290efdf9da.gz



More information about the cabal-devel mailing list