Hackage#

Hackage logo

Archival for Hackage is currently in development:

Developed by Octobus thanks to a grant from the NLnet Foundation

Hackage is the main package manager for the Haskell ecosystem.

Software Heritage archives Hackage by querying https://hackage.haskell.org/packages/search, which returns the list of packages updated since a given date. It then dispatches loading tasks to a dedicated loader, which downloads a list of revisions from https://hackage.haskell.org/package/pkgname-version/revisions/ and packages themselves from https://hackage.haskell.org/package/pkgname-version/pkgname-version.tar.gz.

Metadata from Hackage is archived as part of each package (in .cabal files).

Resources:

Source code from Hackage is currently only archived on Software Heritage’s staging infrastructure.