Re: [Haskell-cafe] server directory layout for cabal-install?

2009-03-20 Thread Duncan Coutts
On Thu, 2009-03-19 at 11:50 +0100, Johannes Waldmann wrote: Thanks. Now the 00-index.tar.gz works. When studying the access log of my web server, I found that the cabal client (cabal-install/0.6.0) does not want $pkg/$ver/$pkg-$ver.tar.gz but uses packages/$pkg-$ver/tarball instead (yes,

Re: [Haskell-cafe] server directory layout for cabal-install?

2009-03-19 Thread Duncan Coutts
On Wed, 2009-03-18 at 22:24 +0100, Johannes Waldmann wrote: Hello. I wonder what is the required layout of directories and files on a server that supplies packages for cabal-install. I figure 00-index.tar.gz contains the *.cabal files. Right. The directory layout within the index is

Re: [Haskell-cafe] server directory layout for cabal-install?

2009-03-19 Thread Johannes Waldmann
Thanks. Now the 00-index.tar.gz works. When studying the access log of my web server, I found that the cabal client (cabal-install/0.6.0) does not want $pkg/$ver/$pkg-$ver.tar.gz but uses packages/$pkg-$ver/tarball instead (yes, packages and tarball are constant strings). That's strange, since

[Haskell-cafe] server directory layout for cabal-install?

2009-03-18 Thread Johannes Waldmann
Hello. I wonder what is the required layout of directories and files on a server that supplies packages for cabal-install. I figure 00-index.tar.gz contains the *.cabal files. (The cabal files have to be on the server as well, unpacked?) Each $dir/$foo.cabal (in the archive) contains a