As I understand it, a package collection, like

        http://hackage.haskell.org/packages/unstable/

has the structure

        00-index.tar.gz
        <pkg>/
                <pkgid>.cabal
                <pkgid>.tar.gz
        ...

where 00-index.tar.gz tars up all the <pkg>/<pkgid>.cabal files.
Such a simple structure makes it easy to add tools.

Perhaps it could be made simpler by replacing the index with a file
that was just a concatenation of the .cabal files with some separator
(say @), and having both gzipped and uncompressed versions.

The main missing piece seems to be a means of uploading packages.
Any plans there?  Perhaps something along the lines of PAUSE
(http://www.cpan.org/misc/cpan-faq.html#What_is_PAUSE), except that
we only need to upload Cabal tarballs.

_______________________________________________
cabal-devel mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/cabal-devel

Reply via email to