package collection

Ross Paterson ross at soi.city.ac.uk
Mon Dec 4 08:43:29 EST 2006


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.



More information about the cabal-devel mailing list