Wed Jan 9 20:25:36 GMT 2013 Duncan Coutts
* Improve the utils for validating and consuming the request body
Ignore-this: b217bd39e4245315dcf48ef034544f2e
Check the mime type better, do transparent gzip decoding and also
return the actual content.
Also rename the module and equiv response module to be more symetric.
./Distribution/Server/Framework/ResourceTypes.hs -> ./Distribution/Server/Framework/ResponseContentTypes.hs
./Distribution/Server/Framework/Validation.hs -> ./Distribution/Server/Framework/RequestContentTypes.hs
M ./Distribution/Server/Features/BuildReports.hs -3 +3
M ./Distribution/Server/Features/Check.hs -1 +1
M ./Distribution/Server/Features/Core.hs -1 +1
M ./Distribution/Server/Features/Distro.hs -4 +5
M ./Distribution/Server/Features/Documentation.hs -4 +3
M ./Distribution/Server/Features/Html.hs -1 +1
M ./Distribution/Server/Features/Mirror.hs -8 +4
M ./Distribution/Server/Features/NameSearch.hs -1 +1
M ./Distribution/Server/Features/Packages.hs -1 +1
M ./Distribution/Server/Features/PreferredVersions.hs -1 +1
M ./Distribution/Server/Features/ServerIntrospect.hs -1 +1
M ./Distribution/Server/Features/Users.hs -3 +2
M ./Distribution/Server/Framework.hs -4 +4
M ./Distribution/Server/Framework/Auth.hs -1 +1
M ./Distribution/Server/Framework/Error.hs +4
M ./Distribution/Server/Framework/RequestContentTypes.hs -32 +98
M ./Distribution/Server/Framework/ResponseContentTypes.hs -6 +6
M ./Distribution/Server/Util/Happstack.hs -2 +3
M ./hackage-server.cabal -2 +3
Wed Jan 9 21:22:06 GMT 2013 Duncan Coutts
* Rework the documentation upload and download
Ignore-this: 662d756bc55eedf2860122eb8394851a
It works now, including import.
We can import all the docs from the old hackage rather than having
to rebuild them all. We do http redirects for all the old links.
M ./Data/TarIndex.hs -5 +9
M ./Distribution/Server/Features/Documentation.hs -18 +23
M ./Distribution/Server/Features/Html.hs -1 +1
M ./Distribution/Server/Features/LegacyRedirects.hs -1 +1
M ./Distribution/Server/Util/ServeTarball.hs -16 +18
M ./ImportClient.hs -19 +45
Wed Jan 9 21:25:45 GMT 2013 Duncan Coutts
* In the hackage download script, also get the html docs
Ignore-this: e31cfb27f07da01eae1d5ee902ea523f
M ./old-hackage-download.sh -1 +1