[Hackage] #269: Not having an up-to-date package list causes indexing out of bounds error

Hackage trac at galois.com
Sun Aug 24 14:28:57 EDT 2008


#269: Not having an up-to-date package list causes indexing out of bounds error
---------------------------------+------------------------------------------
  Reporter:  guest               |        Owner:         
      Type:  defect              |       Status:  closed 
  Priority:  low                 |    Milestone:         
 Component:  cabal-install tool  |      Version:  1.2.3.0
  Severity:  normal              |   Resolution:  fixed  
  Keywords:                      |   Difficulty:  normal 
Ghcversion:  6.8.2               |     Platform:         
---------------------------------+------------------------------------------
Changes (by duncan):

  * status:  new => closed
  * resolution:  => fixed

Comment:

 Fixed points 2 and 3 above. This should be enough to give much better
 behaviour in the case of a truncated download.

 {{{
 Sat Aug 23 00:00:33 BST 2008  Duncan Coutts <duncan at haskell.org>
   * Decompress the repo index atomically.
   So if decompression fails (eg if the index is corrupt) then
   the decompressed file does not get (partially) written.

 Sun Aug 24 19:05:01 BST 2008  Duncan Coutts <duncan at haskell.org>
   * Use updated tar code
   Much more robust. Correctly detects trucated archives.
 }}}

 For the remaining point see #338.

-- 
Ticket URL: <http://hackage.haskell.org/trac/hackage/ticket/269#comment:3>
Hackage <http://haskell.org/cabal/>
Hackage: Cabal and related projects


More information about the cabal-devel mailing list