nice new hackage urls

Ross Paterson ross at soi.city.ac.uk
Tue Jul 7 08:57:48 EDT 2009


On Tue, Jul 07, 2009 at 12:57:16PM +0100, Duncan Coutts wrote:
> Currently in the cabal-install config file we use:
> remote-repo:
> hackage.haskell.org:http://hackage.haskell.org/packages/archive
> 
> and then lookup the 00-index.tar.gz and all the package tarballs
> relative to that. So if we try to unify it around a single root '/' then
> here's my suggestion:
> 
> /packages/00-index.tar.gz
> /package/foo-1.0.tar.gz
> 
> Again, the principle is that /packages/* are attributes of the
> collection as a whole (indexes, stats, reports), where /package/* are
> elements of the collection (ie packages).

I've moved 00-index.tar.gz, pkg-list.html, recent.html and recent.rss
up to /packages/, but it would be a bit of a pain to try to overlay the
static package-specific data over the dynamically generated package pages.



More information about the cabal-devel mailing list