[commit: Cabal] master: Use the ungzipped 00-index.tar as the local package info cache. (7cced19)
Ian Lynagh
igloo at earth.li
Fri Jun 24 01:45:19 CEST 2011
Repository : ssh://darcs.haskell.org//srv/darcs/packages/Cabal
On branch : master
http://hackage.haskell.org/trac/ghc/changeset/7cced19931f56c0d06b2572bad6e328eb67d3fa6
>---------------------------------------------------------------
commit 7cced19931f56c0d06b2572bad6e328eb67d3fa6
Author: bjorn <bjorn at bringert.net>
Date: Fri Oct 5 15:38:24 2007 +0000
Use the ungzipped 00-index.tar as the local package info cache.
This adds a dependency on zlib, to unzip the downloaded 00-index.tar.gz.
Once unzipped, a small pure haskell tar reader is used to read
the index contents.
Servers in the server list now have names which are used
as local cache directory names.
The --with-server command line flag has been removed since it
did not allow specifying a server name.
cabal-install/cabal-install.cabal | 4 +-
cabal-install/serv.list | 2 +-
.../src/Network/Hackage/CabalInstall/Config.hs | 69 +++++++++-----------
.../src/Network/Hackage/CabalInstall/Configure.hs | 2 +-
.../src/Network/Hackage/CabalInstall/Fetch.hs | 17 +++--
.../src/Network/Hackage/CabalInstall/Setup.hs | 3 -
.../src/Network/Hackage/CabalInstall/Tar.hs | 69 ++++++++++++++++++++
.../src/Network/Hackage/CabalInstall/Types.hs | 8 ++-
.../src/Network/Hackage/CabalInstall/Update.hs | 47 ++++---------
9 files changed, 136 insertions(+), 85 deletions(-)
Diff suppressed because of size. To see it, use:
git show 7cced19931f56c0d06b2572bad6e328eb67d3fa6
More information about the Cvs-libraries
mailing list