patch applied (hackage-server): "Have the mirror client upload the .cabal first" and 2 others

devnull at community.haskell.org devnull at community.haskell.org
Sat Aug 17 13:04:07 CEST 2013


Sat Aug 17 11:04:54 BST 2013  edsko at well-typed.com
  * Have the mirror client upload the .cabal first
  Ignore-this: de7b3a0e30054ec54566b1ca75012f26
  
  This brings the mirror client in line with the import client. Uploading the
  .cabal file sets the metadata for the package, after which we can upload the
  .tar.gz file.

    M ./MirrorClient.hs -39 +59

Sat Aug 17 11:09:27 BST 2013  Edsko de Vries <edsko at well-typed.com>
  * Use 404 rather than 400 when package cannot be found
  Ignore-this: b48b190e02dd38aefbf24bec6fa7656b
  
  400 should be used for malformed requests (programming errors); moreover, part
  of the server was using 404 (upload time, for instance) while other parts were
  using 400 (tarball). We now use 404 in both the server and in the mirror
  client.

    M ./Distribution/Server/Features/Mirror.hs -1 +1
    M ./MirrorClient.hs -1 +1

Sat Aug 17 12:03:25 BST 2013  Edsko de Vries <edsko at well-typed.com>
  * Include build failure in detailed doc builder stats
  Ignore-this: 93f1000232c432678a47c08d653e5232

    M ./BuildClient.hs -10 +17





More information about the cabal-devel mailing list