[commit: Cabal] master: Generalise and rename PkgInfo to include local packages (8edc4b8)
Ian Lynagh
igloo at earth.li
Fri Jun 24 01:52:55 CEST 2011
Repository : ssh://darcs.haskell.org//srv/darcs/packages/Cabal
On branch : master
http://hackage.haskell.org/trac/ghc/changeset/8edc4b8bed5908d32d4381d59521cd21053922b1
>---------------------------------------------------------------
commit 8edc4b8bed5908d32d4381d59521cd21053922b1
Author: Duncan Coutts <duncan at haskell.org>
Date: Wed Apr 30 18:09:22 2008 +0000
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.
cabal-install/Hackage/DepGraph.hs | 2 +-
cabal-install/Hackage/Dependency.hs | 34 ++++++++++++----------
cabal-install/Hackage/Fetch.hs | 41 ++++++++++++++++++++++----
cabal-install/Hackage/IndexUtils.hs | 22 ++++++++------
cabal-install/Hackage/Install.hs | 14 +++++----
cabal-install/Hackage/InstallPlan.hs | 8 ++--
cabal-install/Hackage/List.hs | 10 +++---
cabal-install/Hackage/Types.hs | 51 +++++++++++++--------------------
8 files changed, 102 insertions(+), 80 deletions(-)
Diff suppressed because of size. To see it, use:
git show 8edc4b8bed5908d32d4381d59521cd21053922b1
More information about the Cvs-libraries
mailing list