[Hackage] #409: Support for creating a static package repo
Hackage
trac at galois.com
Wed Nov 19 05:29:11 EST 2008
#409: Support for creating a static package repo
---------------------------------+------------------------------------------
Reporter: mnislaih | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone:
Component: cabal-install tool | Version: 1.2.3.0
Severity: normal | Resolution:
Keywords: | Difficulty: easy (<4 hours)
Ghcversion: 6.8.3 | Platform:
---------------------------------+------------------------------------------
Comment (by mnislaih):
I bit the bullet and hacked cabal-install to support this.
I extended cabal with a ''server'' command which expects to find the
tar.gz files corresponding to packages in the current directory and will
create the index file as well as the dir structure.
As cabal-install now by default uses the new hackage server directory
structure and not the one described in [HackageDB], my patch tries hard to
produce the former structure, so to avoid the need to patch the clients
too.
A patch is attached. Although it is not very smart and will only work in
Unix systems, it still could be useful to someone.
--
Ticket URL: <http://hackage.haskell.org/trac/hackage/ticket/409#comment:1>
Hackage <http://haskell.org/cabal/>
Hackage: Cabal and related projects
More information about the cabal-devel
mailing list