haskell / haskell/cabal

document cabal sdist (hackage archive) format

Open
#749 6 comments 0 reactions 0 assignees View on GitHub
cabal-install: cmd/sdist cabal-install: other documentation type: enhancement
Dominant language
Haskell
Stars
1.7k
Forks
750
Avg merge
4d 3h
Merged PRs (30d)
28

Description

(Imported from [Trac #759](http://hackage.haskell.org/trac/hackage/ticket/759), reported by claus on 2010-11-04)

I often find myself writing example code that I'd like to distribute via cabal, but without further burdening hackage with not generally useful packages.

The source code has an undocumented(?) option --remote-repo that seems to serve that purpose, but there is little documentation, sometimes conflicting info, about how to put this to use.

Mailing list threads:


[http://www.haskell.org/pipermail/haskell-cafe/2010-November/085860.html](http://www.haskell.org/pipermail/haskell-cafe/2010-November/085860.html)


[http://www.haskell.org/pipermail/haskell-cafe/2010-November/085900.html](http://www.haskell.org/pipermail/haskell-cafe/2010-November/085900.html)

Repo layout descriptions (differs between hackage 1.0 and 2.0, which is hardcoded in cabal-install):


[http://hackage.haskell.org/trac/hackage/wiki/HackageDB](http://hackage.haskell.org/trac/hackage/wiki/HackageDB)


[http://hackage.haskell.org/trac/hackage/wiki/HackageDB/2.0/URIs](http://hackage.haskell.org/trac/hackage/wiki/HackageDB/2.0/URIs)

Related tickets: #758, comment:6:ticket:428

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.