[commit: Cabal] master: In 'list', also include packages that are only installed and not available (c865622)
Ian Lynagh
igloo at earth.li
Fri Jun 24 01:51:14 CEST 2011
Repository : ssh://darcs.haskell.org//srv/darcs/packages/Cabal
On branch : master
http://hackage.haskell.org/trac/ghc/changeset/c865622ac9ee715fb90c21a1b4f804b1773b4fed
>---------------------------------------------------------------
commit c865622ac9ee715fb90c21a1b4f804b1773b4fed
Author: Duncan Coutts <duncan at haskell.org>
Date: Mon Mar 3 01:03:46 2008 +0000
In 'list', also include packages that are only installed and not available
Previously we took the available packages and did an inner join with the
installed packages so we missed out packages like base which are installed
by not available. Now we get the selected installed and available package
sets and do a full outer join using a sort and merge operation.
Also use a proper data type to hold the info we print about each package.
cabal-install/Hackage/List.hs | 234 +++++++++++++++++++++++++----------------
1 files changed, 142 insertions(+), 92 deletions(-)
Diff suppressed because of size. To see it, use:
git show c865622ac9ee715fb90c21a1b4f804b1773b4fed
More information about the Cvs-libraries
mailing list