patch applied (packages/Cabal): Refactor sdist code a bit

Ian Lynagh igloo at earth.li
Sun May 11 07:22:34 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/packages/Cabal/_darcs/patches/20080318235916-adfee-bad5a9171bd437e62299a461559b1d290efdf9da.gz


More information about the Cvs-libraries mailing list