# HG changeset patch # User Sascha Teichmann # Date 1282321651 0 # Node ID dde2a0b68dc7f6052e4ebb23c974f9e11c5aa5b4 # Parent 33323295377162d4168c545e03dbd6cb892c0f2a Improved README of sawmill a bit. diff -r 333232953771 -r dde2a0b68dc7 contrib/sawmill/README --- a/contrib/sawmill/README Fri Aug 20 16:15:29 2010 +0000 +++ b/contrib/sawmill/README Fri Aug 20 16:27:31 2010 +0000 @@ -1,2 +1,30 @@ A simple mod_python based web application to render the build reports of treepkg. + +Tested on Debian 5.0 Lenny + +# apt-get install apache2 +# apt-get install libapache2-mod-python +# apt-get install apt-get install python-lxml + +Copy web dir into a place which is served by apache. +Create an .htaccess file in web: +---8<--- +AddHandler mod_python .py +DirectoryIndex index.py +PythonHandler mod_python.publisher +--->8--- + +Create sub directories in web/treepkgs for each +treepkg which reports should be served. Edit +the treepkg.xml file in these directories to +provide some extra information about the treepkgs. +See web/treepkgs/demo as an example. + +Use rsync at the treepkg side to push the +reports to the corresponding treepkgs directory: + +$ rsync -avz \ + --exclude 'debian' --exclude 'src' \ + --exclude 'binary' --exclude '*checkout*' \ + --exclude '*.html' $TREE_PKG/mill/tracks/ $DEST/tracks