[Hackage] #878: Install rsync on hackage.haskell.org

Hackage cvs-ghc at haskell.org
Fri Aug 26 22:46:09 CEST 2011

#878: Install rsync on hackage.haskell.org
  Reporter:  guest              |        Owner:     
      Type:  enhancement        |       Status:  new
  Priority:  normal             |    Milestone:     
 Component:  hackageDB website  |      Version:     
  Severity:  normal             |     Keywords:     
Difficulty:  easy (<4 hours)    |   Ghcversion:     
  Platform:                     |  
 I keep a local copy of the HackageDB, which I construct by downloading
 archive.tar and 00-index.tar.gz on occasion.  This is kind of wasteful of
 bandwidth for me and the hackage.haskell.org server.

 My proposed solution is to install rsync on hackage.haskell.org in daemon
 mode, and configure it to serve the HaskellDB archive (or archive.tar and
 00-index.tar.gz).  This would allow users to download only the differences
 between their local copy and the official repository's copy.

 http://everythinglinux.org/rsync/ contains a sample rsync daemon
 configuration.  It looks relatively straight forward to set up.

 Also, I would suggest that the front page's "Getting the Raw Data" section
 should contain a sample rsync command line invocation users can use to
 differentially mirror the archive.

Ticket URL: <http://hackage.haskell.org/trac/hackage/ticket/878>
Hackage <http://haskell.org/cabal/>
Hackage: Cabal and related projects

More information about the cabal-devel mailing list