Documentation building client for cabal-install

Max Bolingbroke batterseapower at hotmail.com
Wed Sep 28 23:26:31 CEST 2011


Hi Hackagers,

I've written a rough-and-ready documentation building service for the
Hackage 2.0 effort. It is functional enough to submit build reports
and build documentation for a few example packages on my local Hackage
instance.

Duncan: please review+commit! I also had to make some small changes to
cabal-install that should go into the Cabal repo.

Comments/suggestions welcome. There is one major known flaw in that
the invocation of "cabal install" performed by the builder is not
sandboxed. So arbitrary user code runs with the same privileges as the
documentation builder itself. I guess the best solution to this is a
chroot (to restrict the writeable part of the file system)+timeout?

Cheers,
Max
-------------- next part --------------
A non-text attachment was scrubbed...
Name: BuildClient-CabalChanges.dpatch
Type: application/octet-stream
Size: 26397 bytes
Desc: not available
URL: <http://www.haskell.org/pipermail/cabal-devel/attachments/20110928/23928cc2/attachment-0002.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: BuildClient.dpatch
Type: application/octet-stream
Size: 119874 bytes
Desc: not available
URL: <http://www.haskell.org/pipermail/cabal-devel/attachments/20110928/23928cc2/attachment-0003.obj>


More information about the cabal-devel mailing list