This is the code of the PTS web interface. Principle : ----------- The system gathers data in incoming from various sources (this is done by bin/update_incoming.sh). Those data are merged in a set of XML file in the base directory (this is done by bin/*_to_xml.py). Those XML files are then transformed in HTML files (put in the web directory) with xsltproc and the xsl/pts.xsl stylesheet. Dependencies : -------------- xsltproc, mhonarc, python2.2, python2.2-xml, devscripts (for uscan) Installation : -------------- The "web" directory should be set as DocumentRoot of your VirtualHost. Example of apache config (adapt it to your case) ServerName packages.qa.debian.org DocumentRoot /org/packages.qa.debian.org/www/web ErrorLog /var/log/apache/packages.qa.debian.org-error.log CustomLog /var/log/apache/packages.qa.debian.org-access.log combined ScriptAlias /cgi-bin /org/packages.qa.debian.org/www/cgi-bin RewriteEngine on RewriteRule ^/$ /common/index.html [L,R] RewriteRule ^/lib([^/])([^/]+)$ /lib$1/lib$1$2.html [L,R] RewriteRule ^/([^/])([^/]+)$ /$1/$1$2.html [L,R] RewriteCond %{QUERY_STRING} ^src=lib(.)(.*)$ RewriteRule ^/common/index.html$ /lib%1/lib%1%2.html? [L,R,NE] RewriteCond %{QUERY_STRING} ^src=(.)(.*)$ RewriteRule ^/common/index.html$ /%1/%1%2.html? [L,R,NE]