[commit: Cabal] master: Partial rewrite of cabal list and info commands (856c936)
Ian Lynagh
igloo at earth.li
Fri Jun 24 02:07:37 CEST 2011
Repository : ssh://darcs.haskell.org//srv/darcs/packages/Cabal
On branch : master
http://hackage.haskell.org/trac/ghc/changeset/856c936cab7a663cce813d3a0a133e075f0a55fa
>---------------------------------------------------------------
commit 856c936cab7a663cce813d3a0a133e075f0a55fa
Author: Duncan Coutts <duncan at community.haskell.org>
Date: Sun Feb 13 19:46:27 2011 +0000
Partial rewrite of cabal list and info commands
The new user target system requires a change in how cabal info works.
Instead of just giving package names and looking them up in the
available package index, we can now specify names with versions or
version constraints which means we want the info to be about that
version in particular. We now list many installed and available
versions and mark which ones are preferred or not. Also fix a bug
for packages that are only installed, not available.
cabal-install/Distribution/Client/List.hs | 334 +++++++++++++++++++++--------
cabal-install/Main.hs | 8 +-
2 files changed, 250 insertions(+), 92 deletions(-)
Diff suppressed because of size. To see it, use:
git show 856c936cab7a663cce813d3a0a133e075f0a55fa
More information about the Cvs-libraries
mailing list