patch applied (cabal-install): Rearrange config settings and global command line settings

Duncan Coutts duncan.coutts at worc.ox.ac.uk
Thu Aug 21 22:38:38 EDT 2008


Thu Aug 21 14:05:55 PDT 2008  Duncan Coutts <duncan at haskell.org>
  * Rearrange config settings and global command line settings
  The intention here is to have the config file content and parser
  be derivied from the command line types and flags. Now instead
  of having a saved config type that contains additional
  information to that kept in command line parameters we now put
  all the information in the command line settings type and make
  the saved config just the aggregation of the settings for
  various key commands like configure, install, upload. There's
  also an extended GlobalFlags type with the things like repos,
  cache dir etc. When we generate the initial config file we put
  in commented out versions of all (non-deprecated) valid fields,
  along with their default values. The aim is to make the config
  file self-documenting.

    M ./Distribution/Client/Config.hs -223 +262
    R ./Distribution/Client/ParseUtils.hs
    M ./Distribution/Client/Setup.hs -27 +182
    M ./Main.hs -108 +106
    M ./cabal-install.cabal -1

View patch online:
http://darcs.haskell.org/cabal-install/_darcs/patches/20080821210555-adfee-c69b8bab93f699d99089c525f13851fd1681cae6.gz



More information about the cabal-devel mailing list