hackageDB directory layout
Bjorn Bringert
bringert at cs.chalmers.se
Thu May 3 16:22:54 EDT 2007
On May 3, 2007, at 10:24 , Ross Paterson wrote:
> [for some reason I don't seem to be able to get this to the
> libraries list, so I'm sending it to cabal-devel]
>
> I propose to change the directory layout of the HackageDB data, by
> putting
> each version in a separate directory (to simplify future expansion).
> This will not affect users of the web interface, but will be a
> breaking
> change for those who reference the files directly, notably cabal-
> install.
>
> Here's how the positions of the files of the binary package would
> change
> (-> denotes a symbolic link):
>
> Current layout Proposed layout
> --------------------------------------------------------------------
> binary/binary-0.2.cabal binary/0.2/binary.cabal
> binary/binary-0.2.tar.gz binary/0.2/binary-0.2.tar.gz
> binary/binary-0.2.misc/doc/html/ binary/0.2/doc/html/
> binary/binary-0.3.cabal binary/0.3/binary.cabal
> binary/binary-0.3.tar.gz binary/0.3/binary-0.3.tar.gz
> binary/binary-0.3.misc/doc/html/ binary/0.3/doc/html/
> binary/latest.misc -> binary-0.3.misc binary/latest -> 0.3
Fine by me. In cabal-install you probably only need to change
Network.Hackage.CabalInstall.Update.pkgURL.
/Björn
More information about the cabal-devel
mailing list