[commit: Cabal] master: Generalise and rename PkgInfo to include local packages (55beae1)
Paolo Capriotti
p.capriotti at gmail.com
Tue May 8 00:13:34 CEST 2012
Repository : ssh://darcs.haskell.org//srv/darcs/packages/Cabal
On branch : master
http://hackage.haskell.org/trac/ghc/changeset/55beae12b4230b642ddd117380afc9e8e9d0b16a
>---------------------------------------------------------------
commit 55beae12b4230b642ddd117380afc9e8e9d0b16a
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 55beae12b4230b642ddd117380afc9e8e9d0b16a
More information about the Cvs-libraries
mailing list