[Hackage] #919: hackage-mirror should handle errors more gracefully

Hackage cvs-ghc at haskell.org
Wed Feb 22 01:22:16 CET 2012

#919: hackage-mirror should handle errors more gracefully
  Reporter:  bgamari           |        Owner:         
      Type:  defect            |       Status:  new    
  Priority:  normal            |    Milestone:         
 Component:  Hackage 2 server  |      Version:
  Severity:  normal            |     Keywords:         
Difficulty:  unknown           |   Ghcversion:         
  Platform:                    |  
 hackage-mirror against hackage.haskell.org fails with,
 $ hackage-mirror http://hackage.haskell.org/
 17816 packages to mirror.
 mirroring PlslTools-0.0.1
 hackage-mirror: Failed to upload package PlslTools-0.0.1,
   HTTP error code 400, Bad Request
   short tar trailer

 While the source of the error is unclear, it's a sign that the error
 handling should be more robust. Perhaps failing packages should be skipped
 until it's very clear that something is horribly wrong (e.g. a heuristic
 like 10 packages fail in a row)?

Ticket URL: <http://hackage.haskell.org/trac/hackage/ticket/919>
Hackage <http://haskell.org/cabal/>
Hackage: Cabal and related projects

More information about the cabal-devel mailing list