Ticket #920 (closed defect: invalid)

Opened 15 months ago

Last modified 14 months ago

hackage-mirror fails with HTTP 400 on PlslTools

Reported by: bgamari Owned by:
Priority: normal Milestone:
Component: Hackage 2 server Version: 1.8.0.6
Severity: normal Keywords:
Cc: Difficulty: unknown
GHC Version: Platform:

Description

hackage-mirror against hackage.haskell.org fails with,

$ hackage-mirror http://hackage.haskell.org/ http://bgamari:xxx@localhost:8080/ 
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 
  http://bgamari:...@localhost:8080/package/PlslTools-0.0.1/PlslTools-0.0.1.tar.gz
  short tar trailer

Change History

Changed 14 months ago by duncan

  • status changed from new to closed
  • resolution set to invalid

This is the correct behaviour, PlslTools?-0.0.1 really is borked.

To have the hackage-mirror ignore broken packages and keep going, use the --keep-going flag. Also, if you use --continuous mode then it will also keep going in the face of unmirrorable packages. In both cases it records missing and unmirrorable packages in local files.

Note: See TracTickets for help on using tickets.