patch applied (hackage-server): "Finish backup for PreferredVersions" and 3 others
devnull at community.haskell.org
devnull at community.haskell.org
Wed Feb 6 17:31:43 CET 2013
Wed Feb 6 10:44:22 GMT 2013 edsko at well-typed.com
* Finish backup for PreferredVersions
Ignore-this: aee7351de1a57c0da699710a288b5b31
M ./Distribution/Server/Features/PreferredVersions.hs -3 +1
M ./Distribution/Server/Features/PreferredVersions/Backup.hs -8 +80
M ./Distribution/Server/Features/PreferredVersions/State.hs +1
Wed Feb 6 12:15:47 GMT 2013 edsko at well-typed.com
* Add explicit export lists so that unused functions are flagged
Ignore-this: e7e64f73c1c1f323aa9e331951eec315
M ./BuildClient.hs -1 +1
M ./Distribution/Client.hs -1 +17
Wed Feb 6 12:44:15 GMT 2013 edsko at well-typed.com
* Fix the 'stats' option of the build client
Ignore-this: 1de003e145f0693becb75b2e7dbfacf
M ./BuildClient.hs -3 +5
Wed Feb 6 16:28:42 GMT 2013 edsko at well-typed.com
* Fix the build client
Ignore-this: 71ac78ecbac11a69a2fd74784a0058c8
There were a number of orthogonal problems:
1. The documentation tarball had structure
foo/index.html
foo/..
which should be
foo-x.y.z-docs/index.html
foo-x.y.z-docs/..
2. The build client was uploading a .tar.gz file rather than a .tar file,
but didn't specify the "Content-Encoding: gzip" header
3. The "204 No Content" response by the server was interpreted as an error
by the client
With these fixes the build client can build documentation again.
M ./BuildClient.hs -3 +3
M ./Distribution/Client.hs -6 +14
M ./Distribution/Server/Features/Documentation.hs +9
More information about the cabal-devel
mailing list