hackageDB :: [Package]

Checking and uploading packages

Packages must be in the form produced by Cabal's sdist command: a gzipped tar file package-version.tar.gz comprising a directory package-version containing a package of that name and version, including package.cabal.

Indicate who supports the package

If the Maintainer field names a person or group, the release as a whole (including packaging) should be the named maintainer's approved release, which they are supporting (at least for some time after the release). Ideally a maintainer would make that clear by uploading the release themselves.

A Maintainer value of none indicates that the package is not supported.

If a package is being maintained, any release not approved and supported by the maintainer should use a different package name. Then use the Maintainer field as above either to commit to supporting the fork yourself or to mark it as unsupported.

Checking a Cabal package

Re-uploading a package with the same version number is not permitted, so you might want to do some checking before uploading:

Local file containing Cabal package:

Upload a Cabal package to HackageDB

This form does the uploading. When you submit it, you'll be prompted for your HackageDB username and password. (Alternatively, there's a command-line interface via cabal-install, using the same username and password.)

Local file containing Cabal package:

Notes