patch applied (cabal-install): Generalise and rename PkgInfo to include local packages

Duncan Coutts duncan.coutts at worc.ox.ac.uk
Wed Apr 30 17:45:05 EDT 2008


Wed Apr 30 11:09:22 PDT 2008  Duncan Coutts <duncan at haskell.org>
  * Generalise and rename PkgInfo to include local packages
  Renamed to AvailablePackage since that what it is really.
  Now instead of just representing packages from a remote hackage repo
  it includes an alternative for a local unpacked package. In future
  we should add more alternatives, eg for other local packages (ie not
  just the one that's unpacked in the current dir) and for remote
  packages in source control like darcs, git etc.

    M ./Hackage/DepGraph.hs -1 +1
    M ./Hackage/Dependency.hs -16 +18
    M ./Hackage/Fetch.hs -7 +34
    M ./Hackage/IndexUtils.hs -10 +12
    M ./Hackage/Install.hs -6 +8
    M ./Hackage/InstallPlan.hs -4 +4
    M ./Hackage/List.hs -5 +5
    M ./Hackage/Types.hs -31 +20

View patch online:
http://darcs.haskell.org/cabal-install/_darcs/patches/20080430180922-adfee-608fe7b8742532766ac85fc2bebb1d9b90941774.gz



More information about the cabal-devel mailing list