patch applied (cabal-install): Significantly refactor configuration handling

Duncan Coutts duncan.coutts at worc.ox.ac.uk
Thu Jan 10 15:47:49 EST 2008


Thu Jan 10 09:56:34 PST 2008  Duncan Coutts <duncan at haskell.org>
  * Significantly refactor configuration handling
  ConfigFlags is not used in any of the modules that do the real work, instead
  we just pass in the necessary information. Renamed ConfigFlags to SavedConfig
  and moved it's definition into the Config module. Also change what information
  is kept in the Repo type so that it knows the local path too. A PkgInfo now
  also knows which Repo it is from.

    M ./Hackage/Config.hs -99 +114
    M ./Hackage/Dependency.hs -17 +20
    M ./Hackage/Fetch.hs -27 +32
    M ./Hackage/Index.hs -9 +7
    M ./Hackage/Info.hs -14 +19
    M ./Hackage/Install.hs -40 +62
    M ./Hackage/List.hs -4 +5
    M ./Hackage/Setup.hs -33 +2
    M ./Hackage/Types.hs -31 +51
    M ./Hackage/Update.hs -6 +6
    M ./Hackage/Upgrade.hs -6 +9
    M ./Hackage/Upload.hs -60 +36
    M ./Main.hs -69 +65
    M ./cabal-install.cabal -1 +1



More information about the cabal-devel mailing list