
On Sat, Jul 04, 2009 at 06:01:13PM +0100, Duncan Coutts wrote:
This made me recall that one place we do still have a special case for the current central hackage server is when we specify the upload and check POST URLs. Currently hackage uses:
/cgi-bin/hackage-scripts/check-pkg /cgi-bin/hackage-scripts/protected/upload-pkg
At the moment, cabal-install just hard codes these URLs when it notices that we're using the main hackage server. When we're using any other server (assumed to be the new hackage-server impl) then we use $serverroot/upload. I'm not sure this is ideal.
So I suggest we find a common standard URL, eg:
$serverroot/packages/upload $serverroot/packages/check
and make the current server use that as an allowable alias for its existing cgi scripts, and adjust cabal-install and the new hackage server to do the same.
SimonM has added the aliases. Any word on when you'll be ready to take over?