wiki:SoC2007Hackage

Version 2 (modified by ross, 7 years ago) (diff)

add a little context

See the HackageDB ToDo list for a list of HackageDB tasks.

Automated building of packages and generation of Haddock documentation

The plan is for a daemon to build HackageDB packages and add the resulting build logs and Haddock documentation to the package pages. Since building Cabal packages may execute arbitrary code, it must be done in a protected environment (e.g. chroot).

Done

  • setup_chroot script: sets up a chroot environment based on debootstrap and the testing version of Debian
  • autodoc tool: downloads packages and their dependencies, builds them in a choot environment, creates the Haddock documentation and build logs

TODO

  • identify C libraries needed to build packages (e.g. SDL, X11, OpenGL, ...) and add them to the chroot environment
  • improve autodoc output, especially more readable build logs
  • Hoogle output
  • run test suites of packages
  • allow for different compilers and compiler versions