Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

18 lines (12 sloc) 0.678 kb

A script for mirroring Haskell's "Hackage" package repository.

Mirroring Hackage is useful for both leveraging local bandwidth as well as being robust against the public Hackage going down while you're doing critical builds/deployments.

It's written in Python 2 and uses the requests library found at http://python-requests.org .

It is crash-safe and it resumes long synchronizations. It treads lightly on the upstream server and uses checksums to make sure it has processed all packages in the upstream log.

Modify the remote-repo: entry in ~/.cabal/config to point machines to your local mirror.

Note: expect to devote 10-15GB to your Hackage mirror as of 2012-08

Jump to Line
Something went wrong with that request. Please try again.