[Hackage] #432: cabal-install patches for HTTP 4000.0.0
#432: cabal-install patches for HTTP 4000.0.0 ---------------------------------+------------------------------------------ Reporter: Bart Massey | Owner: Type: enhancement | Status: new Priority: normal | Milestone: Cabal-1.8 Component: cabal-install tool | Version: HEAD Severity: normal | Keywords: Difficulty: normal | Ghcversion: 6.10.1 Platform: | ---------------------------------+------------------------------------------ I noticed that the constraints on the packages for cabal-install required some pretty old stuff. Rather than go there, I decided to loosen the constraints and see what happened. The current version of Cabal (1.7) and zlib (0.5.0.0) seem to work fine. Some patches were required to get current HTTP (4000.0.0) to work. I attach these patches in case anyone cares. I have done no testing of these patches other than trying a few simple cabal commands. They seemed to work. -- Ticket URL: <http://hackage.haskell.org/trac/hackage/ticket/432> Hackage <http://haskell.org/cabal/> Hackage: Cabal and related projects
#432: cabal-install patches for HTTP 4000.0.0 ---------------------------------+------------------------------------------ Reporter: Bart Massey | Owner: Type: enhancement | Status: new Priority: normal | Milestone: Component: cabal-install tool | Version: HEAD Severity: normal | Resolution: Keywords: | Difficulty: very easy (<1 hour) Ghcversion: 6.10.1 | Platform: ---------------------------------+------------------------------------------ Changes (by duncan): * difficulty: normal => very easy (<1 hour) * milestone: Cabal-1.8 => Comment: Thanks for those patches. Here are some comments: Usually the best way to submit patches is as darcs patches. If you decide to make darcs patches, I suggest you separate the HTTP-4000 changes from the rest. The version constraints on the Cabal and zlib version are fine for this release. We cannot easily make it work with both Cabal-1.6 and 1.7 so the cabal-install-0.6.x series will continue to use Cabal-1.6.x. At some point the development version of cabal-install will start tracking the development version Cabal-1.7.x. We use zlib < 0.6 because we know that the 0.5 api is compatible but we do not know that about the 0.6 release because it does not exist yet. If you want to send in patches to silence warnings, keep that patch separate from the other patches. -- Ticket URL: <http://hackage.haskell.org/trac/hackage/ticket/432#comment:1> Hackage <http://haskell.org/cabal/> Hackage: Cabal and related projects
#432: cabal-install patches for HTTP 4000.0.0 ---------------------------------+------------------------------------------ Reporter: Bart Massey | Owner: Type: enhancement | Status: closed Priority: normal | Milestone: Component: cabal-install tool | Version: HEAD Severity: normal | Resolution: fixed Keywords: | Difficulty: very easy (<1 hour) Ghcversion: 6.10.1 | Platform: ---------------------------------+------------------------------------------ Changes (by duncan): * status: new => closed * resolution: => fixed Comment: Variations on these patches have been applied. {{{ Fri Jan 16 13:56:46 GMT 2009 Duncan Coutts <duncan@haskell.org> * Update to using HTTP-4000.x This should fix a long-standing bug with http proxies (ticket #352) It should also make downloads faster, or at least use less memory. }}} -- Ticket URL: <http://hackage.haskell.org/trac/hackage/ticket/432#comment:2> Hackage <http://haskell.org/cabal/> Hackage: Cabal and related projects
participants (1)
-
Hackage